Commit 83535669 authored by 吴春's avatar 吴春

1

parent bb9dc8f9
...@@ -1245,7 +1245,6 @@ ...@@ -1245,7 +1245,6 @@
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
} }
if (x.CostTypeName.indexOf('房费送客手数料') != -1 && y.Type == 5) { if (x.CostTypeName.indexOf('房费送客手数料') != -1 && y.Type == 5) {
if(x.UnitPrice<0){ y.Unit_Price=- x.UnitPrice} if(x.UnitPrice<0){ y.Unit_Price=- x.UnitPrice}
else{ else{
y.Unit_Price=x.UnitPrice y.Unit_Price=x.UnitPrice
...@@ -1254,9 +1253,7 @@ ...@@ -1254,9 +1253,7 @@
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
} }
if (x.CostTypeName.indexOf('餐费送客手数料') != -1 && y.Type == 6) { if (x.CostTypeName.indexOf('餐费送客手数料') != -1 && y.Type == 6) {
y.Num=x.Number y.Num=x.Number
console.log("UnitPriceTo",x.UnitPrice)
if(x.UnitPrice<0){ if(x.UnitPrice<0){
y.Unit_Price=-x.UnitPrice; } y.Unit_Price=-x.UnitPrice; }
else{ else{
...@@ -1265,7 +1262,6 @@ ...@@ -1265,7 +1262,6 @@
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
} }
if (x.CostTypeName.indexOf('门票送客手数料') != -1 && y.Type == 7) { if (x.CostTypeName.indexOf('门票送客手数料') != -1 && y.Type == 7) {
y.Num=x.Number y.Num=x.Number
if(x.UnitPrice<0){ y.Unit_Price=-x.UnitPrice} if(x.UnitPrice<0){ y.Unit_Price=-x.UnitPrice}
else{ 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