From 8e5ec095fc4ba9cac7c91b681b06846d3e4155ae Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期一, 16 十月 2023 21:17:29 +0800
Subject: [PATCH] 销售明细,退货单、退款单根据客户进行筛选

---
 src/views/other/commonDialog/SelectChanceDialog.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/views/other/commonDialog/SelectChanceDialog.vue b/src/views/other/commonDialog/SelectChanceDialog.vue
index b0b114a..182923d 100644
--- a/src/views/other/commonDialog/SelectChanceDialog.vue
+++ b/src/views/other/commonDialog/SelectChanceDialog.vue
@@ -54,6 +54,7 @@
         return {
           editVisible: false,
           title: "",
+          clientId: 0,
           infomation: {}
         }
       }
@@ -82,6 +83,9 @@
     }
   },
   created() {
+    this.search_map = {
+      client_id: this.editConfig.clientId
+    }
     this.setTable()
     this.getData()
   },
@@ -121,7 +125,7 @@
     async getData() {
       this.loading = true
       await getSaleChanceList({
-        search_map: this.search_map,
+        search_map: this.editCommonConfig.search_map,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       })
@@ -198,9 +202,16 @@
   cursor: pointer;
 }
 .dialog-footer {
-  height: 40px;
-  line-height: 40px;
+  height: 50px;
+  line-height: 50px;
   color: red;
+  .btn-pager {
+    display: flex;
+    margin-top: 0px;
+    .page {
+      margin-left: auto;
+    }
+  }
 }
 ::v-deep {
   .input-with-select .el-input-group__prepend {

--
Gitblit v1.8.0