From bd42b949807795c581e9193d92834a6187fc10d2 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 15 八月 2023 18:42:59 +0800
Subject: [PATCH] 销售管理模块联调
---
src/views/sales/contractManage/DetailContractManage.vue | 76 +++++++++++++++++++-------------------
1 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/src/views/sales/contractManage/DetailContractManage.vue b/src/views/sales/contractManage/DetailContractManage.vue
index 9e9b700..7937296 100644
--- a/src/views/sales/contractManage/DetailContractManage.vue
+++ b/src/views/sales/contractManage/DetailContractManage.vue
@@ -14,7 +14,7 @@
</div>
</template>
<div class="content">
- <div class="top">
+ <!-- <div class="top">
<ul>
<li v-for="(item, i) in topList" :key="i">
<div class="left1">
@@ -35,7 +35,7 @@
</div>
</li>
</ul>
- </div>
+ </div> -->
<div class="tab-view">
<el-tabs v-model="activeName" @tab-click="tabsClick">
<el-tab-pane label="璇︽儏" name="first"></el-tab-pane>
@@ -82,18 +82,18 @@
<li v-for="(item, i) in basicInfoList" :key="i">
<div class="left">
<div class="content-title">{{ item.leftStr + "锛�" }}</div>
- <div class="content-data">{{ item.leftValue }}</div>
+ <div class="content-data">{{ item.leftValue ? item.leftValue : "--" }}</div>
</div>
- <div class="right">
- <div class="content-title">{{ item.rightStr }}</div>
- <div class="content-data">{{ item.rightValue }}</div>
+ <div v-if="item.rightStr" class="right">
+ <div class="content-title">{{ item.rightStr + "锛�" }}</div>
+ <div class="content-data">{{ item.rightValue ? item.rightValue : "--" }}</div>
</div>
</li>
</ul>
</div>
</div>
<!-- 闄勪欢淇℃伅 -->
- <div class="basic-info">
+ <!-- <div class="basic-info">
<div class="basic-info-label" @click="expandClick('annex')">
<i v-if="isAnnexExpand" class="el-icon-arrow-down"></i>
<i v-else class="el-icon-arrow-up"></i>
@@ -109,7 +109,7 @@
</li>
</ul>
</div>
- </div>
+ </div> -->
</div>
<div v-if="activeName === 'annex'" class="second">
<!-- <FollowupRecords :isDetail="true" /> -->
@@ -161,11 +161,11 @@
}
},
created() {
- this.setData()
+ this.setData(this.detailConfig.infomation)
},
mounted() {},
methods: {
- setData() {
+ setData(item) {
this.topList = [
{
left1Str: "鍗曟嵁缂栧彿",
@@ -201,43 +201,43 @@
this.basicInfoList = [
{
leftStr: "瀹㈡埛鍚嶇О",
- leftValue: "",
+ leftValue: item.client.name,
rightStr: "鍗曟嵁缂栧彿",
- rightValue: ""
+ rightValue: item.number
},
{
leftStr: "璐熻矗浜�",
- leftValue: "",
- rightStr: "鍒涘缓浜�",
- rightValue: ""
- },
- {
- leftStr: "鍒涘缓鏃堕棿",
- leftValue: "",
- rightStr: "鏈�鏂版洿鏂颁汉",
- rightValue: ""
- },
- {
- leftStr: "鏇存柊鏃堕棿",
- leftValue: "",
- rightStr: "瀹℃壒鐘舵��",
- rightValue: ""
- },
- {
- leftStr: "鏈�鏂板鎵规椂闂�",
- leftValue: "",
- rightStr: "涓婁竴姝ュ鎵逛汉",
- rightValue: ""
- },
- {
- leftStr: "褰撳墠瀹℃壒浜�",
- leftValue: "",
+ leftValue: item.member.username,
rightStr: "鍚堝悓鐘舵��",
+ rightValue: item.statusId
+ },
+ {
+ leftStr: "鍒涘缓浜�",
+ leftValue: "",
+ rightStr: "鍒涘缓鏃堕棿",
rightValue: ""
},
+ {
+ leftStr: "鏈�鏂版洿鏂颁汉",
+ leftValue: "",
+ rightStr: "鏇存柊鏃堕棿",
+ rightValue: ""
+ },
+ // {
+ // leftStr: "瀹℃壒鐘舵��",
+ // leftValue: "",
+ // rightStr: "鏈�鏂板鎵规椂闂�",
+ // rightValue: ""
+ // },
+ // {
+ // leftStr: "涓婁竴姝ュ鎵逛汉",
+ // leftValue: "",
+ // rightStr: "褰撳墠瀹℃壒浜�",
+ // rightValue: ""
+ // },
{
leftStr: "閿�鍞姤浠峰崟",
- leftValue: "",
+ leftValue: item.quotation.number,
rightStr: "",
rightValue: ""
}
--
Gitblit v1.8.0