Commit 05daea4d authored by Mac's avatar Mac

1

parent a0aca35a
......@@ -269,8 +269,8 @@
this.$message.error('提成总金额为0')
}
}else{
if(item.SchooldCommission>0){
this.goaddFinancial(item.SchooldCommission,item.Id,'')
if(item.CommissionMoney>0){
this.goaddFinancial(item.CommissionMoney,item.Id,'')
}else{
this.$message.error('校区提成总金额为0')
}
......@@ -281,7 +281,7 @@
let School_Id = 0;
let obj = {
CostType: 316,
CostType: 1296,
Money: Money,
CurrencyId: 21,
XSTC: 1,
......@@ -341,7 +341,7 @@
this.multipleSelection = val;
let zong = 0
this.multipleSelection.forEach(x=>{
zong +=x.CurrentPeriodMoney
zong +=x.CommissionMoney
})
this.totalAmount = zong
},
......@@ -363,7 +363,7 @@
let EmpIds = '';
let data = []
this.multipleSelection.forEach(x=>{
data.push(x.UserId)
data.push(x.TeacherId)
})
EmpIds = data.join(',')
setTeaConCommissionSendEmployee({PeriodId:this.CheckID,EmpIds:EmpIds}).then(res => {
......
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