|
|
@@ -46,12 +46,12 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody class="text-center">
|
|
|
- <tr style="cursor: pointer;" v-for="list in storeList.content">
|
|
|
- <td><a :href="'/store/' + list.storeid + '/' + list.batchCode">{{list.code}}</a></td>
|
|
|
- <td><a :href="'/store/' + list.storeid + '/' + list.batchCode">{{list.produceDate}}</a></td>
|
|
|
- <td><a :href="'/store/' + list.storeid + '/' + list.batchCode">{{list.packaging || '暂无包装方式'}}</a></td>
|
|
|
+ <tr style="cursor: pointer;" v-for="list in storeList.content" @click="goProductDetail(list.storeid, list.batchCode)">
|
|
|
+ <td><a>{{list.code}}</a></td>
|
|
|
+ <td><a>{{list.produceDate}}</a></td>
|
|
|
+ <td><a>{{list.packaging || '暂无包装方式'}}</a></td>
|
|
|
<td style="text-align: left;padding-left: 25px;">
|
|
|
- <a :href="'/store/' + list.storeid + '/' + list.batchCode">
|
|
|
+ <a>
|
|
|
<div>
|
|
|
<span>库存:</span>
|
|
|
<span>{{list.reserve}}</span>
|
|
|
@@ -67,14 +67,14 @@
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a :href="'/store/' + list.storeid + '/' + list.batchCode">
|
|
|
+ <a>
|
|
|
<div v-for="price in list.prices">
|
|
|
<span>{{price.start}}</span>+
|
|
|
</div>
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a :href="'/store/' + list.storeid + '/' + list.batchCode">
|
|
|
+ <a>
|
|
|
<div v-show="list.currencyName.indexOf('USD')==-1 || !list.prices">
|
|
|
<span>—</span>
|
|
|
</div>
|
|
|
@@ -84,7 +84,7 @@
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a :href="'/store/' + list.storeid + '/' + list.batchCode">
|
|
|
+ <a>
|
|
|
<div v-show="list.currencyName.indexOf('RMB')==-1 || !list.prices">
|
|
|
<span>—</span>
|
|
|
</div>
|
|
|
@@ -94,7 +94,7 @@
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a :href="'/store/' + list.storeid + '/' + list.batchCode">
|
|
|
+ <a>
|
|
|
<div v-show="list.b2cMinDelivery">
|
|
|
<span>交期:</span>
|
|
|
<span>{{list.b2cMinDelivery}}</span>
|
|
|
@@ -216,6 +216,9 @@
|
|
|
this.params.filter.ignoreStore = !this.params.filter.ignoreStore
|
|
|
}
|
|
|
this.$store.dispatch('loadComponentInformation', this.params)
|
|
|
+ },
|
|
|
+ goProductDetail: function (storeid, batchcode) {
|
|
|
+ window.location.href = '/store/' + storeid + '/' + batchcode
|
|
|
}
|
|
|
}
|
|
|
}
|