|
|
@ -236,9 +236,10 @@ const expandChange = (row: any, expandedRows: any[]) => { |
|
|
|
// 放满的托数量*一托的箱数量*一箱的数量 获取放满的托一共多少数量 |
|
|
|
let num1 = accuracyFun.multiply(parseFloat(row.manTuoQty ),parseFloat(row.otherNumber)) |
|
|
|
row.tuoInManNumber = accuracyFun.multiply(num1, parseFloat(row.packQty)) |
|
|
|
console.log(11,row.tuoInManNumber ) |
|
|
|
// 数量除以托数量获取余数 |
|
|
|
row.lastNumber = |
|
|
|
parseFloat(row.qty) > parseFloat(row.tuoInManNumber) |
|
|
|
parseFloat(row.qty) >= parseFloat(row.tuoInManNumber) |
|
|
|
? accuracyFun.subtract( parseFloat(row.qty),parseFloat(row.tuoInManNumber)) |
|
|
|
: parseFloat(row.qty) |
|
|
|
// 循环托 |
|
|
|