|
|
@@ -60,28 +60,33 @@
|
|
|
</nuxt-link>
|
|
|
</td>
|
|
|
<td class="brand-code">
|
|
|
- <div class="brand"><nuxt-link :to="`/product/brand/${item.brand.uuid}`" class="text-num" v-text="item.brand.nameEn"></nuxt-link></div>
|
|
|
- <div class="code"><nuxt-link :to="`/product/component/${item.uuid}`" class="f16 text-bold text-num" v-text="item.code"></nuxt-link></div>
|
|
|
- <div class="brand"><nuxt-link :to="`/product/kind/${item.kindid}`" v-text="item.kind.nameCn">
|
|
|
- </nuxt-link></div>
|
|
|
+ <div class="brand" v-if="item.brand.nameEn"><nuxt-link :to="`/product/brand/${item.brand.uuid}`" class="text-num" v-text="item.brand.nameEn"></nuxt-link></div>
|
|
|
+ <div class="brand" v-if="!item.brand.nameEn">—</div>
|
|
|
+ <div class="code" v-if="item.code"><nuxt-link :to="`/product/component/${item.uuid}`" class="f16 text-bold text-num" v-text="item.code"></nuxt-link></div>
|
|
|
+ <div class="brand" v-if="!item.code">—</div>
|
|
|
+ <div class="brand" v-if="item.kind.nameCn"><nuxt-link :to="`/product/kind/${item.kindid}`" v-text="item.kind.nameCn"></nuxt-link></div>
|
|
|
+ <div class="brand" v-if="!item.kind.nameCn">—</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div class="package" v-text="item.packaging?item.packaging:'暂无包装方式信息'"></div>
|
|
|
+ <div class="package" v-text="item.packaging"></div>
|
|
|
<div class="date" v-text="item.produceDate"></div>
|
|
|
+ <div v-if="!item.packaging && !item.produceDate">—</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div>
|
|
|
+ <div v-if="item.storeName">
|
|
|
<nuxt-link :to="'/store/' + item.storeId" v-text="item.storeName">
|
|
|
</nuxt-link>
|
|
|
- <span v-if="!item.storeName">—</span>
|
|
|
</div>
|
|
|
+ <div v-if="!item.storeName">—</div>
|
|
|
</td>
|
|
|
<td class="text-left">
|
|
|
<div class="goods">
|
|
|
- 库存:<span v-text="item.reserve || '暂无库存'"></span>
|
|
|
+ 库存:<span v-text="item.reserve" v-if="item.reserve"></span>
|
|
|
+ <span v-if="!item.reserve">—</span>
|
|
|
</div>
|
|
|
<div class="from" v-if="item.reserve > 0">
|
|
|
- 起拍:<span v-text="item.minBuyQty"></span>
|
|
|
+ 起拍:<span v-text="item.minBuyQty" v-if="item.minBuyQty"></span>
|
|
|
+ <span v-if="!item.minBuyQty">—</span>
|
|
|
</div>
|
|
|
<!-- <div class="multiple" v-if="item.reserve > 0">
|
|
|
倍数:<span v-text="item.minPackQty"></span>
|