Commit c708b954 authored by youjie's avatar youjie

应收金额四舍五入

parent fefa4bc5
...@@ -5165,7 +5165,7 @@ ...@@ -5165,7 +5165,7 @@
}); });
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
this.OpSetLossMoney + (this.OpSetLossMoney +
dandijie + dandijie +
lianyun + lianyun +
chengren + chengren +
...@@ -5174,7 +5174,7 @@ ...@@ -5174,7 +5174,7 @@
laoren + laoren +
zafeiqianzhen + zafeiqianzhen +
danfang + danfang +
ertongbed - refundScenicPrice; ertongbed - refundScenicPrice).toFixed(2);
// this.ScenicRefundMoney * // this.ScenicRefundMoney *
// (Number(this.addMsg.ManNum) + // (Number(this.addMsg.ManNum) +
// Number(this.addMsg.ChirdNum) + // Number(this.addMsg.ChirdNum) +
...@@ -5209,7 +5209,8 @@ ...@@ -5209,7 +5209,8 @@
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
} }
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice - this.DealDiscountMoney; this.addMsg.PreferPrice = (this.addMsg.PreferPrice - this.addMsg.LessPrice - this.DealDiscountMoney).toFixed(2);
} else { } else {
let chengren = let chengren =
...@@ -5275,7 +5276,7 @@ ...@@ -5275,7 +5276,7 @@
}); });
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
this.OpSetLossMoney + (this.OpSetLossMoney +
dandijie + dandijie +
lianyun + lianyun +
chengren + chengren +
...@@ -5284,7 +5285,8 @@ ...@@ -5284,7 +5285,8 @@
laoren + laoren +
zafeiqianzhen + zafeiqianzhen +
danfang + danfang +
ertongbed - refundScenicPrice; ertongbed - refundScenicPrice).toFixed(2);
// this.ScenicRefundMoney * // this.ScenicRefundMoney *
// (Number(this.addMsg.ManNum) + // (Number(this.addMsg.ManNum) +
// Number(this.addMsg.ChirdNum) + // Number(this.addMsg.ChirdNum) +
...@@ -5319,12 +5321,13 @@ ...@@ -5319,12 +5321,13 @@
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
} }
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice - this.addMsg.LessPrice - this.DealDiscountMoney; this.addMsg.PreferPrice = (this.addMsg.PreferPrice - this.addMsg.LessPrice - this.DealDiscountMoney).toFixed(2);
} }
} else { } else {
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
Number(this.addMsg.YSeatNum) * Number(this.addMsg.Unit_Price) + (Number(this.addMsg.YSeatNum) * Number(this.addMsg.Unit_Price) +
this.OpSetLossMoney; this.OpSetLossMoney).toFixed(2);
} }
this.getTicheng(); this.getTicheng();
......
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