Commit 05daea4d authored by Mac's avatar Mac

1

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