diff --git a/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue b/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue index 7013495f..830e13cf 100644 --- a/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue +++ b/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue @@ -11,7 +11,7 @@ - diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index 45dfdd52..6e80ce4e 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -507,7 +507,8 @@ pack.qty = batchDetailList[i].qty pack.toLocationCode = this.toLocationCode; - pack.labelQty = Number(qty); + console.log(999,result.package) + pack.labelQty = Number(result.package.packQty); pack.scaned = true; // 当前批次剩余可以扫进的数量大于当前扫描的标签数量的时候直接插入当前的批次 if(handleQtySub >= parseFloat(qty)){ @@ -691,15 +692,16 @@ let str = '' let str1 = '' var scanCount=0; + this.jobContent.allowBiggerQty = "FALSE" this.detailSource.forEach((item) => { item.subList.forEach(cur=>{ if(cur.scaned){ scanCount++; if(parseFloat(cur.qty)>parseFloat(cur.handleQty)){ - str += `物料号【${item.itemCode}】批次【${cur.batch}】实际提交数量【${cur.handleQty}】不可以小于任务数量【${cur.qty}】\n` + str += `物料号【${item.itemCode}】批次【${cur.batch}】扫描数量【${cur.handleQty}】小于任务推荐数量【${cur.qty}】,\n请修改后再提交` } if(parseFloat(cur.qty)