Commit f54aabbc authored by 黄奎's avatar 黄奎

页面修改

parent ab44a3d6
......@@ -717,8 +717,8 @@
let totalPrice = 0;
obj.OrderDetailsList.forEach((item, index) => {
var tempPrice=0;
//税别
if (obj.TaxType == 2 && item.RebateRatio>0) {
//税别 && item.RebateRatio>0
if (obj.TaxType == 2 ) {
tempPrice= item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio / 100);
} else {
tempPrice= item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 - item.RebateRatio / 100);
......
......@@ -730,8 +730,8 @@
let totalPrice = 0;
obj.OrderDetailsList.forEach((item, index) => {
if (obj.PayStyle === 1) {
//税别
if (obj.TaxType == 2 && item.RebateRatio>0) {
//税别 && item.RebateRatio>0
if (obj.TaxType == 2) {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio / 100);
//税入
} else {
......
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