Commit 78c3dabb authored by zhengke's avatar zhengke

修改

parent 3a3b4305
......@@ -1964,29 +1964,21 @@
if (that.isExists(item.CostTypeList, '地接费(结算)')) {
this.moneyAll.dijieys += item.Money;
this.moneyAll.dijiess += item.PayMoney;
this.moneyAll.otheryTotalyf+= item.Money;
this.moneyAll.otheryTotalsf+=item.PayMoney;
}
// 收入 自费
if (that.isExists(item.CostTypeList, '自费') || that.isExists(item.CostTypeList, '自费收支结算')) {
this.moneyAll.zifeiys += item.Money;
this.moneyAll.zifeiss += item.PayMoney;
this.moneyAll.otheryTotalyf+= item.Money;
this.moneyAll.otheryTotalsf+=item.PayMoney;
}
// 收入 小费
if (that.isExists(item.CostTypeList, '小费')) {
this.moneyAll.xiaofeiys += item.Money;
this.moneyAll.xiaofeiss += item.PayMoney;
this.moneyAll.otheryTotalyf+= item.Money;
this.moneyAll.otheryTotalsf+=item.PayMoney;
}
// 收入 佣金
if (item.OrderSource === 7) {
this.moneyAll.yongjinys += item.Money;
this.moneyAll.yongjinss += item.PayMoney;
this.moneyAll.otheryTotalyf+=item.Money;
this.moneyAll.otheryTotalsf+=item.PayMoney;
}
// 收入 其他
if (that.NotExists(item.CostTypeList, '团费') && that.NotExists(item.CostTypeList, '小费') && that
......@@ -1996,9 +1988,10 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
.OrderSource !== 7) {
this.moneyAll.otherys += item.Money;
this.moneyAll.otherss += item.PayMoney;
this.moneyAll.otheryTotalyf+= item.Money;
this.moneyAll.otheryTotalsf+=item.PayMoney;
}
})
this.ticketList=[];
this.DataList.FinicePayList.forEach(item => {
......@@ -2213,7 +2206,29 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
// },
// err => {}
// )
},
//判断数组是否存在 值
isExists(arr,item){
var flag = false;
for (var i = 0; i < arr.length; i++) {
if (arr[i] == item) {
flag = true;
break;
}
}
return flag;
}
// isExists: function (arr, item) {
// var flag = false;
// for (var i = 0; i < arr.length; i++) {
// if (arr[i] == item) {
// flag = true;
// break;
// }
// }
// return flag;
// },
},
mounted() {
this.TCID = this.$route.query.id;
......
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