zhouwx
2025-11-11 be57c60a2b1ce03ebdd264176149c52870c0b760
src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/components/editDialog.vue
@@ -11,7 +11,7 @@
      <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules"  >
        <el-row :gutter="24">
          <el-col :span="24">
            <el-form-item label="企业名称:" prop="companyId" v-if="state.isAdmin">
            <el-form-item label="单位名称:" prop="companyId" v-if="state.isAdmin">
              <el-select v-model="state.form.companyId" placeholder="请选择" filterable clearable style="width: 100%" :disabled="title == '查看' || title == '编辑' || !state.isAdmin" @change="selectValueCom">
                <el-option
                    v-for="item in state.companyList"
@@ -44,7 +44,7 @@
                    v-for="item in state.supplierList"
                    :key="item.id"
                    :label="item.customerName"
                    :value="item.id">
                    :value="item.customerName">
                </el-option>
              </el-select>
            </el-form-item>
@@ -282,7 +282,7 @@
  title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
  if(type === 'edit' || type === 'review') {
    state.form = JSON.parse(JSON.stringify(value));
    state.form.unitName = Number(state.form.unitName)
    // state.form.unitName = Number(state.form.unitName)
    if(state.isAdmin){
      state.form.companyId = value.companyId
      state.form.companyName = value.companyName
@@ -428,7 +428,7 @@
  state.form.address = ''
  state.form.phone = ''
  state.supplierList.forEach(item => {
    if(val == item.id){
    if(val == item.customerName){
      state.form.person = item.person
      state.form.address = item.customerAddr
      state.form.phone = item.phone