Commit 106c0abe by 程南

订单详情bug修改

parent a8434c92
......@@ -84,14 +84,15 @@ wxService.page({
item.canRefundNum = (item.count - item.refundCount) >= 0 ? (item.count - item.refundCount) : 0;
sum = sum + item.price * item.count;
});
if(data.order.wechatCouponPrice){
data.order.wechatCouponPrice = data.order.wechatCouponPrice/10/10;
data.payAmount = (data.payAmount *1) - (data.order.wechatCouponPrice*1)
}
if(data.order.postCouponDisCount){
data.order.postCouponDisCount = data.order.postCouponDisCount/10/10;
if(data.order){
if (data.order.wechatCouponPrice) {
data.order.wechatCouponPrice = data.order.wechatCouponPrice / 10 / 10;
data.payAmount = (data.payAmount * 1) - (data.order.wechatCouponPrice * 1)
}
if (data.order.postCouponDisCount) {
data.order.postCouponDisCount = data.order.postCouponDisCount / 10 / 10;
}
}
......
......@@ -687,6 +687,13 @@
"pathName": "subPackage/page/pages/couponCenterInfo/couponCenterInfo",
"query": "id=708696469342916608",
"scene": null
},
{
"id": -1,
"name": "支付券信息",
"pathName": "subPackageA/page/pages/payCardInfo/payCardInfo",
"query": "id=710195552385654784",
"scene": null
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment