Browse Source

修改盘点扫描不是任务中的数据,数量赋值

hella_online_20240927
lijuncheng 2 months ago
parent
commit
c16e5e984f
  1. 1
      .gitignore
  2. 3
      readmi.js
  3. 5
      src/pages/count/job/countLightDetail.vue

1
.gitignore

@ -20,3 +20,4 @@ dist
*.sln *.sln
*.sw? *.sw?
/.env.development /.env.development
readmi.js

3
readmi.js

@ -0,0 +1,3 @@
客户退货
扫描不查询库存
退到隔离库

5
src/pages/count/job/countLightDetail.vue

@ -344,7 +344,7 @@
var pack = result.package var pack = result.package
var batch = result.label.batch var batch = result.label.batch
var inventoryStatus = result.balance ? result.balance.inventoryStatus : "OK" var inventoryStatus = result.balance ? result.balance.inventoryStatus : "OK"
var qty = result.balance ? result.balance.qty : 0; var qty = result.balance ? result.balance.qty : result.label.qty;
// //
let items = this.allDetails.filter(r => let items = this.allDetails.filter(r =>
@ -392,6 +392,7 @@
selectItem.handleQty = Number(qty) selectItem.handleQty = Number(qty)
selectItem.packQty = pack.packQty selectItem.packQty = pack.packQty
selectItem.packUnit = pack.packUnit selectItem.packUnit = pack.packUnit
selectItem.parentPackingNumber =pack.parentPackingNumber
selectItem.locationCode =this.fromLocationCode selectItem.locationCode =this.fromLocationCode
selectItem.fromLocationCode =this.fromLocationCode selectItem.fromLocationCode =this.fromLocationCode
@ -463,7 +464,7 @@
uom: pack.uom, uom: pack.uom,
number: pack.number, number: pack.number,
remark: "", remark: "",
countQty: 0, countQty: Number(qty),
balanceQty: Number(qty), balanceQty: Number(qty),
fromLocationCode: this.fromLocationCode, fromLocationCode: this.fromLocationCode,
locationCode:this.fromLocationCode, locationCode:this.fromLocationCode,

Loading…
Cancel
Save