Browse Source

去掉console

master_hella_20240701
zhang_li 4 months ago
parent
commit
a98e7ea911
  1. 8
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

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

@ -175,12 +175,10 @@ const intData = () => {
}
expandChange(row)
})
console.log(tableData.value)
}
const expandChange = (row: any, expandedRows: any[]) => {
//
if (row.secondPackUnit && row.secondPackQty) {
console.log(222,row)
//
row.lastNumber = parseFloat(row.qty) % parseFloat(row.secondPackQty)
// /
@ -199,7 +197,6 @@ const expandChange = (row: any, expandedRows: any[]) => {
qtyOne: '',
isTuo : 1 //
}
console.log(222,row)
//
if (row.lastNumber) {
//
@ -302,7 +299,6 @@ const submitForm = () => {
let arr = tableData.value.map((item) => {
item.allNumber = 0
//
console.log(item.packageList)
item.packageList.forEach((cur) => {
item.allNumber += parseFloat(cur.qtyOne) || 0
})
@ -312,13 +308,11 @@ const submitForm = () => {
return false
}
})
console.log(3434, arr)
const isBol = arr.some((item) => item == false)
if (isBol) {
message.warning('当前添加的数量与总数量不一致')
return
}
console.log(343546568678)
emit('submitForm', tableData.value)
}
//
@ -446,8 +440,6 @@ const blurOne = (oneRow, twoRow) => {
}
//
const blurTwo = (oneRow, twoRow, threeRow) => {
console.log(parseFloat(threeRow.qtyTwo))
console.log(parseFloat(oneRow.packQty))
if (parseFloat(threeRow.qtyTwo) > parseFloat(oneRow.packQty)) {
message.warning('数量最多为' + oneRow.packQty)
threeRow.qtyTwo = oneRow.packQty

Loading…
Cancel
Save