2/27 页面优化1.0

20240912_adapter
wangwei 1 month ago
parent a9d955fb14
commit 796e9f2810

@ -1754,7 +1754,9 @@ export default {
this.result = ''
this.$refs.inputRef.focus()
}
this.sharedData = 'over'
// over tabs
EventBus.$emit('update-data', { message: this.sharedData });
},
//
resetForm() {
@ -2324,6 +2326,11 @@ export default {
if (res.code == 20000) {
if (res.data != null) {
this.refreshOrder(res.data)
}else {
this.scanCode = ''
this.result = ''
this.refreshCodesPanel()
this.init()
}
}
// this.redMesg = false

@ -751,7 +751,7 @@ export default {
this.queueCodeTotal = 0
this.collectSet = null
this.alertInit()
if (!isBlank(this.message)){
if (!isBlank(this.message) && this.message.includes("DMQ")){
EventBus.$emit('sendCreateData', { message: this.message });
}
},
@ -910,13 +910,14 @@ export default {
//
if (!isBlank(data)){
// over
if (data == 'over'){
if (data.includes("over")){
this.dropCode()
return;
}else {
this.scanCode = data;
this.workplaceId = this.$route.query.workplaceId
this.handleSlotCodeScan()
}
this.scanCode = data;
this.workplaceId = this.$route.query.workplaceId
this.handleSlotCodeScan()
}
}
},
@ -993,7 +994,7 @@ export default {
created() {
this.workplaceId = this.$route.query.workplaceId
// this.selectSysParam()
if (!isBlank(this.message)){
if (!isBlank(this.message) && this.message.includes("DMQ")){
this.scanCode = this.message
this.handleSlotCodeScan()
}

Loading…
Cancel
Save