From 7d3a240b958fa1c834049a45131999f39071bfc9 Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期一, 11 十二月 2023 10:38:23 +0800
Subject: [PATCH] 广播区域详情

---
 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