|
|
@@ -32,19 +32,23 @@
|
|
|
<nuxt-link :to="'/store/' + compGoods.storeId" class="contact" :title="compGoods.storeName" target="_blank">{{compGoods.storeName}}</nuxt-link>
|
|
|
</td>
|
|
|
<td class="brand-code">
|
|
|
- <div class="brand"><nuxt-link :to="`/product/brand/${compGoods.brand.uuid}/`" title="compGoods.brand.nameEn">{{compGoods.brand.nameEn}}</nuxt-link></div>
|
|
|
- <div class="code"><nuxt-link :to="`/product/component/${compGoods.uuid}/`" :title="compGoods.code">{{compGoods.code}}</nuxt-link></div>
|
|
|
+ <div class="brand" v-if="compGoods.brand.nameEn"><nuxt-link :to="`/product/brand/${compGoods.brand.uuid}/`" title="compGoods.brand.nameEn">{{compGoods.brand.nameEn}}</nuxt-link></div>
|
|
|
+ <div class="brand" v-if="!compGoods.brand.nameEn">—</div>
|
|
|
+ <div class="code" v-if="compGoods.code"><nuxt-link :to="`/product/component/${compGoods.uuid}/`" :title="compGoods.code">{{compGoods.code}}</nuxt-link></div>
|
|
|
+ <div class="code" v-if="!compGoods.code">—</div>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div class="package">{{compGoods.packaging || '暂无包装方式信息'}}</div>
|
|
|
- <div class="date">{{compGoods.produceDate || '-'}}</div>
|
|
|
+ <div class="package" v-if="compGoods.packaging">{{compGoods.packaging}}</div>
|
|
|
+ <div v-if="!compGoods.produceDate && !compGoods.packaging">—</div>
|
|
|
+ <div class="date" v-if="compGoods.produceDate">{{compGoods.produceDate}}</div>
|
|
|
</td>
|
|
|
<td class="text-left">
|
|
|
- <div class="goods">
|
|
|
- 库存:<span>{{compGoods.reserve || '暂无库存'}}</span>
|
|
|
+ <div class="goods" v-if="compGoods.reserve">
|
|
|
+ 库存:<span>{{compGoods.reserve}}</span>
|
|
|
</div>
|
|
|
- <div class="from" v-if="compGoods.reserve > 0">
|
|
|
- 起拍:<span>{{compGoods.minBuyQty}}</span>
|
|
|
+ <div v-if="!compGoods.reserve" style="text-align: center;margin-left: 0;"><span>—</span></div>
|
|
|
+ <div class="from" v-if="compGoods.reserve && compGoods.reserve > 0">
|
|
|
+ 起拍:<span v-if="compGoods.minBuyQty">{{compGoods.minBuyQty}}</span>
|
|
|
</div>
|
|
|
<!--<div class="multiple" v-if="compGoods.reserve > 0">
|
|
|
倍数:<span>{{compGoods.minPackQty}}</span>
|