...
|
...
|
@@ -395,13 +395,12 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
newGood.name = good.product_name;
|
|
|
newGood.color = good.factory_color_name;
|
|
|
newGood.size = good.size_name;
|
|
|
|
|
|
newGood.price = that.transPrice(good.sales_price);// 默认显示销售价
|
|
|
newGood.isVipPrice = good.discount_tag === 'V';
|
|
|
newGood.isStuPrice = good.discount_tag === 'S';
|
|
|
|
|
|
// 划线的价格
|
|
|
if (good.real_pay_price < good.sales_price) {
|
|
|
if (+good.real_pay_price < +good.sales_price) {
|
|
|
newGood.price = that.transPrice(good.real_pay_price);// 显示分摊价
|
|
|
newGood.linePrice = that.transPrice(good.sales_price); // 划线的价格
|
|
|
}
|
...
|
...
|
@@ -829,7 +828,7 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
};
|
|
|
|
|
|
// 划线的价格
|
|
|
if (good.real_pay_price < good.sales_price) {
|
|
|
if (+good.real_pay_price < +good.sales_price) {
|
|
|
newGood.price = that.transPrice(good.real_pay_price);// 显示分摊价
|
|
|
newGood.linePrice = that.transPrice(good.sales_price); // 划线的价格
|
|
|
}
|
...
|
...
|
|