祖安之光
7 天以前 d4534c231f7c25ca64d40c8bcaadf83f64b640c3
src/views/work/financialMng/qualityFinancialAnalysis/components/editDialog.vue
@@ -11,7 +11,7 @@
      <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules" label-position="top" label-width="120px" >
        <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"
@@ -157,7 +157,7 @@
  form: {
    id: '',
    companyId: null,
    year: "",
    year: "2025",
    basic: "",
    synthesize: "",
    damage: "",
@@ -212,6 +212,7 @@
  state.isAdmin = userInfo.userType === 0;
  state.form.companyName = userInfo.companyName
  state.form.companyId = userInfo.companyId
  state.form.year = new Date().getFullYear().toString()
  if(state.isAdmin){
    state.companyList = companyList
    state.form.companyId = null
@@ -300,7 +301,7 @@
  state.form = {
    id: '',
    companyId: null,
    year: "",
    year: "2025",
    basic: "",
    synthesize: "",
    damage: "",