Browse Source

修复部分bug

dev-xx
qb 5 months ago
parent
commit
ddd87baf57
  1. 12
      src/views/distribution/inventory/BookingNote.vue

12
src/views/distribution/inventory/BookingNote.vue

@ -1543,16 +1543,16 @@ const onLoad = async () => {
info.value.maxNum = 0;
details.deepCloneGoodsList = [];
details.goodsList = data.warehouseWaybill.detailList.map(val => {
val.num = Number(val.num);
val.volume = Number(val.volume);
val.weight = Number(val.weight);
val.price = Number(val.price);
val.subtotalFreight = Number(val.subtotalFreight);
val.num = isNumber(val.num) ? Number(val.num) : 0;
val.volume = isNumber(val.volume) ? Number(val.volume) : 0;
val.weight = isNumber(val.weight) ? Number(val.weight) : 0;
val.price = isNumber(val.price) ? Number(val.price) : 0;
val.subtotalFreight = isNumber(val.subtotalFreight) ? Number(val.subtotalFreight) : 0;
val.goodsName = val.productName;
//
if (!val.subtotalFreight) handleComputed(val);
// if (!val.subtotalFreight) handleComputed(val);
//
info.value.maxNum += val.num;

Loading…
Cancel
Save