Commit 0ba2911b authored by 吴春's avatar 吴春

1

parent 8e472353
......@@ -1216,7 +1216,7 @@
x.CostTypeName.indexOf('车') != -1 ||
x.CostTypeName.indexOf('门票') != -1) {
this.HandFeeDetail && this.HandFeeDetail.DetailList.forEach((y, indexs) => {
if (x.CostTypeName.indexOf('房') != -1&&x.CostTypeName.indexOf('房费送客手数料') == -1 && y.Type == 1&&companyID!=1220) {
y.show = true, numToFANG += Number(obj.Number)//, y.Num = numToFANG
}
......@@ -1230,27 +1230,28 @@
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
if (x.CostTypeName.indexOf('房费送客手数料') != -1 && y.Type == 5) {
if(x.UnitPriceTo<0){ y.Unit_Price=x.UnitPriceTo*-1}
if(x.UnitPrice<0){ y.Unit_Price=- x.UnitPrice}
else{
y.Unit_Price=x.UnitPriceTo
y.Unit_Price=x.UnitPrice
}
y.Num=x.Number
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
if (x.CostTypeName.indexOf('餐费送客手数料') != -1 && y.Type == 6) {
y.Num=x.Number
if(x.UnitPriceTo<0){ y.Unit_Price=x.UnitPriceTo*-1}
console.log("UnitPriceTo",x.UnitPrice)
if(x.UnitPrice<0){
y.Unit_Price=-x.UnitPrice; }
else{
y.Unit_Price=x.UnitPriceTo
y.Unit_Price=x.UnitPrice
}
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
if (x.CostTypeName.indexOf('门票送客手数料') != -1 && y.Type == 7) {
y.Num=x.Number
if(x.UnitPriceTo<0){ y.Unit_Price=x.UnitPriceTo*-1}
if(x.UnitPrice<0){ y.Unit_Price=-x.UnitPrice}
else{
y.Unit_Price=x.UnitPriceTo
y.Unit_Price=x.UnitPrice
}
y.show = true, numToMEN += Number(obj.Number)//, y.Num = numToMEN
}
......@@ -1258,7 +1259,7 @@
})
}
})
console.log("我进来啦3",this.HandFeeDetail );
if (states) {
this.msg.detailList.forEach((x, index) => {
this.HandFeeDetail && this.HandFeeDetail.DetailList.forEach((y, indexs) => {
......
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