Browse Source

资料库

zhengjinyi 4 years ago
parent
commit
8986e39c4c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/templates/document/list.html

+ 3 - 3
src/main/resources/templates/document/list.html

@@ -34,9 +34,9 @@
                     <div class="list-item-top" :class="item.isShowDowns ? 'none' : ''">
                         <div class="image" @click="productDetails(item.productId)"><img :src="item.mainImage ? item.mainImage : '/img/base/placeholder.png'" alt=""></div>
                         <div class="main">
-                            <h1 @click="supplierDetails(item.shopId)">供应商: <span>{{ item.shopName }}</span> </h1>
-                            <p @click="productDetails(item.productId)">商品名称: <span>{{ item.productName }}</span> </p>
-                            <p>资料库名称: <span>{{ item.name }}</span> </p>
+                            <h1 @click="supplierDetails(item.shopId)">供应商: <span>{{ item.shopName ? item.shopName : '暂无' }}</span> </h1>
+                            <p @click="productDetails(item.productId)">商品名称: <span>{{ item.productName ? item.productName : '暂无' }}</span> </p>
+                            <p>资料库名称: <span>{{ item.name ? item.name : '暂无' }}</span> </p>
                         </div>
                         <i class="icon mIcon" v-if="item.pdfList.length>0.0" @click="showPdfList(item)" :class="item.isShowDowns ? 'top' : ''"></i>
                     </div>