Commit 805bf6fa authored by liudong1993's avatar liudong1993

1 写死 R返佣 日本拿55%

parent efa17e1a
......@@ -1291,9 +1291,9 @@
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
if (x.CostTypeName.indexOf('房费送客手数料') != -1 && y.Type == 5) {
if(x.UnitPrice<0){ y.Unit_Price=- x.UnitPrice}
if(x.UnitPrice<0){ y.Unit_Price=this.RoundItUp(parseFloat(-(x.UnitPrice*0.55)).toFixed(2))}
else{
y.Unit_Price=x.UnitPrice
y.Unit_Price=this.RoundItUp(parseFloat(x.UnitPrice*0.55).toFixed(2))
}
y.Num=x.Number
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
......@@ -1301,17 +1301,17 @@
if (x.CostTypeName.indexOf('餐费送客手数料') != -1 && y.Type == 6) {
y.Num=x.Number
if(x.UnitPrice<0){
y.Unit_Price=-x.UnitPrice; }
y.Unit_Price=this.RoundItUp(parseFloat(-(x.UnitPrice*0.55)).toFixed(2))}
else{
y.Unit_Price=x.UnitPrice
y.Unit_Price=this.RoundItUp(parseFloat(x.UnitPrice*0.55).toFixed(2))
}
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
if (x.CostTypeName.indexOf('门票送客手数料') != -1 && y.Type == 7) {
y.Num=x.Number
if(x.UnitPrice<0){ y.Unit_Price=-x.UnitPrice}
if(x.UnitPrice<0){ y.Unit_Price=this.RoundItUp(parseFloat(-(x.UnitPrice*0.55)).toFixed(2))}
else{
y.Unit_Price=x.UnitPrice
y.Unit_Price=this.RoundItUp(parseFloat(x.UnitPrice*0.55).toFixed(2))
}
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
......
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