1.修复划线、切割扫码报工成功后不刷新数据的问题

master
董哲奇 3 months ago
parent 37b8a481f4
commit daa294ce05

@ -136,13 +136,16 @@ export default {
list: tmpArr,
ycldwInfo:ycldwInfo
}
zx(data1)
zx(data1).then(res=>{
EventBus.$emit('removeGdh', {})
this.initData(this.$props.worker().userCode,'51')
})
bgFlag=true
}
}
if (!bgFlag){
this.$message.warning('工单号未找到')
setTimeout(()=>{
this.$message.warning('工单号未找到')
EventBus.$emit('removeGdh', {})
},500)
}

@ -146,7 +146,10 @@ export default {
list: tmpArr,
ycldwInfo: ycldwInfo
}
zx(data1)
zx(data1).then(res=>{
EventBus.$emit('removeGdh', {})
this.initData(this.$props.worker().userCode,'61')
})
bgFlag=true
}
}

Loading…
Cancel
Save