祖安之光
2025-11-18 e558f0ca4c9de7271861601076b2d8e48c513c59
src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
@@ -11,7 +11,7 @@
      <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules"  label-position="right" label-width="130">
        <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"
@@ -203,7 +203,7 @@
    id: '',
    companyId: null,
    deptId: null,
    year: '',
    year: '2025',
    fictionId: null,
    checkId: null,
    ratifyId: null,
@@ -267,6 +267,7 @@
    state.form.companyName = value.companyName
    state.companyList = companyList
  }
  state.form.year = new Date().getFullYear().toString()
  title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
  if(type === 'edit' || type === 'review') {
    state.form = JSON.parse(JSON.stringify(value));
@@ -344,7 +345,7 @@
    id: '',
    companyId: null,
    deptId: null,
    year: '',
    year: '2025',
    fictionId: null,
    checkId: null,
    ratifyId: null,