| | |
| | | <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules" label-position="top" 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" |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | const selectValueCom = (val) => { |
| | | state.form.contractId = null |
| | | state.form.registrantId = null |
| | | state.form.legalPerson = null |
| | | state.companyList.forEach(item => { |
| | | if(item.name === val){ |
| | | state.form.companyId = item.id |
| | |
| | | getContractList() |
| | | getPeopleList() |
| | | } |
| | | |
| | | |
| | | const addProductTable = () => { |
| | | state.form.contractReviewRequires.push({}) |