shish 1 anno fa
parent
commit
060b30effc
2 ha cambiato i file con 5 aggiunte e 6 eliminazioni
  1. 2 3
      hdApp/src/admin/home/workbench.vue
  2. 3 3
      hdApp/src/pagesPurchase/order.vue

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

@@ -256,7 +256,7 @@
 
   </template>
   <block v-else>
-    <emptyComponent title="暂无供货商" :is-empty="$util.isEmpty(supplierList)" />
+    <view style="margin:60upx auto 40upx auto;font-weight:bold;font-size:36upx;text-align: center;">暂无供货商</view>
   </block>
 
   <view style="text-align:center;margin-top:50upx;margin-bottom:182upx;color:#827171;font-size:28upx;">
@@ -290,14 +290,13 @@ import { getStat,getStrokeCount } from '@/api/console'
 import { consoleIndex } from "@/api/workbench";
 import NotLogin from "@/components/not-login";
 import autoUpdateMixins from "@/mixins/autoUpdate";
-import emptyComponent from "@/components/empty";
 import { ghsList } from "@/api/purchase";
 import { changeDelStatus } from "@/api/ghs";
 import {currentShop} from "@/api/shop";
 import { clearLogin,hasNotice } from "@/api/admin";
 export default {
   name: "workbench",
-  components: { NotLogin,emptyComponent },
+  components: { NotLogin },
   mixins: [autoUpdateMixins],
   data () {
     return {

+ 3 - 3
hdApp/src/pagesPurchase/order.vue

@@ -9,7 +9,7 @@
     </block>
   </template>
 
-      <view class="ghs_list_area flex-col justify-end">
+      <view class="ghs_list_area flex-col justify-end" v-if="!$util.isEmpty(supplierList)">
 
             <view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">
               <view class="image-text_7 flex-row justify-between">
@@ -113,6 +113,8 @@
 
         </view>
 
+        <view v-else style="margin:60upx auto 40upx auto;font-weight:bold;font-size:36upx;text-align: center;">暂无供货商</view>
+
         <view style="text-align:center;margin-top:50upx;margin-bottom:182upx;color:#827171;font-size:28upx;">
           <text style="margin-right:20upx;">中花汇提供技术</text>
           <text style="margin-right:20upx;">|</text>
@@ -136,13 +138,11 @@
 </template>
 <script>
 import { mapGetters } from "vuex";
-import emptyComponent from "@/components/empty";
 import { ghsList } from "@/api/purchase";
 import { changeDelStatus } from "@/api/ghs";
 import { hasNotice } from "@/api/admin";
 export default {
   components: {
-    emptyComponent
   },
   data () {
     return {