| | |
| | | label-width="80px" |
| | | :inline="true" |
| | | > |
| | | <el-form-item label="单位名称" prop="cnName"> |
| | | <!-- <el-input v-model="form.cnName" placeholder="请输入中文名称" /> --> |
| | | <el-select |
| | | :remote-method="getRemoteData" |
| | | v-model="form.cnName" |
| | | remote |
| | | default-first-option |
| | | allow-create |
| | | filterable |
| | | style="width: 200px" |
| | | placeholder="请选择单位名称" |
| | | clearable |
| | | @change="idFn1" |
| | | > |
| | | <el-option |
| | | v-for="dict in CompanyList" |
| | | :key="dict.cnName" |
| | | :label="dict.cnName" |
| | | :value="dict.drugManufacturerId" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="合同类型" prop="htlx"> |
| | | <el-select |
| | | v-model="form.htlx" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | |
| | | <el-form-item label="企业名称" prop="qymc"> |
| | | <el-input |
| | | placeholder="请输入企业名称" |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="合同金额" prop="htje"> |
| | | <el-form-item label="合同金额" prop="htje"> |
| | | <el-input |
| | | placeholder="请输入合同金额" |
| | | v-model="form.htje" |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | |
| | | |
| | | <el-form-item label="续签标志" prop="xqbz"> |
| | | <el-input |
| | | placeholder="请输入续签合同标志" |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | |
| | | <el-form-item label="开票名称" prop="kpmc"> |
| | | <el-input |
| | | placeholder="请输入开票名称" |
| | | v-model="form.kpmc" |
| | | clearable |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="开票税号" prop="kpsh"> |
| | | <el-input |
| | | placeholder="请输入开票税号" |
| | | v-model="form.kpsh" |
| | | clearable |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input |
| | |
| | | |
| | | <script> |
| | | // import { getList, addhtxxb, edithtxxb, delhtxxb } from "@/api/account/contract"; |
| | | import { getZybCompList, queryCompany, getconfigKey, getCompany } from "@/api/team/tuanti"; |
| | | import { |
| | | getZybCompList, |
| | | queryCompany, |
| | | getconfigKey, |
| | | getCompany, |
| | | } from "@/api/team/tuanti"; |
| | | |
| | | import { |
| | | addDept, |
| | |
| | | this.loading = false; |
| | | }); */ |
| | | |
| | | // 获取单位信息集合 |
| | | // 获取单位信息集合 |
| | | getCompany(this.queryParam).then((response) => { |
| | | this.CompanyList = response.data; |
| | | }); |
| | |
| | | }); |
| | | }, |
| | | |
| | | // 体检公司拼音搜索 |
| | | // 体检公司拼音搜索 |
| | | getRemoteData(query) { |
| | | if (query) { |
| | | let compName = query; |
| | | queryCompany(compName).then((response) => { |
| | | console.log(response,123); |
| | | |
| | | console.log(response, 123); |
| | | |
| | | this.CompanyList = response.data; |
| | | }); |
| | | } |
| | |
| | | cancel() { |
| | | this.open = false; |
| | | this.reset(); |
| | | // this.getList(); |
| | | // this.getList(); |
| | | }, |
| | | |
| | | // 搜索 |
| | |
| | | this.open = true; |
| | | |
| | | this.title = "合同信息详情"; |
| | | |
| | | this.form = { |
| | | ...row, |
| | | cnName: row.drugManufacturerId, // 确保这里是 ID |
| | | }; |
| | | }, |
| | | |
| | | handleDelete(row) { |