haoxuan
2024-04-28 4062e6df79a5a0a02ddcb05162916b257d61f0c7
src/views/productManage/silkRegisterForm/addPage.vue
@@ -181,6 +181,7 @@
              :detail-enter="isView ? true : false"
              :selectBox="false"
              :detailEnter="true"
              :isBorder="true"
              :show-summary="showSummary"
              :product-table-list="tableList"
              @inputContent="inputContent"
@@ -251,6 +252,8 @@
              tooltip-effect="dark"
              style="width: 100%"
              :height="'calc(100% - 0px)'"
              :header-cell-style="{ background: '#f1f3f8',color: '#000009', 'font-size': '12px', 'font-family': 'PingFangSC' }"
              border
            >
              <el-table-column label="车号" prop="ID" width="100">
              </el-table-column>
@@ -606,7 +609,7 @@
                  JSON.stringify(response.data ? response.data : {})
                );
                this.form = config;
                this.getGroupNumber()
                this.getGroupNumber('','edit')
                let finenessList=config.finenessList
                  ? config.finenessList
                  : [];
@@ -762,7 +765,7 @@
        }
      });
    },
    async getGroupNumber(val) {
    async getGroupNumber(val,type) {
      if (this.form.name) {
        //组别
        let number = "";
@@ -789,8 +792,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,