配粉间桶标签打印修改清空
This commit is contained in:
@@ -145,12 +145,15 @@ export default {
|
|||||||
this.val3 = this.$store.getters.materObj.material_name
|
this.val3 = this.$store.getters.materObj.material_name
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this._getDictInfo('quality_scode')
|
this.initDrop()
|
||||||
this._getDictInfo('ivt_level')
|
|
||||||
this._getDictInfo('is_active')
|
|
||||||
this._getDictInfo('sch_area_type')
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
initDrop () {
|
||||||
|
this._getDictInfo('quality_scode')
|
||||||
|
this._getDictInfo('ivt_level')
|
||||||
|
this._getDictInfo('is_active')
|
||||||
|
this._getDictInfo('sch_area_type')
|
||||||
|
},
|
||||||
handleChange (e, type) {
|
handleChange (e, type) {
|
||||||
if (type) {
|
if (type) {
|
||||||
this._queryInfoByPF(e)
|
this._queryInfoByPF(e)
|
||||||
@@ -286,6 +289,7 @@ export default {
|
|||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
Object.assign(this.$data, this.$options.data())
|
Object.assign(this.$data, this.$options.data())
|
||||||
|
this.initDrop()
|
||||||
} else {
|
} else {
|
||||||
this.Dialog(res.desc)
|
this.Dialog(res.desc)
|
||||||
}
|
}
|
||||||
@@ -316,6 +320,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
Object.assign(this.$data, this.$options.data())
|
Object.assign(this.$data, this.$options.data())
|
||||||
|
this.initDrop()
|
||||||
if (this.$route.query.id !== '' && this.$route.query.id !== undefined) {
|
if (this.$route.query.id !== '' && this.$route.query.id !== undefined) {
|
||||||
this._updateWorkStatus()
|
this._updateWorkStatus()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user