Browse Source

YT-2598客户反馈:asn收货扫描任务之后loading转圈时间较长,做优化,

intex
张立 1 week ago
parent
commit
2b9bc5ced5
  1. 2
      src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

2
src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

@ -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, () => {

Loading…
Cancel
Save