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/other/commonDialog/SelectContactDialog.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/other/commonDialog/SelectContactDialog.vue b/src/views/other/commonDialog/SelectContactDialog.vue index 5e3010e..5d97367 100644 --- a/src/views/other/commonDialog/SelectContactDialog.vue +++ b/src/views/other/commonDialog/SelectContactDialog.vue @@ -54,6 +54,7 @@ return { editVisible: false, title: "", + clientId: 0, infomation: {} } } @@ -73,14 +74,17 @@ search_map: {}, tableColumn: [ { label: "鑱旂郴浜哄鍚�", prop: "name", isContactClick: true, default: true }, // 鑱旂郴浜哄鍚� - { label: "鑱旂郴浜虹紪鍙�", prop: "number" }, // 鑱旂郴浜虹紪鍙� + // { label: "鑱旂郴浜虹紪鍙�", prop: "number" }, // 鑱旂郴浜虹紪鍙� { label: "瀹㈡埛鍚嶇О", prop: "client_name" }, // 瀹㈡埛鍚嶇О { label: "鎵嬫満", prop: "phone" } // 鎵嬫満鍙风爜 ], - showCol: ["鑱旂郴浜哄鍚�", "鑱旂郴浜虹紪鍙�", "瀹㈡埛鍚嶇О", "鎵嬫満"] + showCol: ["鑱旂郴浜哄鍚�", "瀹㈡埛鍚嶇О", "鎵嬫満"] } }, created() { + this.search_map = { + client_id: this.editConfig.clientId + } this.setTable() this.getData() }, @@ -121,8 +125,8 @@ this.loading = true await getContactList({ search_map: this.search_map, - page: 0, - pageSize: 0 + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize }) .then((res) => { console.log(res) @@ -134,7 +138,8 @@ client_name: item.Client.name } }) - this.tableList.tableInfomation = list.slice(0, 5) || [] + this.tableList.tableInfomation = list || [] + this.pagerOptions.totalCount = res.data.count } else { this.tableList.tableInfomation = [] } -- Gitblit v1.8.0