From ec77d5b6a4d6be3423b7723cf5e1333f599b0751 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 04 三月 2024 17:58:19 +0800
Subject: [PATCH] 销售机会模块 新建操作的时候,销售阶段默认为初期沟通+销售预测的币种默认人民币+产品管理部分币种隐藏
---
src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue | 8 ++++++--
src/views/sales/salesOpportunity/index.vue | 3 ++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue b/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue
index 31c73aa..c35a201 100644
--- a/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue
+++ b/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue
@@ -316,13 +316,13 @@
<!-- 浜у搧绠$悊 -->
<div class="basic-info-title" style="display: flex">
浜у搧绠$悊
- <div style="margin-left: 400px">
+ <!-- <div style="margin-left: 400px">
甯佺
<el-select v-model="editConfig.infomation.currency" placeholder="璇烽�夋嫨" size="mini" style="width: 63%">
<el-option v-for="item in currencyOptions" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
- </div>
+ </div> -->
</div>
<div class="product-view">
<CommonFormTableView
@@ -746,6 +746,10 @@
this.businessTypeOptions = res.data.sale_type
this.oldCustomerMarketOptions = res.data.regular_customers
this.saleStageOptions = res.data.sale_stage
+ if (this.editConfig.title === "鏂板缓") {
+ this.editConfig.infomation.sale_stage_id=1
+ }
+
this.provinceOptions = res.data.province
this.regionOptions = res.data.region
this.possibleOptions = res.data.possibility
diff --git a/src/views/sales/salesOpportunity/index.vue b/src/views/sales/salesOpportunity/index.vue
index 26cbea2..4937bd8 100644
--- a/src/views/sales/salesOpportunity/index.vue
+++ b/src/views/sales/salesOpportunity/index.vue
@@ -249,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) {
@@ -352,6 +352,7 @@
this.editFollowupConfig.title = "鏂板缓"
this.editFollowupConfig.infomation = {
...row,
+ currency:1,
number: "",
sale_chance_name: row.name,
sale_chance_id: row.id
--
Gitblit v1.8.0