From 8ff8b4dbccd93d4dbc7976b50148088fef77af0b Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期五, 08 十二月 2023 08:56:26 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- web/src/views/ProjectManage/components/RawConsump.vue | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/web/src/views/ProjectManage/components/RawConsump.vue b/web/src/views/ProjectManage/components/RawConsump.vue index d79a183..49742e1 100644 --- a/web/src/views/ProjectManage/components/RawConsump.vue +++ b/web/src/views/ProjectManage/components/RawConsump.vue @@ -137,7 +137,7 @@ :size="size" type="number" placeholder="请输入"> - <template slot="append">吨</template> + <template slot="append">kg</template> </el-input> </template> </el-table-column> @@ -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 } @@ -304,7 +302,7 @@ let titles = [] titles =res.data.tableHeader.map(item=>{ return{ - label:item.headName+'(吨)', + label:item.headName+'(kg)', prop:item.fieldName } }) -- Gitblit v1.9.3