扫码校验

dev2.5_scan
yewj 3 months ago
parent fb888c3b08
commit 04313efe2b

@ -81,7 +81,6 @@ export function updateOrder(query) {
} }
export function checkCollectOrderManCode(query) { export function checkCollectOrderManCode(query) {
return axios({ return axios({
url: "/udiwms/basic/collect/IoCollectOrderCodeMan/checkCode", url: "/udiwms/basic/collect/IoCollectOrderCodeMan/checkCode",

@ -710,6 +710,7 @@ export default {
this.checkSuccess = true this.checkSuccess = true
this.filterQuery.code = this.scanCode.trim() this.filterQuery.code = this.scanCode.trim()
this.scanCode = '';
if (this.filterQuery.code.includes(';')) { if (this.filterQuery.code.includes(';')) {
const codeArray = this.filterQuery.code.split(';') const codeArray = this.filterQuery.code.split(';')
const verify = this.verifyScanCount(codeArray) const verify = this.verifyScanCount(codeArray)
@ -1054,7 +1055,11 @@ export default {
}) })
} else { } else {
loading.close(); loading.close();
this.$message.error(res.message) this.$alert(res.message, '提示', {
confirmButtonText: '确定',
callback: action => {
}
})
} }
}).catch(() => { }).catch(() => {
loading.close(); loading.close();
@ -1131,7 +1136,7 @@ export default {
}, },
startDeal() { startDeal() {
this.autoFinishOrderFlag = true this.autoFinishOrderFlag = false
this.curRow = this.formData this.curRow = this.formData
this.dealSplitOrder() this.dealSplitOrder()
// //

Loading…
Cancel
Save