yangfeng
2023-11-30 6050b02cd808a9af2070d61e3b278e3407b845ca
src/views/sales/contractManage/index.vue
@@ -113,7 +113,8 @@
        { label: "合同状态", prop: "serviceContractStatus_name", min: 100 },
        { label: "创建时间", prop: "created_at" }
      ],
      showCol: ["单据编号", "负责人", "客户名称", "合同状态", "创建时间"]
      showCol: ["单据编号", "负责人", "客户名称", "合同状态", "创建时间"],
      keyword:''
    }
  },
  created() {
@@ -160,7 +161,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 +196,7 @@
    },
    // 搜索
    onFilterSearch(searchText) {
      this.search_map.number = searchText ?? ""
      this.keyword=searchText
      this.pagerOptions.currPage = 1
      this.getData()
    },
@@ -221,7 +222,7 @@
        type: "warning"
      })
        .then(() => {
          getDelContract({ ids: [id] }).then((response) => {
          getDelContract(id).then((response) => {
            if (response.code === 200) {
              this.$message.success("删除成功")
              this.getData()