Commit d5a7ff04 authored by zhengke's avatar zhengke

修改

parent 1df97887
...@@ -40,6 +40,11 @@ ...@@ -40,6 +40,11 @@
<el-table-column prop="SumPrice" label="人头奖励总金额"> </el-table-column> <el-table-column prop="SumPrice" label="人头奖励总金额"> </el-table-column>
<el-table-column prop="FrIdList" label="财务单据"> <el-table-column prop="FrIdList" label="财务单据">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-wrap: wrap;" v-if='scope.row.Financials'>
<span v-for="(x,y) in getFrnancialArr(scope.row.Financials)" @click="gocaiwuxiangq(x)"
style="cursor: pointer;text-decoration: underline;margin-right: 5px; color: #409EFF;">{{x}}</span>
</div>
<div v-else></div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="CreateByName" label="创建人"> </el-table-column> <el-table-column prop="CreateByName" label="创建人"> </el-table-column>
...@@ -129,8 +134,8 @@ ...@@ -129,8 +134,8 @@
generalFinancacls(item) { generalFinancacls(item) {
this.CheckID = item.Id; this.CheckID = item.Id;
this.SendEmployeeList = item.BonusList; this.SendEmployeeList = item.BonusList;
console.log(item,'数据'); console.log(item, '数据');
console.log(this.SendEmployeeList,'11111111'); console.log(this.SendEmployeeList, '11111111');
this.tishi('3.6', this.CheckID); this.tishi('3.6', this.CheckID);
}, },
tishi(Money, Id) { tishi(Money, Id) {
...@@ -156,7 +161,7 @@ ...@@ -156,7 +161,7 @@
this.multipleSelection = val; this.multipleSelection = val;
let zong = 0 let zong = 0
this.multipleSelection.forEach(x => { this.multipleSelection.forEach(x => {
zong = this.accAdd(zong, Number(x.ClueNumSalary+x.CurRewardMoney+x.OpenBonus)-Number(x.BeforeMoney)) zong = this.accAdd(zong, Number(x.ClueNumSalary + x.CurRewardMoney + x.OpenBonus) - Number(x.BeforeMoney))
}) })
this.totalAmount = zong this.totalAmount = zong
}, },
...@@ -215,7 +220,6 @@ ...@@ -215,7 +220,6 @@
goaddFinancial(Money, Id, EmpIds) { goaddFinancial(Money, Id, EmpIds) {
let School_Id = 0; let School_Id = 0;
let obj = { let obj = {
CostType: 316, CostType: 316,
Money: Money, Money: Money,
...@@ -276,8 +280,18 @@ ...@@ -276,8 +280,18 @@
getTicheng(Obj) { getTicheng(Obj) {
let Num = Number(Obj.ClueNumSalary + Obj.CurRewardMoney + Obj.OpenBonus) - Number(Obj.BeforeMoney); let Num = Number(Obj.ClueNumSalary + Obj.CurRewardMoney + Obj.OpenBonus) - Number(Obj.BeforeMoney);
return Num; return Num;
},
getFrnancialArr(Financials){
if(Financials){
let FinanArr = Financials.split(',');
return FinanArr
}
},
gocaiwuxiangq(id){
this.OpenNewUrl("/financial/financalDocument/FinancialDocumentsDetail", {
id: 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