|
|
@@ -12,11 +12,11 @@
|
|
|
<table class="table" v-if="activeTab == 0">
|
|
|
<thead>
|
|
|
<tr class="bgf7">
|
|
|
- <th width="300">类目(产品名称)</th>
|
|
|
- <th width="300">型号</th>
|
|
|
- <th width="300">规格</th>
|
|
|
- <th width="200">数据手册</th>
|
|
|
- <th width="200">操作</th>
|
|
|
+ <th width="350">类目(产品名称)</th>
|
|
|
+ <th width="350">型号</th>
|
|
|
+ <th width="350">规格</th>
|
|
|
+ <th width="250">规格书</th>
|
|
|
+ <!--<th width="200">操作</th>-->
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -24,10 +24,14 @@
|
|
|
<td><nuxt-link :to="'/product/kind/' + item.kindid"><span>{{item.kind.nameCn || '-'}}</span></nuxt-link></td>
|
|
|
<td><nuxt-link :to="'/product/component/' + item.uuid"><span>{{item.code}}</span></nuxt-link></td>
|
|
|
<td><span>{{item.spec || '-'}}</span></td>
|
|
|
- <td><a @click="toAttach(item.attach)"><button class="btn btn-default" :disabled="!item.attach" :class="{'disabledbtn':!item.attach}">Datasheet手册</button></a></td>
|
|
|
<td>
|
|
|
- <button class="btn btn-default disabledbtn" :disabled="true">申请样片</button>
|
|
|
+ <a v-if="item.attach" @click="toAttach(item.attach)"><img src="/images/store/common/pdf.png" alt=""/></a>
|
|
|
+ <span v-if="!item.attach">-</span>
|
|
|
</td>
|
|
|
+ <!--<td><a @click="toAttach(item.attach)"><button class="btn btn-default" :disabled="!item.attach" :class="{'disabledbtn':!item.attach}">Datasheet手册</button></a></td>-->
|
|
|
+ <!--<td>
|
|
|
+ <button class="btn btn-default disabledbtn" :disabled="true">申请样片</button>
|
|
|
+ </td>-->
|
|
|
</tr>
|
|
|
<tr v-if="!list.content || list.content.length === 0">
|
|
|
<td colspan="10" class="text-center">
|
|
|
@@ -51,24 +55,24 @@
|
|
|
<table class="table supper-table" v-if="activeTab == 1">
|
|
|
<thead>
|
|
|
<tr class="bgf7">
|
|
|
- <th width="100"></th>
|
|
|
- <th width="200">代理商</th>
|
|
|
- <th width="200">地址</th>
|
|
|
- <th width="110">电话</th>
|
|
|
- <th width="110">传真</th>
|
|
|
- <th width="110">邮箱</th>
|
|
|
- <th width="120">网址</th>
|
|
|
+ <!--<th width="100"></th>-->
|
|
|
+ <th width="210">代理商</th>
|
|
|
+ <th width="210">地址</th>
|
|
|
+ <th width="160">电话</th>
|
|
|
+ <th width="160">传真</th>
|
|
|
+ <th width="210">邮箱/网址</th>
|
|
|
+ <!--<th width="120">网址</th>-->
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr class="text-center" v-for="item in supplier.content">
|
|
|
- <td v-if="item.storeuuid">
|
|
|
+ <!--<td v-if="item.storeuuid">
|
|
|
<a class='add-link' :href="'/store/' + item.storeuuid">
|
|
|
<img :src="item.img || '/images/store/common/default.png'" alt="" class="showImg">
|
|
|
<img src="/images/store/common/goIn.png" alt="" class="goIn">
|
|
|
</a>
|
|
|
</td>
|
|
|
- <td v-if="!item.storeuuid"><img :src="item.img || '/images/store/common/default.png'" alt="" class="showImg"></td>
|
|
|
+ <td v-if="!item.storeuuid"><img :src="item.img || '/images/store/common/default.png'" alt="" class="showImg"></td>-->
|
|
|
<td :title='item.vendorName' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.vendorName || '-'}}</a></td>
|
|
|
<td :title='item.vendorName' v-if="!item.storeuuid">{{item.vendorName || '-'}}</td>
|
|
|
<td :title='item.detailAddress' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.detailAddress || '-'}}</a></td>
|
|
|
@@ -77,10 +81,16 @@
|
|
|
<td :title='item.tel' v-if="!item.storeuuid">{{item.tel || '-'}}</td>
|
|
|
<td :title='item.fax' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.fax || '-'}}</a></td>
|
|
|
<td :title='item.fax' v-if="!item.storeuuid">{{item.fax || '-'}}</td>
|
|
|
- <td :title='item.email' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.email || '-'}}</a></td>
|
|
|
- <td :title='item.email' v-if="!item.storeuuid">{{item.email || '-'}}</td>
|
|
|
- <td :title='item.website' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.website || '-'}}</a></td>
|
|
|
- <td :title='item.website' v-if="!item.storeuuid">{{item.website || '-'}}</td>
|
|
|
+ <td v-if="item.storeuuid">
|
|
|
+ <a :title='item.email' class='add-link' :href="'/store/' + item.storeuuid">{{item.email || '-'}}</a><br>
|
|
|
+ <a :title='item.website' class='add-link' :href="'/store/' + item.storeuuid">{{item.website || '-'}}</a>
|
|
|
+ </td>
|
|
|
+ <td v-if="!item.storeuuid">
|
|
|
+ <span :title='item.email'>{{item.email || '-'}}</span><br>
|
|
|
+ <span :title='item.website'>{{item.website || '-'}}</span>
|
|
|
+ </td>
|
|
|
+ <!-- <td :title='item.website' v-if="item.storeuuid"><a class='add-link' :href="'/store/' + item.storeuuid">{{item.website || '-'}}</a></td>
|
|
|
+ <td :title='item.website' v-if="!item.storeuuid">{{item.website || '-'}}</td>-->
|
|
|
</tr>
|
|
|
<tr v-if="!supplier.content || supplier.content.length === 0">
|
|
|
<td colspan="10" class="text-center">
|