|
|
@ -141,7 +141,7 @@ const getScanResult = (result) => { |
|
|
|
const newDetail = createDetailInfo(balance, pack) |
|
|
|
item.subList.push(newDetail) |
|
|
|
} else if (detail.scaned == true) { |
|
|
|
showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]已经在列表中`) |
|
|
|
showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]重复扫描`) |
|
|
|
} |
|
|
|
} |
|
|
|
handleCalcHandleQty() |
|
|
@ -213,7 +213,7 @@ const commit = () => { |
|
|
|
.then((res) => { |
|
|
|
uni.hideLoading() |
|
|
|
if (res.data) { |
|
|
|
showCommitSuccessMessage(`提交成功<br>生成客户退货申请<br>${res.data}`) |
|
|
|
showCommitSuccessMessage(`提交成功\n生成客户退货申请\n${res.data}`) |
|
|
|
} else { |
|
|
|
showErrorMessage(`提交失败[${res.msg}]`) |
|
|
|
} |
|
|
|