shish 4 сар өмнө
parent
commit
8278cdaf03

+ 3 - 3
hdApp/src/admin/home/workbench.vue

@@ -182,7 +182,7 @@
         <!-- 中间供货商列表 -->
         <!-- 中间供货商列表 -->
         <view class="supplier-notice-content">
         <view class="supplier-notice-content">
           <view class="supplier-list">
           <view class="supplier-list">
-            <view class="supplier-item" v-for="(supplier, index) in displaySupplierList" :key="index">
+            <view class="supplier-item" v-for="(supplier, index) in displayGhsList" :key="index">
               <view class="supplier-icon">🏪</view>
               <view class="supplier-icon">🏪</view>
               <text class="supplier-name">{{ supplier.name }}</text>
               <text class="supplier-name">{{ supplier.name }}</text>
             </view>
             </view>
@@ -240,7 +240,7 @@
         backAction:'',
         backAction:'',
         lookMoney:1,
         lookMoney:1,
         currentGhs:{},
         currentGhs:{},
-        displaySupplierList: [],// 用于显示在弹框中的供货商列表
+        displayGhsList: [],// 用于显示在弹框中的供货商列表
         shopInfo:[],
         shopInfo:[],
         urlNo:1,
         urlNo:1,
         shortUrlList:[],
         shortUrlList:[],
@@ -430,7 +430,7 @@
       // 显示供货商提示弹框
       // 显示供货商提示弹框
       showSupplierNotice() {
       showSupplierNotice() {
         // 设置要显示的供货商列表,最多显示5个
         // 设置要显示的供货商列表,最多显示5个
-        this.displaySupplierList = this.supplierList.filter(item => item.name).slice(0, 5)
+        this.displayGhsList = this.supplierList.filter(item => item.name).slice(0, 5)
         this.$refs.supplierNoticePopup.open('center')
         this.$refs.supplierNoticePopup.open('center')
       },
       },
       // 关闭供货商提示弹框
       // 关闭供货商提示弹框