Browse Source

YT-1022da物料隔离任务,扫描后提交

intex_online20241205
张立 5 months ago
parent
commit
b6d06e0bba
  1. 29
      src/pages/inventoryMove/job/inventoryMoveDetail.vue

29
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -551,20 +551,21 @@
let str1 = '' let str1 = ''
this.detailSource.forEach((item) => { this.detailSource.forEach((item) => {
item.subList.forEach(cur => { item.subList.forEach(cur => {
if (cur.qty != cur.handleQty) {
var tempHandleQty = 0 if(cur.scaned){
if (cur.handleQty) { if (cur.qty != cur.handleQty) {
tempHandleQty = cur.handleQty var tempHandleQty = 0
} else { if (cur.handleQty) {
tempHandleQty = 0 tempHandleQty = cur.handleQty
} } else {
str += tempHandleQty = 0
`物料号【${item.itemCode}】批次【${cur.batch}】提交数量【${tempHandleQty}】与任务物料数量【${cur.qty}】不一致\n` }
if( cur.handleQty > cur.balance.balanceQty){ str +=
console.log(2333,cur.handleQty) `物料号【${item.itemCode}】批次【${cur.batch}】提交数量【${tempHandleQty}】与任务物料数量【${cur.qty}】不一致\n`
console.log(2333,cur.balance.balanceQty) if(cur.handleQty > cur.balance.balanceQty){
str1 += str1 +=
`物料号【${item.itemCode}】批次【${cur.batch}】提交数量【${ cur.handleQty}】不可以大于库存数量【${cur.balance.balanceQty}` `物料号【${item.itemCode}】批次【${cur.batch}】提交数量【${ cur.handleQty}】不可以大于库存数量【${cur.balance.balanceQty}`
}
} }
} }
}) })

Loading…
Cancel
Save