|
|
@ -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() |
|
|
|
} |
|
|
|