|
@ -149,7 +149,7 @@ const getScanResult = (result) => { |
|
|
const newDetail = createDetailInfo(balance, pack) |
|
|
const newDetail = createDetailInfo(balance, pack) |
|
|
item.subList.push(newDetail) |
|
|
item.subList.push(newDetail) |
|
|
} else if (detail.scaned == true) { |
|
|
} else if (detail.scaned == true) { |
|
|
showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]已经在列表中`) |
|
|
showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]重复扫描`) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
handleCalcHandleQty() |
|
|
handleCalcHandleQty() |
|
@ -235,7 +235,7 @@ const commit = () => { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
if (res.data) { |
|
|
if (res.data) { |
|
|
console.log(666) |
|
|
console.log(666) |
|
|
showCommitSuccessMessage(`提交成功<br>生成制品发货记录<br>${res.data}`) |
|
|
showCommitSuccessMessage(`提交成功\n生成制品发货记录\n${res.data}`) |
|
|
} else { |
|
|
} else { |
|
|
console.log(7777) |
|
|
console.log(7777) |
|
|
showErrorMessage(`提交失败[${res.msg}]`) |
|
|
showErrorMessage(`提交失败[${res.msg}]`) |
|
|