|
|
|
@ -334,6 +334,7 @@ import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
|
|
|
|
|
import {getWorkBindBusTypes} from '@/api/basic/workPlace/sysWorkplaceDocuments'
|
|
|
|
|
import {filterWorkOptimize} from '@/api/basic/workPlace/sysWorkplaceManage'
|
|
|
|
|
import {getByCode} from "@/api/basic/workPlace/SysWorkplaceQueue";
|
|
|
|
|
import { getCodeList } from '@/api/inout/splitInv'
|
|
|
|
|
|
|
|
|
|
// 常量定义
|
|
|
|
|
const SCAN_TIMEOUT = 1000
|
|
|
|
@ -616,6 +617,7 @@ export default {
|
|
|
|
|
redMesgOld: false,
|
|
|
|
|
productName: null,
|
|
|
|
|
orderStatus: false,//是否调用子组件
|
|
|
|
|
workPlaceQueueCode:""
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
@ -1694,9 +1696,19 @@ export default {
|
|
|
|
|
this.errVisible = false
|
|
|
|
|
|
|
|
|
|
this.checkSuccess = true
|
|
|
|
|
// this.workPlaceQueueCode = this.scanCode
|
|
|
|
|
if (this.getDMHotskeyValue(this.scanCode)) {
|
|
|
|
|
//获取当前工位的所有码 然后批量扫入
|
|
|
|
|
getCodeList({workPlaceQueueCode:this.scanCode}).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
let params = {
|
|
|
|
|
codeList: response.data
|
|
|
|
|
}
|
|
|
|
|
this.batchVailCode(params)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.splitType == 'out') {
|
|
|
|
|
if (!this.scanCode.includes("DMQ")) {
|
|
|
|
|