|
|
@@ -26,7 +26,7 @@
|
|
|
<el-table-column label="数量" prop="chose_num">
|
|
|
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="会员价格合计金额" prop="member_price_plus">
|
|
|
+ <el-table-column label="合计金额" prop="member_price_plus">
|
|
|
|
|
|
</el-table-column>
|
|
|
<el-table-column label="合计PV" prop="member_pv_plus"></el-table-column>
|
|
|
@@ -125,11 +125,11 @@
|
|
|
pageList.map((pageData, index)=>{
|
|
|
if( Number(pageData.chose_num) > 0 ) {
|
|
|
let discount = pageData.DISCOUNT / 100;
|
|
|
- pageData.member_price = pageData.SELL_PRICE * discount;
|
|
|
- pageData.member_price_plus = pageData.SELL_PRICE * Number(pageData.chose_num) * discount;
|
|
|
+ pageData.member_price = Math.round(pageData.SELL_PRICE * discount * 100) / 100;
|
|
|
+ pageData.member_price_plus = Math.round(pageData.SELL_PRICE * Number(pageData.chose_num) * discount * 100) / 100;
|
|
|
|
|
|
- pageData.member_pv = pageData.PRICE_PV * discount;
|
|
|
- pageData.member_pv_plus = pageData.PRICE_PV * Number(pageData.chose_num) * discount;
|
|
|
+ pageData.member_pv = Math.round(pageData.PRICE_PV * discount * 100) / 100;
|
|
|
+ pageData.member_pv_plus = Math.round(pageData.PRICE_PV * Number(pageData.chose_num) * discount * 100) / 100;
|
|
|
|
|
|
this.goods.push(pageData)
|
|
|
}
|