|
@@ -81,6 +81,7 @@
|
|
|
<vxe-column title="剩余额度" field="remainReimbursementAmount"></vxe-column>
|
|
|
<vxe-column title="已报天数" field="alreadyReimbursementDay"></vxe-column>
|
|
|
<vxe-column title="剩余天数" field="surplusReimbursementDay"></vxe-column>
|
|
|
+ <vxe-column title="报销来源" field="addressName" :formatter="addressType"></vxe-column>
|
|
|
<vxe-column title="操作" width="300px" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button v-if="hasPermission('reimbursementUser:view')" type="text" icon="el-icon-view" size="small" @click="viewBusinessInfo(scope.row.id)">报销详情</el-button>
|
|
@@ -210,6 +211,17 @@ export default {
|
|
|
viewBusinessInfo (id) {
|
|
|
this.$router.push({path: `/reimbursementSys/user/reimbursementUserBusinessList`, query: {id: id, title: '报销详情'}})
|
|
|
},
|
|
|
+ addressType (row, column) {
|
|
|
+ let type = row.row.addressName
|
|
|
+ console.log(row)
|
|
|
+ // eslint-disable-next-line eqeqeq
|
|
|
+ if (type == 0) {
|
|
|
+ return ''
|
|
|
+ // eslint-disable-next-line eqeqeq
|
|
|
+ } else if (type == 1) {
|
|
|
+ return '武汉'
|
|
|
+ }
|
|
|
+ },
|
|
|
// 删除
|
|
|
del (id) {
|
|
|
let ids = id || this.$refs.reimbursementUserTable.getCheckboxRecords().map(item => {
|