| | |
| | | :show-download="false" |
| | | :amount-view="false" |
| | | :show-action-btn="false" |
| | | placeholder="请输入单据编号" |
| | | placeholder="请输入合同名称或单据编号" |
| | | @searchClick="onFilterSearch" |
| | | > |
| | | <template slot="leftButton"> |
| | |
| | | }, |
| | | selValueList: [], |
| | | search_map: {}, |
| | | searchSel: { |
| | | value: "number", |
| | | label: "单据编号" |
| | | }, |
| | | tableColumn: [ |
| | | { label: "单据编号", prop: "number", min: 120, isCommonClick: true, default: true }, |
| | | { label: "合同名称", prop: "contractName", min: 120, isCommonClick: true, default: true }, |
| | | { label: "负责人", prop: "member_name", min: 90 }, |
| | | { label: "客户名称", prop: "client_name" }, |
| | | { label: "合同状态", prop: "serviceContractStatus_name", min: 100 }, |
| | | { label: "创建时间", prop: "created_at" } |
| | | ], |
| | | showCol: ["单据编号", "负责人", "客户名称", "合同状态", "创建时间"] |
| | | showCol: ["合同名称", "负责人", "客户名称", "合同状态", "创建时间"], |
| | | keyword:'' |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | async getData() { |
| | | this.loading = true |
| | | await getContractList({ |
| | | search_map: this.search_map, |
| | | keyword:this.keyword, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }) |
| | |
| | | }, |
| | | // 搜索 |
| | | onFilterSearch(searchText) { |
| | | this.search_map.number = searchText ?? "" |
| | | this.keyword=searchText |
| | | this.pagerOptions.currPage = 1 |
| | | this.getData() |
| | | }, |
| | |
| | | }, |
| | | // 合同管理详情 |
| | | selCommonClick(row) { |
| | | console.log(row) |
| | | console.log(row,"合同详情") |
| | | this.contractDetail.visible = true |
| | | this.contractDetail.infomation = { ...row } |
| | | } |