Commit c708b954 authored by youjie's avatar youjie

应收金额四舍五入

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