Commit e9e2182f authored by youjie's avatar youjie

no message

parent a6d8eb94
...@@ -91,6 +91,13 @@ ...@@ -91,6 +91,13 @@
/deep/.page_CompanyAccDetail .el-table .el-table__cell { /deep/.page_CompanyAccDetail .el-table .el-table__cell {
padding: 0 12px!important; padding: 0 12px!important;
} }
.BalanceBox{
}
.BalanceBox.active{
color: #33B3FF;
cursor: pointer;
}
</style> </style>
<template> <template>
...@@ -159,9 +166,9 @@ ...@@ -159,9 +166,9 @@
<el-table-column :label="String(item.StartBalance)" align="center"> <el-table-column :label="String(item.StartBalance)" align="center">
<el-table-column prop="Income" :label="$t('objFill.v103.yinhangshouru')" width="120" align="center"> <el-table-column prop="Income" :label="$t('objFill.v103.yinhangshouru')" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.SubjectId!=-6"> <div v-if="scope.row.SubjectId!=-6">
{{ scope.row.BalanceList[index].Income }} {{ scope.row.BalanceList[index].Income }}
</template> </div>
<template v-else> <template v-else>
<el-image v-if="scope.row.BalanceList[index].Image" <el-image v-if="scope.row.BalanceList[index].Image"
style="width: 20px; height: 20px;" style="width: 20px; height: 20px;"
...@@ -175,23 +182,27 @@ ...@@ -175,23 +182,27 @@
</el-table-column> </el-table-column>
<el-table-column prop="FinanceIncome" :label="$t('objFill.v103.danjusr')" width="120" align="center"> <el-table-column prop="FinanceIncome" :label="$t('objFill.v103.danjusr')" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.SubjectId!=-6"> <div v-if="scope.row.SubjectId!=-6" @click="goUrl(scope.row,scope.row.BalanceList[index],1)"
class="BalanceBox"
:class="[scope.row.BalanceList[index].FinanceIncome?'active':'']">
{{ scope.row.BalanceList[index].FinanceIncome }} {{ scope.row.BalanceList[index].FinanceIncome }}
</template> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Expenses" :label="$t('objFill.v103.yinhangzhichu')" width="120" align="center"> <el-table-column prop="Expenses" :label="$t('objFill.v103.yinhangzhichu')" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.SubjectId!=-6"> <div v-if="scope.row.SubjectId!=-6">
{{ scope.row.BalanceList[index].Expenses }} {{ scope.row.BalanceList[index].Expenses }}
</template> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="FinanceExpenses" :label="$t('objFill.v103.danjuzc')" width="120" align="center"> <el-table-column prop="FinanceExpenses" :label="$t('objFill.v103.danjuzc')" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.SubjectId!=-6"> <div v-if="scope.row.SubjectId!=-6" @click="goUrl(scope.row,scope.row.BalanceList[index],2)"
class="BalanceBox"
:class="[scope.row.BalanceList[index].FinanceExpenses?'active':'']">
{{ scope.row.BalanceList[index].FinanceExpenses }} {{ scope.row.BalanceList[index].FinanceExpenses }}
</template> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
...@@ -268,6 +279,19 @@ export default { ...@@ -268,6 +279,19 @@ export default {
this.getList(); this.getList();
}, },
methods:{ methods:{
goUrl(row,item){
this.$router.push({
name: "AccountStatementDetail",
query: {
ID: this.msg.BankId,
TypeId: 3,
sTradeDate: item.StartDate,
eTradeDate: item.StartDate,
SubjectId: row.StartBalance,
blank: 'y'
}
})
},
Export(){ Export(){
let msg=this.msg; let msg=this.msg;
var fileName = this.$t('objFill.duizhnagkm') + ".xls"; var fileName = this.$t('objFill.duizhnagkm') + ".xls";
......
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