From 302858f921bed077ab54dd31102f086bfe1add3c Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 07 二月 2024 11:59:47 +0800
Subject: [PATCH] srm项目 系统参数设置的前端页面开发+增加相关路由+公共列表组件增加是否可以配置表头的逻辑

---
 src/views/productManage/product/DetailProduct.vue |   28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/src/views/productManage/product/DetailProduct.vue b/src/views/productManage/product/DetailProduct.vue
index 6a628ad..70d8732 100644
--- a/src/views/productManage/product/DetailProduct.vue
+++ b/src/views/productManage/product/DetailProduct.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="detail-view">
-    <el-drawer :visible.sync="detailConfig.visible" size="80%" :before-close="handleClose" :wrapperClosable="false">
+    <el-drawer :visible.sync="detailConfig.visible" size="80%" :before-close="handleClose">
       <template slot="title">
         <div class="header">
           <span class="header-label">浜у搧璇︽儏</span>
@@ -35,16 +35,16 @@
                   </div>
                 </li>
               </ul>
-              <div class="business_scope">
+              <!-- <div class="business_scope">
                 <div class="content-title">{{ "鍥剧墖锛�" }}</div>
                 <div class="bigImg-div">
                   <i class="el-icon-picture-outline icon" v-if="!valueUrl"></i>
                   <img class="bigImg" :src="valueUrl" v-if="valueUrl" />
                 </div>
-              </div>
+              </div> -->
               <div class="business_scope">
                 <div class="content-title">{{ "澶囨敞淇℃伅锛�" }}</div>
-                <div class="content-data">{{ record ? record : "--" }}</div>
+                <div class="content-data">{{ remark ? remark : "--" }}</div>
               </div>
             </div>
           </div>
@@ -81,7 +81,8 @@
       record: "", // 鏈�鏂拌繘灞�
       noContactDays: 0,
       newContactDays: "",
-      valueUrl: ""
+      valueUrl: "",
+      remark: this.commonDetail.infomation.remark
     }
   },
   created() {
@@ -113,27 +114,27 @@
         },
         {
           leftStr: "浜у搧绫诲埆",
-          leftValue: item.contact_name,
+          leftValue: item.productType,
           rightStr: "渚涘簲鍟�",
-          rightValue: item.contact_position
+          rightValue: item.supplier.name
         },
         {
           leftStr: "瑙勬牸",
-          leftValue: item.contact_phone,
+          leftValue: item.specifications,
           rightStr: "鍨嬪彿",
-          rightValue: "18513375588"
+          rightValue: item.modelNumber
         },
         {
           leftStr: "鍗曚綅",
-          leftValue: item.sales_resources,
+          leftValue: item.unit,
           rightStr: "浠锋牸",
-          rightValue: item.member_name
+          rightValue: item.purchasePrice
         },
         {
           leftStr: "鏈�浣庡簱瀛�",
-          leftValue: item.sales_resources,
+          leftValue: item.minimumStock,
           rightStr: "鏈�楂樺簱瀛�",
-          rightValue: ""
+          rightValue: item.maximumStock
         }
       ]
     },
@@ -171,6 +172,7 @@
 <!-- Add "scoped" attribute to limit CSS to this component only -->
 <style lang="scss" scoped>
 .detail-view {
+  z-index: 9999;
   .header {
     height: 56px;
     display: flex;

--
Gitblit v1.8.0