|
@@ -384,15 +384,13 @@ export default {
|
|
},
|
|
},
|
|
// 获取客户信息
|
|
// 获取客户信息
|
|
async getCustome (data, stockOutSnList) {
|
|
async getCustome (data, stockOutSnList) {
|
|
- const _this = this
|
|
|
|
|
|
+ this.spinning = true
|
|
const customer = await getCustomerInfo({ stockOutSnList: stockOutSnList })
|
|
const customer = await getCustomerInfo({ stockOutSnList: stockOutSnList })
|
|
const validRet = await validateStockOut({ stockOutSnList, ...customer.data })
|
|
const validRet = await validateStockOut({ stockOutSnList, ...customer.data })
|
|
if (validRet.status == 200) {
|
|
if (validRet.status == 200) {
|
|
- _this.showDetailModal = true
|
|
|
|
- _this.$refs.detailModal.setData(data, customer.data)
|
|
|
|
- _this.spinning = false
|
|
|
|
- } else {
|
|
|
|
- // _this.$message.error(validRet.message)
|
|
|
|
|
|
+ this.showDetailModal = true
|
|
|
|
+ this.$refs.detailModal.setData(data, customer.data)
|
|
|
|
+ this.spinning = false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 发货/批量发货
|
|
// 发货/批量发货
|