haoxuan
2024-04-18 ffb95166c2f65efc41acefc217e558191a41ed8f
纤度登记表  编辑的时候纤度值和数量赋值的逻辑调整
1个文件已修改
8 ■■■■ 已修改文件
src/views/productManage/silkRegisterForm/addPage.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productManage/silkRegisterForm/addPage.vue
@@ -606,7 +606,7 @@
                  JSON.stringify(response.data ? response.data : {})
                );
                this.form = config;
                this.getGroupNumber()
                this.getGroupNumber('','edit')
                let finenessList=config.finenessList
                  ? config.finenessList
                  : [];
@@ -762,7 +762,7 @@
        }
      });
    },
    async getGroupNumber(val) {
    async getGroupNumber(val,type) {
      if (this.form.name) {
        //组别
        let number = "";
@@ -789,8 +789,8 @@
            }
          })
        }
        if(this.form.workshopGroup&&this.form.market){
            getCarNumber({
        if(this.form.workshopGroup&&this.form.market&&type!='edit'){
          await  getCarNumber({
              workshopName:this.form.name,
              marketName:this.form.market,
              groupNumber:this.form.workshopGroup,