From 8cda236d2e6fde10acfcf84d066479a115e7876e Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 16 十月 2023 19:43:16 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into wn

---
 src/views/client/salesLead/AdvanceDialog.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/client/salesLead/AdvanceDialog.vue b/src/views/client/salesLead/AdvanceDialog.vue
index 849f044..dfcfb56 100644
--- a/src/views/client/salesLead/AdvanceDialog.vue
+++ b/src/views/client/salesLead/AdvanceDialog.vue
@@ -95,18 +95,18 @@
   },
   methods: {
     setData(status) {
-      if (status === 1) {
-        this.options = ["鏂板缓", "澶辫触鍏抽棴", "鍗囩骇鍒板鎴�", "鍗囩骇鍒板鎴峰拰閿�鍞満浼�"]
-        this.value = "澶辫触鍏抽棴"
-        this.value1 = "澶辫触鍏抽棴"
-      } else if (status === -1) {
-        this.options = ["鏂板缓", "璺熻繘涓�", "鍗囩骇鍒板鎴�", "鍗囩骇鍒板鎴峰拰閿�鍞満浼�"]
-        this.value = "鍗囩骇鍒板鎴�"
-        this.value1 = "鍗囩骇鍒板鎴�"
-      } else {
+      if (status === 0) {
         this.options = ["璺熻繘涓�", "澶辫触鍏抽棴", "鍗囩骇鍒板鎴�", "鍗囩骇鍒板鎴峰拰閿�鍞満浼�"]
         this.value = "璺熻繘涓�"
         this.value1 = "璺熻繘涓�"
+      } else if (status === 1) {
+        this.options = ["澶辫触鍏抽棴", "鍗囩骇鍒板鎴�", "鍗囩骇鍒板鎴峰拰閿�鍞満浼�"]
+        this.value = "澶辫触鍏抽棴"
+        this.value1 = "澶辫触鍏抽棴"
+      } else if (status === -1) {
+        this.options = ["鍗囩骇鍒板鎴�", "鍗囩骇鍒板鎴峰拰閿�鍞満浼�"]
+        this.value = "鍗囩骇鍒板鎴�"
+        this.value1 = "鍗囩骇鍒板鎴�"
       }
     },
     handleClose() {
@@ -152,13 +152,14 @@
           type: "warning"
         })
           .then(() => {
-            this.editConfig.visible = true
             this.editConfig.title = "鏂板缓"
             this.editConfig.isSalesOpportunity = true
             this.editConfig.infomation = {
               ...this.commonConfig.infomation,
               sales_leads_id: this.commonConfig.infomation.id
             }
+            this.editConfig.infomation.codeStandID=''
+            this.editConfig.visible = true
           })
           .catch(() => {})
       }

--
Gitblit v1.8.0