Browse Source

HL-5484scp修改包装数功能变更

hella_online_20240821
zhang_li 3 months ago
parent
commit
c9d9489913
  1. 14
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

14
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

@ -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

Loading…
Cancel
Save