zhouwx
2025-11-11 5071d9ae5dca0cdd5715ce8e678c12358765db3f
src/views/work/qualityInfo/supplierQuality/supplierList/components/qualityDialog.vue
@@ -115,6 +115,16 @@
                        placeholder="请输入其他资质情况"
                        size="small"
                    />
                    <el-date-picker
                        :disabled="title === '查看'"
                        type="date"
                        v-if="item.id == 8 && state.checkQualificationList.includes(8)"
                        v-model="state.form.otherDate"
                        style="margin-left: 5px;width: 140px"
                        placeholder="请选择日期"
                        size="small"
                        value-format="YYYY-MM-DD"
                    />
                  </el-checkbox>
                </div>
              </el-checkbox-group>
@@ -224,6 +234,7 @@
    chargeTime: '',
    companyMess: '',
    otherQualifi: '',
    otherDate: '',
    otherProduct: ''
  },
  formRules:{
@@ -391,7 +402,7 @@
    case 'craft': state.form.craft = state.checkCraftList.join(','); break;
    case 'develop': state.form.develop = state.checkDevelopList.join(','); break;
    case 'teamWork': state.form.teamWork = state.checkTeamWorkList.join(','); break;
    case 'qualification': state.form.qualification = state.checkQualificationList.join(','); if(!state.checkQualificationList.includes(8))state.form.otherQualifi = '' ;break;
    case 'qualification': state.form.qualification = state.checkQualificationList.join(','); if(!state.checkQualificationList.includes(8)){state.form.otherQualifi = '' ;state.form.otherDate = '';break;}
    case 'product': state.form.product = state.checkProductList.join(',');if(!state.checkProductList.includes(5))state.form.otherProduct = ''; break;
  }