...
|
...
|
@@ -12,7 +12,7 @@ |
|
|
<tr :key="index">
|
|
|
<td>{{ goods.productSku }}</td>
|
|
|
<td>
|
|
|
<img v-prod-img.sku="{ val: goods.productSku, size: '40x60' }" />
|
|
|
<img :src="prodImage({ sku: goods.productSku })" />
|
|
|
</td>
|
|
|
<td style="text-align: left">
|
|
|
<p>{{ goods.productName }}</p>
|
...
|
...
|
@@ -67,14 +67,26 @@ |
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="13">
|
|
|
<div class="ivu-card">
|
|
|
<div class="ivu-card-head" style="text-align: left">
|
|
|
<p slot="title">参与促销</p>
|
|
|
</div>
|
|
|
<div style="text-align: left; padding: 10px;">
|
|
|
<template v-if="orderPromos">
|
|
|
<template v-for="(item, index) in orderPromos">
|
|
|
<Row :key="index">{{ item.promotionTitle }} {{ item.beginTime }} — {{ item.endTime }}</Row>
|
|
|
<Row :key="index">
|
|
|
{{ item.promotionTitle }}
|
|
|
<span v-if="item.beginTime || item.endTime">
|
|
|
( 有效期:{{ item.beginTime }} — {{ item.endTime }} )
|
|
|
</span>
|
|
|
</Row>
|
|
|
</template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<span>没有参加活动.</span>
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tfoot>
|
...
|
...
|
@@ -82,6 +94,7 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import prodImage from 'util/prod-image';
|
|
|
export default {
|
|
|
name: 'OrderGoodsInfo',
|
|
|
props: ['orderInfo', 'tableData', 'couponsData', 'goodsPromos', 'orderPromos'],
|
...
|
...
|
@@ -126,6 +139,9 @@ export default { |
|
|
],
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
prodImage,
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss">
|
...
|
...
|
|