叶松
2023-11-30 9799d5c3986d7c100fff0c2db66ed38fd7d15ac7
bug修改
已修改2个文件
12 ■■■■■ 文件已修改
web/src/views/ProjectManage/AmountManage.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/ProjectManage/components/RawConsump.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/ProjectManage/AmountManage.vue
@@ -31,7 +31,7 @@
        }
    },
    mounted(){
        this.$refs.Rebars.searchButtonInfo(true);
        this.$refs.Rebars.getAllProjectData(true);
        this.$refs.Rebars.getInits();
    },
    methods:{
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
          }