|
@ -566,11 +566,11 @@ const blurOne = (oneRow, twoRow) => { |
|
|
} |
|
|
} |
|
|
//在托下方的箱数量失去焦点 |
|
|
//在托下方的箱数量失去焦点 |
|
|
const blurTwo = (oneRow, twoRow, threeRow) => { |
|
|
const blurTwo = (oneRow, twoRow, threeRow) => { |
|
|
// if (parseFloat(threeRow.qtyTwo) > parseFloat(oneRow.packQty)) { |
|
|
if (parseFloat(threeRow.qtyTwo) > parseFloat(oneRow.packQty)) { |
|
|
// message.warning('数量最多为' + oneRow.packQty) |
|
|
message.warning('数量最多为' + oneRow.packQty) |
|
|
// threeRow.qtyTwo = oneRow.packQty |
|
|
threeRow.qtyTwo = oneRow.packQty |
|
|
// return |
|
|
return |
|
|
// } |
|
|
} |
|
|
let num = 0 |
|
|
let num = 0 |
|
|
twoRow.children.forEach((item) => { |
|
|
twoRow.children.forEach((item) => { |
|
|
num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo)) |
|
|
num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo)) |
|
@ -579,10 +579,10 @@ const blurTwo = (oneRow, twoRow, threeRow) => { |
|
|
} |
|
|
} |
|
|
// 箱数量失去焦点 |
|
|
// 箱数量失去焦点 |
|
|
const blurThree = (oneRow, twoRow, thereeRow) => { |
|
|
const blurThree = (oneRow, twoRow, thereeRow) => { |
|
|
// if (parseFloat(thereeRow.qtyTwo) > parseFloat(oneRow.packQty)) { |
|
|
if (parseFloat(thereeRow.qtyTwo) > parseFloat(oneRow.packQty)) { |
|
|
// message.warning('每箱个数最多' + oneRow.packQty) |
|
|
message.warning('每箱个数最多' + oneRow.packQty) |
|
|
// thereeRow.qtyTwo = oneRow.packQty |
|
|
thereeRow.qtyTwo = oneRow.packQty |
|
|
// } |
|
|
} |
|
|
let num = 0 |
|
|
let num = 0 |
|
|
twoRow.children.forEach((item) => { |
|
|
twoRow.children.forEach((item) => { |
|
|
num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo)) |
|
|
num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo)) |
|
|