From 96fdf32bd5612b6c16dcbcc8352a9f54adcc8e7e Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 18 八月 2023 16:26:59 +0800
Subject: [PATCH] 產品相關及bug修復
---
src/views/client/salesLead/DetailSalesLead.vue | 56 +++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 41 insertions(+), 15 deletions(-)
diff --git a/src/views/client/salesLead/DetailSalesLead.vue b/src/views/client/salesLead/DetailSalesLead.vue
index 4a7745e..8a3a847 100644
--- a/src/views/client/salesLead/DetailSalesLead.vue
+++ b/src/views/client/salesLead/DetailSalesLead.vue
@@ -61,6 +61,10 @@
</div>
</li>
</ul>
+ <div class="business_scope">
+ <div class="content-title">{{ "鏈�鏂拌繘灞�" }}</div>
+ <div class="content-data">{{ record ? record : "--" }}</div>
+ </div>
</div>
</div>
<!-- 鍦板潃淇℃伅 -->
@@ -145,11 +149,12 @@
addressInfoList: [],
isRemarkExpand: true, // 澶囨敞淇℃伅
remarkInfoList: [],
- addConfig: {}
+ addConfig: {},
+ record: ""
}
},
created() {
- this.setData()
+ this.setData(this.detailConfig.infomation)
this.addConfig = {
id_name: "sales_leads_id",
id: this.detailConfig.infomation.id,
@@ -160,31 +165,34 @@
},
mounted() {},
methods: {
- setData() {
+ setData(item) {
+ if (item.FollowRecord && item.FollowRecord.length > 0) {
+ this.record = item.FollowRecord[0].record
+ }
this.basicInfoList = [
{
leftStr: "瀹㈡埛鍚嶇О",
- leftValue: this.detailConfig.infomation.name,
+ leftValue: item.name,
rightStr: "閿�鍞嚎绱㈢紪鍙�",
- rightValue: this.detailConfig.infomation.number
+ rightValue: item.number
},
{
leftStr: "鑱旂郴浜哄鍚�",
- leftValue: this.detailConfig.infomation.contact_name,
+ leftValue: item.contact_name,
rightStr: "鑱旂郴浜鸿亴鍔�",
- rightValue: this.detailConfig.infomation.contact_position
+ rightValue: item.contact_position
},
{
leftStr: "鎵嬫満鍙风爜",
- leftValue: this.detailConfig.infomation.contact_phone,
+ leftValue: item.contact_phone,
rightStr: "鍟嗘満鐘舵��",
rightValue: "鏂板缓"
},
{
leftStr: "鍟嗘満鏉ユ簮",
- leftValue: this.detailConfig.infomation.sales_resources,
+ leftValue: item.sales_resources,
rightStr: "璐熻矗浜�",
- rightValue: this.detailConfig.infomation.member_name
+ rightValue: item.member_name
},
{
leftStr: "鍒嗛厤鏃ユ湡",
@@ -209,13 +217,13 @@
{
leftStr: "鏈仈绯诲ぉ鏁�",
leftValue: "",
- rightStr: "鏈�鏂版帹杩涙椂闂�",
+ rightStr: "鏈�鏂拌仈绯绘棩鏈�",
rightValue: ""
},
{
leftStr: "鏈�鏂拌繘灞�",
- leftValue: "",
- rightStr: "鏈�鏂拌仈绯绘棩鏈�",
+ leftValue: this.record,
+ rightStr: "",
rightValue: ""
}
]
@@ -224,11 +232,11 @@
leftStr: "鍥藉",
leftValue: "涓浗",
rightStr: "鐪佷唤",
- rightValue: this.detailConfig.infomation.Province.name
+ rightValue: item.Province.name
},
{
leftStr: "鍩庡競",
- leftValue: this.detailConfig.infomation.City.name,
+ leftValue: item.City.name,
rightStr: "",
rightValue: ""
}
@@ -335,6 +343,24 @@
width: 100%;
}
}
+ .business_scope {
+ display: flex;
+ align-items: center;
+ font-size: 14px;
+ min-height: 40px;
+ .content-title {
+ width: 320px;
+ text-align: right;
+ color: #555;
+ }
+ .content-data {
+ flex: 1;
+ padding: 5px;
+ text-align: left;
+ margin-left: 25px;
+ color: #333;
+ }
+ }
}
}
}
--
Gitblit v1.8.0