|
@ -510,15 +510,15 @@ const blurOne = (oneRow, twoRow) => { |
|
|
if (!twoRow.xNumber) { |
|
|
if (!twoRow.xNumber) { |
|
|
twoRow.qtyOne = '' |
|
|
twoRow.qtyOne = '' |
|
|
} |
|
|
} |
|
|
// if (parseFloat(twoRow.xNumber) > parseFloat(oneRow.otherNumber)) { |
|
|
if (parseFloat(twoRow.xNumber) > parseFloat(oneRow.otherNumber)) { |
|
|
// message.warning('每托箱个数最多' + oneRow.otherNumber + '箱') |
|
|
message.warning('每托箱个数最多' + oneRow.otherNumber + '箱') |
|
|
// twoRow.xNumber = oneRow.otherNumber |
|
|
twoRow.xNumber = oneRow.otherNumber |
|
|
// twoRow.children = [] |
|
|
twoRow.children = [] |
|
|
// twoRow.qtyOne = parseFloat(twoRow.xNumber) * parseFloat(oneRow.packQty) |
|
|
twoRow.qtyOne = parseFloat(twoRow.xNumber) * parseFloat(oneRow.packQty) |
|
|
// } |
|
|
} |
|
|
twoRow.qtyOne = parseFloat(twoRow.xNumber) |
|
|
twoRow.qtyOne = parseFloat(twoRow.xNumber) |
|
|
? accuracyFun.multiply(parseFloat(twoRow.xNumber), parseFloat(oneRow.packQty)) |
|
|
? accuracyFun.multiply(parseFloat(twoRow.xNumber), parseFloat(oneRow.packQty)) |
|
|
: '' |
|
|
: '' |
|
|
// let num = 0 |
|
|
// let num = 0 |
|
|
// oneRow.packageList.forEach((item) => { |
|
|
// oneRow.packageList.forEach((item) => { |
|
|
// num += parseFloat(item.xNumber) || 0 |
|
|
// num += parseFloat(item.xNumber) || 0 |
|
|