From 0f8844dcb400fcdee4ea7831336a6aff382a8cc2 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:59:16 +0800
Subject: [PATCH] fix: 修复搜索供应商列表结果为空时产品列表不为空的bug, 修复产品列表翻页后搜索供应商时产品列表页码未重置的bug, 修复供应商列表/产品列表/采购订单/质检单/退货单翻页后再搜索页码未重置的bug

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

diff --git a/src/views/productManage/product/DetailProduct.vue b/src/views/productManage/product/DetailProduct.vue
index 6a628ad..6a687d7 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
         }
       ]
     },

--
Gitblit v1.8.0