|
|
@@ -180,7 +180,7 @@
|
|
|
{{ls.price}}
|
|
|
</i-Col>
|
|
|
<i-Col span="4" class="text-cente">
|
|
|
- {{(ls.price*ls.num).toFixed(2)}}
|
|
|
+ {{domNum(ls.price*ls.num)}}
|
|
|
</i-Col>
|
|
|
<i-Col span="4" class="text-cente">
|
|
|
{{+ls.is_consumer==0?'普通商品':'消费券商品'}}
|
|
|
@@ -280,6 +280,10 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 向下取整舍弃数
|
|
|
+ domNum: function(value) {
|
|
|
+ return Math.floor(value*100)/100
|
|
|
+ },
|
|
|
// 修复订单
|
|
|
async orderContrast() {
|
|
|
// 开始处理数据
|