From 79e02ee0fc23967338c2fc653f5753daaac7d3c4 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Tue, 28 Jun 2022 19:01:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=B2=89=E9=97=B4=E6=A1=B6=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=89=93=E5=8D=B0=E4=BF=AE=E6=94=B9=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xinrui/storage/settings/PeifenBarrelPrint.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pages/xinrui/storage/settings/PeifenBarrelPrint.vue b/src/pages/xinrui/storage/settings/PeifenBarrelPrint.vue index aa7b16c..e6b41ea 100644 --- a/src/pages/xinrui/storage/settings/PeifenBarrelPrint.vue +++ b/src/pages/xinrui/storage/settings/PeifenBarrelPrint.vue @@ -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() }