配粉间桶标签打印修改清空

This commit is contained in:
2022-06-28 19:01:43 +08:00
parent 4bb13b8a44
commit 79e02ee0fc

View File

@@ -145,12 +145,15 @@ export default {
this.val3 = this.$store.getters.materObj.material_name
},
created () {
this._getDictInfo('quality_scode')
this._getDictInfo('ivt_level')
this._getDictInfo('is_active')
this._getDictInfo('sch_area_type')
this.initDrop()
},
methods: {
initDrop () {
this._getDictInfo('quality_scode')
this._getDictInfo('ivt_level')
this._getDictInfo('is_active')
this._getDictInfo('sch_area_type')
},
handleChange (e, type) {
if (type) {
this._queryInfoByPF(e)
@@ -286,6 +289,7 @@ export default {
if (res.code === '1') {
this.toast(res.desc)
Object.assign(this.$data, this.$options.data())
this.initDrop()
} else {
this.Dialog(res.desc)
}
@@ -316,6 +320,7 @@ export default {
})
}
Object.assign(this.$data, this.$options.data())
this.initDrop()
if (this.$route.query.id !== '' && this.$route.query.id !== undefined) {
this._updateWorkStatus()
}