Browse Source

SCP 供应商发货申请,生成标签时,计算数量出现问题

hella_online_20240829
zhang_li 4 months ago
parent
commit
7a76b7acdd
  1. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

3
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

@ -236,9 +236,10 @@ const expandChange = (row: any, expandedRows: any[]) => {
// ** // **
let num1 = accuracyFun.multiply(parseFloat(row.manTuoQty ),parseFloat(row.otherNumber)) let num1 = accuracyFun.multiply(parseFloat(row.manTuoQty ),parseFloat(row.otherNumber))
row.tuoInManNumber = accuracyFun.multiply(num1, parseFloat(row.packQty)) row.tuoInManNumber = accuracyFun.multiply(num1, parseFloat(row.packQty))
console.log(11,row.tuoInManNumber )
// //
row.lastNumber = row.lastNumber =
parseFloat(row.qty) > parseFloat(row.tuoInManNumber) parseFloat(row.qty) >= parseFloat(row.tuoInManNumber)
? accuracyFun.subtract( parseFloat(row.qty),parseFloat(row.tuoInManNumber)) ? accuracyFun.subtract( parseFloat(row.qty),parseFloat(row.tuoInManNumber))
: parseFloat(row.qty) : parseFloat(row.qty)
// //

Loading…
Cancel
Save