From 90943dd32237e9e1c9f0cd66e33b2145c26883ff Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 25 九月 2023 14:14:47 +0800
Subject: [PATCH] feat: 侧边栏样式调整; 表格组件样式调整; 新增搜索组件; 销售线索模块布局样式调整
---
src/views/sales/salesOpportunity/DetailOpportunity.vue | 39 +++++++++++++++++++++++++++------------
1 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/src/views/sales/salesOpportunity/DetailOpportunity.vue b/src/views/sales/salesOpportunity/DetailOpportunity.vue
index 52c94cd..553a7aa 100644
--- a/src/views/sales/salesOpportunity/DetailOpportunity.vue
+++ b/src/views/sales/salesOpportunity/DetailOpportunity.vue
@@ -22,7 +22,7 @@
<div>璺熻繘璁板綍<el-badge type="primary" :value="2"> </el-badge></div>
</template> -->
</el-tab-pane>
- <el-tab-pane label="鏀舵棰勬祴" name="collectionForecast"></el-tab-pane>
+ <!-- <el-tab-pane label="鏀舵棰勬祴" name="collectionForecast"></el-tab-pane> -->
<el-tab-pane label="鎶ヤ环鍗�" name="quotation"></el-tab-pane>
<el-tab-pane label="閿�鍞槑缁嗗崟" name="detail"></el-tab-pane>
<el-tab-pane label="鏈嶅姟鍚堝悓" name="serviceContract"></el-tab-pane>
@@ -240,19 +240,19 @@
</div> -->
</div>
<div v-if="activeName === 'second'" class="second">
- <FollowupRecords :isDetail="true" />
+ <FollowupRecords :isDetail="true" :add-config="addConfig" />
</div>
<div v-if="activeName === 'collectionForecast'" class="second">
<!-- <SalesOpportunity :isDetail="true" /> -->
</div>
<div v-if="activeName === 'quotation'" class="second">
- <Quotation :isDetail="true" />
+ <Quotation :isDetail="true" :add-config="addConfig" />
</div>
<div v-if="activeName === 'detail'" class="second">
- <SalesDetails :isDetail="true" />
+ <SalesDetails :isDetail="true" :add-config="addConfig" />
</div>
<div v-if="activeName === 'serviceContract'" class="second">
- <ServiceContract :isDetail="true" />
+ <ServiceContract :isDetail="true" :add-config="addConfig" />
</div>
</div>
<!-- 鎺ㄨ繘 -->
@@ -311,10 +311,25 @@
active: "",
allOptions: [],
options: []
- }
+ },
+ addConfig: {}
}
},
created() {
+ this.setData(this.detailConfig.infomation)
+ this.addConfig = {
+ id_name: "sale_chance_id",
+ keywordType: "閿�鍞満浼�",
+ keyword: this.detailConfig.infomation.name,
+ id: this.detailConfig.infomation.id,
+ common_name: this.detailConfig.infomation.name,
+ client_name: this.detailConfig.infomation.client.name,
+ contact_name: this.detailConfig.infomation.contact_name,
+ client_id: this.detailConfig.infomation.client_id,
+ contact_id: this.detailConfig.infomation.contact_id,
+ sale_chance_name: this.detailConfig.infomation.name,
+ sale_chance_id: this.detailConfig.infomation.id
+ }
this.getSaleStageList()
this.setData(this.detailConfig.infomation)
},
@@ -346,7 +361,7 @@
},
{
leftStr: "鍟嗘満鏉ユ簮",
- leftValue: item.SalesSources.name,
+ leftValue: item.sales_sources.name,
rightStr: "鍟嗘満绫诲瀷",
rightValue: "" // item.SaleType.name
},
@@ -359,19 +374,19 @@
{
leftStr: "鑰佸鎴疯惀閿�",
leftValue: item.regular_customers_id,
- rightStr: "绛惧埌",
+ rightStr: "瀹℃壒鐘舵��",
rightValue: ""
},
{
- leftStr: "瀹℃壒鐘舵��",
+ leftStr: "绔炰簤瀵规墜",
leftValue: "",
- rightStr: "绔炰簤瀵规墜",
+ rightStr: "鍒涘缓浜�",
rightValue: ""
},
{
- leftStr: "鍒涘缓浜�",
+ leftStr: "鍒涘缓鏃堕棿",
leftValue: "",
- rightStr: "鍒涘缓鏃堕棿",
+ rightStr: "",
rightValue: ""
}
]
--
Gitblit v1.8.0