From 1abb22825fe46266bc2634a753164f0878c08e67 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 28 三月 2024 11:16:45 +0800
Subject: [PATCH] 销售明细单新建的表头配置功能问题修改+可编辑表格组件的样式调整+可配置表头之后小计功能的显示逻辑修改

---
 src/views/sales/salesOpportunity/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/sales/salesOpportunity/index.vue b/src/views/sales/salesOpportunity/index.vue
index a1aab11..4937bd8 100644
--- a/src/views/sales/salesOpportunity/index.vue
+++ b/src/views/sales/salesOpportunity/index.vue
@@ -167,7 +167,7 @@
       this.search_map = {}
     } else {
       this.search_map = {
-        [this.addConfig.id_name]: this.addConfig.client_name
+        [this.addConfig.id_name]: this.addConfig.id
       }
     }
     this.getData(this.search_map)
@@ -175,6 +175,7 @@
   methods: {
     setTable() {
       this.tableList = {
+        selectIndex:true,
         tableInfomation: [],
         allcol: [],
         showcol: this.showCol,
@@ -248,7 +249,7 @@
     addBtnClick() {
       this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
-      this.editConfig.infomation = { city_id: 0, ...this.addConfig }
+      this.editConfig.infomation = { city_id: 0, ...this.addConfig,currency:1,}
     },
     // 缂栬緫
     handleClick(row) {
@@ -348,14 +349,16 @@
     // 璺熻繘
     followupClick(row) {
       console.log(row)
-      this.editFollowupConfig.visible = true
       this.editFollowupConfig.title = "鏂板缓"
       this.editFollowupConfig.infomation = {
         ...row,
+        currency:1,
         number: "",
         sale_chance_name: row.name,
         sale_chance_id: row.id
       }
+      this.editFollowupConfig.infomation.codeStandID=''
+      this.editFollowupConfig.visible = true
     }
   }
 }

--
Gitblit v1.8.0