|
@@ -4,7 +4,7 @@
|
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
|
|
|
|
<el-form-item label="报销部门" prop="searchForm.officeType">
|
|
|
- <el-select v-model="searchForm.officeType" placeholder="请选择" style="width: 100%;">
|
|
|
+ <el-select v-model="searchForm.officeType" placeholder="请选择" clearable>
|
|
|
<el-option
|
|
|
v-for="item in this.$dictUtils.getDictList('reimbursement_office_type')"
|
|
|
:key="item.value"
|
|
@@ -15,7 +15,7 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="实发类型" prop="searchForm.reimbursementFsalary">
|
|
|
- <el-select v-model="searchForm.reimbursementFsalary" placeholder="请选择" style="width: 100%;">
|
|
|
+ <el-select v-model="searchForm.reimbursementFsalary" placeholder="请选择" clearable>
|
|
|
<el-option
|
|
|
v-for="item in this.$dictUtils.getDictList('reimbursement_fsalary')"
|
|
|
:key="item.value"
|
|
@@ -26,9 +26,9 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="报销来源" prop="searchForm.reimbursementAddress">
|
|
|
- <el-select v-model="searchForm.reimbursementAddress" clearable placeholder="请选择">
|
|
|
+ <el-select v-model="searchForm.reimbursementAddress" placeholder="请选择" clearable>
|
|
|
<el-option
|
|
|
- v-for="item in reimbursementAddressList"
|
|
|
+ v-for="item in this.$dictUtils.getDictList('reimbursement_address')"
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value">
|
|
@@ -158,6 +158,7 @@
|
|
|
label="报销来源"
|
|
|
width="200px"
|
|
|
:formatter="addressType"
|
|
|
+ align="center"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -174,7 +175,6 @@
|
|
|
data () {
|
|
|
return {
|
|
|
searchDates: '',
|
|
|
- reimbursementAddressList: '', // 报销来源列表
|
|
|
searchForm: {
|
|
|
year: '',
|
|
|
beginDate: '',
|
|
@@ -269,7 +269,6 @@
|
|
|
this.columnForm.alreadyReimbursementAmount = data.alreadyReimbursementAmount
|
|
|
this.columnForm.surplusReimbursementAmount = data.surplusReimbursementAmount
|
|
|
this.columnForm.reimbursementQuotaDay = data.reimbursementQuotaDay
|
|
|
- this.reimbursementAddressList = data.reimbursementAddressList
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -291,7 +290,6 @@
|
|
|
this.columnForm.alreadyReimbursementAmount = data.alreadyReimbursementAmount
|
|
|
this.columnForm.surplusReimbursementAmount = data.surplusReimbursementAmount
|
|
|
this.columnForm.reimbursementQuotaDay = data.reimbursementQuotaDay
|
|
|
- this.reimbursementAddressList = data.reimbursementAddressList
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|
|
@@ -319,6 +317,8 @@
|
|
|
// eslint-disable-next-line eqeqeq
|
|
|
} else if (row.reimbursementAddress == 1) {
|
|
|
return '总所报销'
|
|
|
+ } else {
|
|
|
+ return '——'
|
|
|
}
|
|
|
}
|
|
|
}
|