From 9799d5c3986d7c100fff0c2db66ed38fd7d15ac7 Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期四, 30 十一月 2023 13:30:26 +0800 Subject: [PATCH] bug修改 --- 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