From ed4e46ed9dfec8d1719dac63d10292c973f9c45c Mon Sep 17 00:00:00 2001 From: 张磊磊 <201175954@qq.com> Date: 星期二, 05 十二月 2023 17:42:03 +0800 Subject: [PATCH] 11 --- 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