|
@ -188,7 +188,6 @@ |
|
|
pageNo: 1, |
|
|
pageNo: 1, |
|
|
pageSize: 100, |
|
|
pageSize: 100, |
|
|
}).then(async res => { |
|
|
}).then(async res => { |
|
|
this.asnNumberList.push(asnNumber) |
|
|
|
|
|
this.scanMessage = result.scanMessage |
|
|
this.scanMessage = result.scanMessage |
|
|
let resultList = res.data.list; |
|
|
let resultList = res.data.list; |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
@ -205,6 +204,7 @@ |
|
|
if (!asnObj) { |
|
|
if (!asnObj) { |
|
|
this.$refs.comMessage.showQuestionMessage(`ASN单号【${asnNumber}】不在列表中,是否要按此ASN收货?`, async res => { |
|
|
this.$refs.comMessage.showQuestionMessage(`ASN单号【${asnNumber}】不在列表中,是否要按此ASN收货?`, async res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
|
|
|
this.asnNumberList.push(asnNumber) |
|
|
// 承接任务 // 如果任务状态是待处理的情况需要承接 |
|
|
// 承接任务 // 如果任务状态是待处理的情况需要承接 |
|
|
if (resultList[0].status == '1') { |
|
|
if (resultList[0].status == '1') { |
|
|
await this.handleTakePurchaseReceiptJob(resultList[0].masterId, () => { |
|
|
await this.handleTakePurchaseReceiptJob(resultList[0].masterId, () => { |
|
|