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