Browse Source

修改拆包显示数量

hella_online_20241121
lijuncheng 2 weeks ago
parent
commit
2194ddc9ba
  1. 6
      src/pages/package/record/splitPackageRecord.vue

6
src/pages/package/record/splitPackageRecord.vue

@ -198,8 +198,9 @@
var itemp = createItemInfo(balance, pack); var itemp = createItemInfo(balance, pack);
itemp.handleQty=0 itemp.handleQty=0
let newDetail = createDetailInfo(balance, pack); // let newDetail = createDetailInfo(balance, pack); //
newDetail.handleQty=0;
if(balance.lableQty){ if(balance.lableQty){
newDetail.handleQty =balance.lableQty newDetail.qty =balance.lableQty
} }
newDetail.parentNumber =pack.parentNumber; newDetail.parentNumber =pack.parentNumber;
@ -221,8 +222,9 @@
}) })
if (detail == undefined) { if (detail == undefined) {
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
newDetail.handleQty=0;
if(balance.lableQty){ if(balance.lableQty){
newDetail.handleQty =balance.lableQty newDetail.qty =balance.lableQty
} }
newDetail.parentNumber =pack.parentNumber; newDetail.parentNumber =pack.parentNumber;
newDetail.packingNumber =pack.number newDetail.packingNumber =pack.number

Loading…
Cancel
Save