From 01cea4bc73210e43f748d82a02a432cce615be2d Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 24 十月 2023 17:52:04 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into wn

---
 src/views/sales/contractManage/DetailContractManage.vue |   94 +++++++++++++++++++++++-----------------------
 1 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/src/views/sales/contractManage/DetailContractManage.vue b/src/views/sales/contractManage/DetailContractManage.vue
index 9e9b700..8f8c860 100644
--- a/src/views/sales/contractManage/DetailContractManage.vue
+++ b/src/views/sales/contractManage/DetailContractManage.vue
@@ -9,12 +9,12 @@
     >
       <template slot="title">
         <div class="header">
-          <span class="header-label">鍗曟嵁缂栧彿</span>
-          <span class="header-title">{{ detailConfig.infomation.name }}</span>
+          <span class="header-label">鍚堝悓绠$悊</span>
+          <span class="header-title">{{ detailConfig.infomation.number }}</span>
         </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,20 +35,20 @@
               </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>
-            <el-tab-pane label="闄勪欢绠$悊" name="annex">
-              <!-- <template slot="label">
+            <!-- <el-tab-pane label="闄勪欢绠$悊" name="annex"> -->
+            <!-- <template slot="label">
                 <div>璺熻繘璁板綍<el-badge type="primary" :value="2"> </el-badge></div>
               </template> -->
-            </el-tab-pane>
+            <!-- </el-tab-pane> -->
           </el-tabs>
         </div>
         <div v-if="activeName === 'first'" class="detail">
           <!-- 杩涘害杩借釜 -->
-          <div class="basic-info">
+          <!-- <div class="basic-info">
             <div class="basic-info-label" @click="expandClick('schdule')">
               <i v-if="isSchduleExpand" class="el-icon-arrow-down"></i>
               <i v-else class="el-icon-arrow-up"></i>
@@ -69,31 +69,31 @@
                 </el-steps>
               </div>
             </div>
-          </div>
-          <!-- 鏈轰細鍩烘湰淇℃伅 -->
+          </div> -->
+          <!-- 鍩烘湰淇℃伅 -->
           <div class="basic-info">
             <div class="basic-info-label" @click="expandClick('basic')">
               <i v-if="isBasicExpand" class="el-icon-arrow-down"></i>
               <i v-else class="el-icon-arrow-up"></i>
-              <span style="margin-left: 10px">鏈轰細鍩烘湰淇℃伅</span>
+              <span style="margin-left: 10px">鍩烘湰淇℃伅</span>
             </div>
             <div v-show="isBasicExpand" class="basic-info-content">
               <ul>
                 <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.serviceContractStatus.name
+        },
+        {
+          leftStr: "鍒涘缓浜�",
+          leftValue: "",
+          rightStr: "鍒涘缓鏃堕棿",
+          rightValue: item.created_at
+        },
+        {
+          leftStr: "鏈�鏂版洿鏂颁汉",
+          leftValue: "",
+          rightStr: "鏇存柊鏃堕棿",
           rightValue: ""
         },
+        // {
+        //   leftStr: "瀹℃壒鐘舵��",
+        //   leftValue: "",
+        //   rightStr: "鏈�鏂板鎵规椂闂�",
+        //   rightValue: ""
+        // },
+        // {
+        //   leftStr: "涓婁竴姝ュ鎵逛汉",
+        //   leftValue: "",
+        //   rightStr: "褰撳墠瀹℃壒浜�",
+        //   rightValue: ""
+        // },
         {
           leftStr: "閿�鍞姤浠峰崟",
-          leftValue: "",
+          leftValue: item.quotation.number,
           rightStr: "",
           rightValue: ""
         }

--
Gitblit v1.8.0