From 0c4986436ecf233a4fe71d4ef665bdfff8a4ef97 Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期四, 30 十一月 2023 14:04:11 +0800 Subject: [PATCH] 20231130_qiuyh_调整巡检打卡 --- web/src/views/ProjectManage/components/RawConsump.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/web/src/views/ProjectManage/components/RawConsump.vue b/web/src/views/ProjectManage/components/RawConsump.vue index 5e0dff6..49742e1 100644 --- a/web/src/views/ProjectManage/components/RawConsump.vue +++ b/web/src/views/ProjectManage/components/RawConsump.vue @@ -247,15 +247,13 @@ this.$api.Reinforce.searchProjectSize({proId:val,pageNum: 1, pageSize:100000000}).then(res=>{ if(res.statusMsg === 'ok'){ - if(this.search.proId ===""){ + if(val ===""){ this.optionsSize = [] this.search.size = "" this.search.reinforcement = "" - }else if(this.ruleForm.proId ===""){ - this.optionsSize = [] - this.ruleForm.size = "" - this.ruleForm.reinforcement = "" - this.ruleForm.blockNum = "" + this.$set(this.ruleForm,'size','') + this.$set(this.ruleForm,'reinforcement','') + this.$set(this.ruleForm,'blockNum','') }else{ this.optionsSize = res.data.list } -- Gitblit v1.9.3