From d4f4c52402b91cb8e17c1845da71c5e39662fde0 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 03 一月 2024 15:28:06 +0800
Subject: [PATCH] 销售报价单列表页增加统计内容及接口联调、添加报价单天天客户名称及对应限制功能

---
 src/views/sales/contractManage/index.vue |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/views/sales/contractManage/index.vue b/src/views/sales/contractManage/index.vue
index 8976ada..75bafd9 100644
--- a/src/views/sales/contractManage/index.vue
+++ b/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 }
     }

--
Gitblit v1.8.0