Browse Source

YT-1799ASN收货扫描数量为0,提交时提示语不正确

intex_online20241228
张立 2 months ago
parent
commit
42aa779165
  1. 12
      src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

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

@ -464,10 +464,10 @@
}
}
if(item.handleQty>0 && item.handleQty < item.qty){
str += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量【${item.handleQty}】小于任务数量【${item.qty}】,\n`
str += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量【${item.handleQty}】小于任务数量【${item.qty}】,\n`
}
if(!item.handleQty){
str1 += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量为0,\n`
str1 += `ASN单号${item.asnNumber}】物料代码【${item.itemCode}】实际收货数量为0,\n`
}
})
this.params.forEach(item=>{
@ -479,7 +479,13 @@
})
//
if(str || str1){
this.$refs.comMessage.showQuestionMessage1(str + '对于未收货部分将创建一个新的收货任务\n'+ str1 +'是否确认提交', 'red', res => {
if(str){
str = str + '对于未收货部分将创建一个新的收货任务。\n'
}
if(str1){
str1 = str1 +'是否确认提交?'
}
this.$refs.comMessage.showQuestionMessage1(str + str1, 'red', res => {
if (res) {
this.submitJob()
}

Loading…
Cancel
Save