|
@@ -66,6 +66,8 @@
|
|
<custList v-show="queryParam.accountType=='CUSTOMER'" ref="custList" @change="accountNameSnChange" placeholder="请选择记账名称(输入名称搜索)"></custList>
|
|
<custList v-show="queryParam.accountType=='CUSTOMER'" ref="custList" @change="accountNameSnChange" placeholder="请选择记账名称(输入名称搜索)"></custList>
|
|
<!-- 供应商 -->
|
|
<!-- 供应商 -->
|
|
<supplier v-show="queryParam.accountType=='OUT_ACCOUNT'" @change="accountNameSnChange" v-model="queryParam.accountNameSn" placeholder="请选择记账名称(输入名称搜索)"></supplier>
|
|
<supplier v-show="queryParam.accountType=='OUT_ACCOUNT'" @change="accountNameSnChange" v-model="queryParam.accountNameSn" placeholder="请选择记账名称(输入名称搜索)"></supplier>
|
|
|
|
+ <!-- 其它往来 -->
|
|
|
|
+ <otherTransactions v-show="queryParam.accountType=='OTHER_ACCOUNT'" v-model="queryParam.accountNameSn" placeholder="请选择记账名称(输入名称搜索)"></otherTransactions>
|
|
<a-select style="width: 100%" v-if="!queryParam.accountType" placeholder="请选择记账名称">
|
|
<a-select style="width: 100%" v-if="!queryParam.accountType" placeholder="请选择记账名称">
|
|
<a-select-option value="" :disabled="true">
|
|
<a-select-option value="" :disabled="true">
|
|
请先选择记账类型
|
|
请先选择记账类型
|
|
@@ -198,12 +200,13 @@ import custList from '@/views/common/custList.vue'
|
|
import supplier from '@/views/common/supplier.js'
|
|
import supplier from '@/views/common/supplier.js'
|
|
import expenseType from '@/views/common/expenseType.js'
|
|
import expenseType from '@/views/common/expenseType.js'
|
|
import { expenseAccountDetailList, expenseAcctDetailReport, expenseAccountDetailCount } from '@/api/expenseManagement'
|
|
import { expenseAccountDetailList, expenseAcctDetailReport, expenseAccountDetailCount } from '@/api/expenseManagement'
|
|
|
|
+import otherTransactions from '@/views/common/otherTransactions.js'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
moment.locale('zh-cn')
|
|
moment.locale('zh-cn')
|
|
export default {
|
|
export default {
|
|
name: 'ExpenseReimbursementDetailList',
|
|
name: 'ExpenseReimbursementDetailList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, department, employee, subarea, rangeDate, Area, custList, supplier, expenseType },
|
|
|
|
|
|
+ components: { STable, VSelect, department, employee, subarea, rangeDate, Area, custList, supplier, expenseType, otherTransactions },
|
|
data () {
|
|
data () {
|
|
const _this = this
|
|
const _this = this
|
|
return {
|
|
return {
|
|
@@ -228,7 +231,8 @@ export default {
|
|
applyPersonSn: undefined, // 申请人
|
|
applyPersonSn: undefined, // 申请人
|
|
applyDepartmentSn: undefined, // 申请部门
|
|
applyDepartmentSn: undefined, // 申请部门
|
|
expenseType: undefined, // 费用类型
|
|
expenseType: undefined, // 费用类型
|
|
- xpenseType2: undefined, // 费用类型
|
|
|
|
|
|
+ xpenseType2: undefined, // 费用类型1
|
|
|
|
+ xpenseType3: undefined, // 费用类型2
|
|
accountType: undefined, // 记账类型
|
|
accountType: undefined, // 记账类型
|
|
accountNameSn: undefined, // 记账名称
|
|
accountNameSn: undefined, // 记账名称
|
|
splitObjType: undefined, // 费用承担方类型
|
|
splitObjType: undefined, // 费用承担方类型
|
|
@@ -311,6 +315,7 @@ export default {
|
|
this.expenseTypes = val || []
|
|
this.expenseTypes = val || []
|
|
this.queryParam.expenseType = val && val[0] ? val[0] : ''
|
|
this.queryParam.expenseType = val && val[0] ? val[0] : ''
|
|
this.queryParam.expenseType2 = val && val[1] ? val[1] : ''
|
|
this.queryParam.expenseType2 = val && val[1] ? val[1] : ''
|
|
|
|
+ this.queryParam.expenseType3 = val && val[2] ? val[2] : ''
|
|
},
|
|
},
|
|
custChange (val) {
|
|
custChange (val) {
|
|
this.queryParam.splitObjSn = val.key
|
|
this.queryParam.splitObjSn = val.key
|
|
@@ -369,6 +374,7 @@ export default {
|
|
applyDepartmentSn: undefined, // 申请部门
|
|
applyDepartmentSn: undefined, // 申请部门
|
|
expenseType: undefined, // 费用类型
|
|
expenseType: undefined, // 费用类型
|
|
expenseType2: undefined, // 费用类型2
|
|
expenseType2: undefined, // 费用类型2
|
|
|
|
+ expenseType3: undefined, // 费用类型3
|
|
accountType: undefined, // 记账类型
|
|
accountType: undefined, // 记账类型
|
|
accountNameSn: undefined, // 记账名称
|
|
accountNameSn: undefined, // 记账名称
|
|
splitObjType: undefined, // 费用承担方类型
|
|
splitObjType: undefined, // 费用承担方类型
|