From da3dbb56388ae49097e50ded584ed2abb7f5022d Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 17 十月 2023 14:16:25 +0800
Subject: [PATCH] bug修复(5243)
---
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