Merge remote-tracking branch 'origin/dev2.5_scan' into dev2.5_scan

dev2.5_scan
wangwei 3 months ago
commit f33bec12cb

@ -821,10 +821,19 @@ export default {
this.formData.busName = info.busName this.formData.busName = info.busName
this.autoTag = info.autoTag this.autoTag = info.autoTag
this.editableTabs = [] this.editableTabs = []
if (this.productType == 2) {
this.clickMenuItem(10) if (this.inAndOutType == 1) {
} else { if (this.productType == 2) {
this.clickMenuItem(1000) this.clickMenuItem(10)
} else {
this.clickMenuItem(1000)
}
}else {
if (this.productType == 2) {
this.clickMenuItem(0)
} else {
this.clickMenuItem(10000)
}
} }
this.showChild = false this.showChild = false
@ -847,20 +856,12 @@ export default {
this.formData.workplaceName = info.workplaceName this.formData.workplaceName = info.workplaceName
this.editableTabs = [] this.editableTabs = []
if (this.productType == 2) {
if (this.workPlaceClass == 2 ){ this.clickMenuItem(1)
if (this.productType == 2) { } else {
this.clickMenuItem(1) this.clickMenuItem(100)
} else {
this.clickMenuItem(100)
}
}else{
if (this.productType == 2) {
this.clickMenuItem(0)
} else {
this.clickMenuItem(10000)
}
} }
this.showChild = false this.showChild = false
this.$nextTick(() => { this.$nextTick(() => {
this.showChild = true this.showChild = true

@ -1732,12 +1732,14 @@ export default {
document.removeEventListener('keydown', this.handleKeydown) document.removeEventListener('keydown', this.handleKeydown)
window.removeEventListener('djcl', this.handleRecCodesEvent) window.removeEventListener('djcl', this.handleRecCodesEvent)
document.removeEventListener('visibilitychange', this.handleVisibilityChange) document.removeEventListener('visibilitychange', this.handleVisibilityChange)
if (this.ws != null){
this.ws.close() this.ws.close()
this.ws.onclose = function (evt) { this.ws.onclose = function (evt) {
console.log('处理单据 Connection closed.') console.log('处理单据 Connection closed.')
}
} }
}, },
created() { created() {
getHead('prescribeTagCodeDeal', '1').then((re) => { getHead('prescribeTagCodeDeal', '1').then((re) => {

Loading…
Cancel
Save