From 6be74fae87a57996e8cf1b8778ad16ddbb1f870b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 27 二月 2024 16:57:10 +0800
Subject: [PATCH] 如果销售机会,客户名称为空查询所有销售报价单列表,否则查对应报价单,如果客户名称为空查所有销售机会列表

---
 src/views/sales/subOrder/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/sales/subOrder/index.vue b/src/views/sales/subOrder/index.vue
index b1306d7..a26ce50 100644
--- a/src/views/sales/subOrder/index.vue
+++ b/src/views/sales/subOrder/index.vue
@@ -119,7 +119,7 @@
         infomation: {}
       },
       showSummary: {
-        show: true,
+        show: false,
         sumProp: ["productAmount"],
         mergeNumber: 6
       },
@@ -159,7 +159,7 @@
       this.search_map = {}
     } else {
       this.search_map = {
-        [this.addConfig.id_name]: this.addConfig.common_name
+        [this.addConfig.id_name]: this.addConfig.id
       }
     }
     this.getData(this.search_map)
@@ -167,6 +167,7 @@
   methods: {
     setTable() {
       this.tableList = {
+        selectIndex:true,
         tableInfomation: [],
         allcol: [],
         showcol: this.showCol,

--
Gitblit v1.8.0