|
@@ -40,7 +40,7 @@
|
|
|
<!-- 折扣券 -->
|
|
|
<view style="margin-top:36rpx" v-if="item.type==3">
|
|
|
<text class="time_text">打</text>
|
|
|
- <text class="time margin-lr-xs">{{ item.discount.discount*10 }}</text>
|
|
|
+ <text class="time margin-lr-xs">{{ item.discount.discount_format }}</text>
|
|
|
<text class="time_text">折</text>
|
|
|
</view>
|
|
|
|
|
@@ -121,7 +121,7 @@
|
|
|
<!-- 折扣券 -->
|
|
|
<view style="margin-top:36rpx" v-if="item.type==3">
|
|
|
<text class="time_text">打</text>
|
|
|
- <text class="time margin-lr-xs">{{ item.discount*10 }}</text>
|
|
|
+ <text class="time margin-lr-xs">{{ item.discount_format }}</text>
|
|
|
<text class="time_text">折</text>
|
|
|
</view>
|
|
|
|
|
@@ -201,7 +201,7 @@
|
|
|
<!-- 折扣券 -->
|
|
|
<view style="margin-top:36rpx" v-if="item.type==3">
|
|
|
<text class="time_text">打</text>
|
|
|
- <text class="time margin-lr-xs">{{ item.discount*10 }}</text>
|
|
|
+ <text class="time margin-lr-xs">{{ item.discount_format }}</text>
|
|
|
<text class="time_text">折</text>
|
|
|
</view>
|
|
|
|
|
@@ -281,6 +281,7 @@ export default {
|
|
|
$val['end_time'] = timestampTwoNum($val['end_time'])
|
|
|
$val['start_time'] = timestampTwoNum($val['start_time'])
|
|
|
$val['random'] = parseInt($val['random'])
|
|
|
+ $val['discount_format'] = Math.round(($val['discount']*10)*100)/100
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -293,6 +294,7 @@ export default {
|
|
|
$val['end_time'] = timestampTwoNum($val['end_time'])
|
|
|
$val['start_time'] = timestampTwoNum($val['start_time'])
|
|
|
$val['random'] = parseInt($val['random'])
|
|
|
+ $val['discount_format'] = Math.round(($val['discount']*10)*100)/100
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -305,6 +307,7 @@ export default {
|
|
|
$val.validity_time['end_time_format'] = timestampTwoNum($val.validity_time['end_time'])
|
|
|
$val.validity_time['start_time_format'] = timestampTwoNum($val.validity_time['start_time'])
|
|
|
$val.validity_time['time_format'] = timestampTwoNum($val.validity_time['time'])
|
|
|
+ $val.discount['discount_format'] = Math.round(($val.discount['discount']*10)*100)/100
|
|
|
})
|
|
|
})
|
|
|
},
|