|
@ -235,10 +235,11 @@ const expandChange = (row: any, expandedRows: any[]) => { |
|
|
row.manTuoQty = Math.floor(parseFloat(row.manXiangQty) / parseFloat(row.otherNumber)) |
|
|
row.manTuoQty = Math.floor(parseFloat(row.manXiangQty) / parseFloat(row.otherNumber)) |
|
|
// 放满的托数量*一托的箱数量*一箱的数量 获取放满的托一共多少数量 |
|
|
// 放满的托数量*一托的箱数量*一箱的数量 获取放满的托一共多少数量 |
|
|
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) |
|
|
// 循环托 |
|
|
// 循环托 |
|
|