Commit 69f0db28 authored by 吴春's avatar 吴春
parents 48f40afc 457a5e98
......@@ -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
}
......
......@@ -307,7 +307,7 @@
if(type&&type==1){
this.TemplateUrl=`${href}?uid=${this.userInfo.EmployeeId}&model=1`
}else{
this.TemplateUrl=`${href}?ConfigId=${this.FeatureData.ConfigId}`
this.TemplateUrl=`${href}?uid=${this.userInfo.EmployeeId}&ConfigId=${this.FeatureData.ConfigId}`
}
this.dialogPptistVisible = true
},
......
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