...
|
...
|
@@ -387,7 +387,7 @@ const getOrders = (uid, page, limit, type, isPage)=> { |
|
|
newGood.isStuPrice = good.discount_tag === 'S';
|
|
|
|
|
|
// 划线的价格
|
|
|
if (good.real_pay_price < good.sales_price) {
|
|
|
if (+good.real_pay_price < +good.sales_price) {
|
|
|
newGood.price = transPrice(good.real_pay_price);// 显示分摊价
|
|
|
newGood.linePrice = transPrice(good.sales_price); // 划线的价格
|
|
|
}
|
...
|
...
|
@@ -803,7 +803,7 @@ const _getOrderDetail = co(function * (uid, orderId) { |
|
|
};
|
|
|
|
|
|
// 划线的价格
|
|
|
if (good.real_pay_price < good.sales_price) {
|
|
|
if (+good.real_pay_price < +good.sales_price) {
|
|
|
newGood.price = transPrice(good.real_pay_price);// 显示分摊价
|
|
|
newGood.linePrice = transPrice(good.sales_price); // 划线的价格
|
|
|
}
|
...
|
...
|
|