From 608ba3268cea95270a93b812050a7dbf7baaf164 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 20 Nov 2024 16:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E4=BA=A7=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../auditPages/assetsManagement/assetsAuth.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/auditPages/assetsManagement/assetsAuth.vue b/src/views/auditPages/assetsManagement/assetsAuth.vue index b4def81..44e4ca5 100644 --- a/src/views/auditPages/assetsManagement/assetsAuth.vue +++ b/src/views/auditPages/assetsManagement/assetsAuth.vue @@ -2484,7 +2484,7 @@ 不通过 - 通过 + 通过 @@ -2698,6 +2698,12 @@ export default { getInfo(id){ assetInfo(id).then(res=>{ this.ruleForm = res.data; + console.log(this.ruleForm); + if(!this.ruleForm.xjgywxt) { + this.ruleForm.xjgywxt = {} + this.$set(this.ruleForm.xjgywxt, 'remark', "") + } + console.log(this.ruleForm); this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : []; this.ruleForm.gylxxList.length > 0 ? this.chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1) : [] this.ruleForm.gylxxList.length > 0 ? this.yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2) : [] @@ -2716,9 +2722,6 @@ export default { this.ruleForm.xtfhqkFzd ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [] this.ruleForm.xtfhqkFls ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [] - if(this.ruleForm.xjgywxt.remark) { - this.radio = this.ruleForm.xjgywxt.remark; - } if(this.ruleForm.sheng && this.ruleForm.shi && this.ruleForm.qu) { this.dlwz = [this.ruleForm.sheng,this.ruleForm.shi,this.ruleForm.qu] @@ -2861,9 +2864,6 @@ export default { this.ruleForm.shi = this.dlwz[1] this.ruleForm.qu = this.dlwz[2] } - if(this.radio) { - this.xjgywxt.remark = this.radio; - } this.loading = true; if(this.$route.query.pageType == 'change') { assetUnitData('put',this.ruleForm).then(res=>{