diff --git a/src/pages/issue/coms/comScanIssuePack.vue b/src/pages/issue/coms/comScanIssuePack.vue
index 7e58f6bd..fe365265 100644
--- a/src/pages/issue/coms/comScanIssuePack.vue
+++ b/src/pages/issue/coms/comScanIssuePack.vue
@@ -296,7 +296,7 @@ const queryBalance = (result)=>{
result.balance = res.data[0]
if (result.label.packingNumber != result.balance.packingNumber) {
- result.balance.lableQty = result.label.qty
+ result.balance.lableQty = Number(result.label.qty)
}
this.afterGetBalance(result.label, result.balance, result.package);
} else {
@@ -524,8 +524,9 @@ const creatRecord = (label, balance, packageInfo) => {
packingNumber: label.packingNumber,
parentPackingNumber: packageInfo.parentNumber,
batch: label.batch,
- qty: Number(balance.qty),
+ // qty: Number(balance.qty),
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.qty),
+ qty: balance.lableQty ?? Number(label.qty),
uom: balance.uom,
inventoryStatus: balance.inventoryStatus,
balance,
diff --git a/src/pages/issue/job/issueDetail.vue b/src/pages/issue/job/issueDetail.vue
index d9a1c097..4e043608 100644
--- a/src/pages/issue/job/issueDetail.vue
+++ b/src/pages/issue/job/issueDetail.vue
@@ -340,9 +340,9 @@ const afterScan = () => {
submit()
} else {
comMessageRef.value.showQuestionMessage(`实际扫描数量【${totalHandleQty}】与物料需求数量【${item.qty}】不一致,是否继续提交`, (res) => {
- if (res) {
- submit()
- }
+ // if (res) {
+ // submit()
+ // }
})
}
})
diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue
index 0838c4af..9a06edec 100644
--- a/src/pages/issue/job/issueJob.vue
+++ b/src/pages/issue/job/issueJob.vue
@@ -457,7 +457,8 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
- showMessage(`物料号[${result.label.itemCode}]批次[${result.label.batch}]` + '未查找到任务
' + `扫描[${result.scanMessage}]`)
+ showMessage("按来源库位[" + balance.locationCode + "]批次[" + result.label.batch +
+ "]物料号[" + result.label.itemCode + "]未查找到任务
" + "扫描[" + result.scanMessage + "]")
}
})
.catch((error) => {