src/views/sales/contractManage/index.vue
@@ -7,7 +7,7 @@
          :show-download="false"
          :amount-view="false"
          :show-action-btn="false"
          placeholder="请输入单据编号"
          placeholder="请输入合同名称或单据编号"
          @searchClick="onFilterSearch"
        >
          <template slot="leftButton">
@@ -102,18 +102,15 @@
      },
      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() {
@@ -160,7 +157,7 @@
    async getData() {
      this.loading = true
      await getContractList({
        search_map: this.search_map,
        keyword:this.keyword,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
@@ -195,7 +192,7 @@
    },
    // 搜索
    onFilterSearch(searchText) {
      this.search_map.number = searchText ?? ""
      this.keyword=searchText
      this.pagerOptions.currPage = 1
      this.getData()
    },
@@ -245,7 +242,7 @@
    },
    // 合同管理详情
    selCommonClick(row) {
      console.log(row)
      console.log(row,"合同详情")
      this.contractDetail.visible = true
      this.contractDetail.infomation = { ...row }
    }