Browse Source

修复开单计算体积

dev-xx
qb 4 months ago
parent
commit
ad9904135a
  1. 6
      src/views/distribution/inventory/CreateOrder.vue

6
src/views/distribution/inventory/CreateOrder.vue

@ -4693,6 +4693,8 @@ const handleSubmitPackage = () => {
value.confirmIncomeCategoryId = value.incomeCategoryId;
value.confirmIncomeCategoryName = value.incomeCategoryName;
console.log('value.volume :>> ', value.volume);
//
let _flag = false;
for (let i = 0; i < _goodsArr.length; i++) {
@ -4705,11 +4707,13 @@ const handleSubmitPackage = () => {
'+',
isNumber(value.weight) ? Number(value.weight) : 0
).result;
item.volume += computeNumber(
item.volume = computeNumber(
Number(item.volume),
'+',
isNumber(value.volume) ? Number(value.volume) : 0
).result;
console.log('item.volume :>> ', item.volume);
_flag = true;
break;
}

Loading…
Cancel
Save