|
|
|
@ -777,9 +777,19 @@
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
<!-- 财务档案列表 -->
|
|
|
|
|
<el-table v-loading="loading" :data="electronicFinanceList" v-if="fileType == 'electronic_finance'" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
:data="electronicFinanceList"
|
|
|
|
|
v-if="fileType == 'electronic_finance'"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
<el-table-column label="交易日期" align="center" prop="tradeDate" width="180">
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="交易日期"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="tradeDate"
|
|
|
|
|
width="180"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.tradeDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
@ -793,13 +803,17 @@
|
|
|
|
|
<!-- <el-table-column label="所属部门" align="center" prop="deptName" />-->
|
|
|
|
|
<el-table-column label="交易类型" align="center" prop="tradeType">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.TRADE_TYPE" :value="scope.row.tradeType"/>
|
|
|
|
|
<dict-tag :type="DICT_TYPE.TRADE_TYPE" :value="scope.row.tradeType" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="金额" align="center" prop="price"/>
|
|
|
|
|
<el-table-column label="金额" align="center" prop="price" />
|
|
|
|
|
|
|
|
|
|
<el-table-column label="收据/发票号码" align="center" prop="invoiceNumber"/>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="收据/发票号码"
|
|
|
|
|
align="center"
|
|
|
|
|
prop="invoiceNumber"
|
|
|
|
|
/>
|
|
|
|
|
<!-- <el-table-column label="纸档位置" align="center" prop="position" />-->
|
|
|
|
|
<!-- <el-table-column label="完整性" align="center" prop="cherks">-->
|
|
|
|
|
<!-- <template v-slot="scope">-->
|
|
|
|
@ -810,14 +824,17 @@
|
|
|
|
|
|
|
|
|
|
<el-table-column label="支付方式" align="center" prop="payType">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.PAY_TYPE" :value="scope.row.payType"/>
|
|
|
|
|
<dict-tag :type="DICT_TYPE.PAY_TYPE" :value="scope.row.payType" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="账户" align="center" prop="account"/>
|
|
|
|
|
<el-table-column label="项目" align="center" prop="project"/>
|
|
|
|
|
<el-table-column label="账户" align="center" prop="account" />
|
|
|
|
|
<el-table-column label="项目" align="center" prop="project" />
|
|
|
|
|
<el-table-column label="状态" align="center" prop="status">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.CONTRACT_STATUS" :value="scope.row.status"/>
|
|
|
|
|
<dict-tag
|
|
|
|
|
:type="DICT_TYPE.CONTRACT_STATUS"
|
|
|
|
|
:value="scope.row.status"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="归档状态" align="center" prop="fileStatus">-->
|
|
|
|
@ -825,7 +842,7 @@
|
|
|
|
|
<!-- <dict-tag :type="DICT_TYPE.ARCHIVES_FILE_STATUS" :value="scope.row.fileStatus" />-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remarks"/>
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remarks" />
|
|
|
|
|
<!-- <el-table-column label="创建日期" align="center" prop="createTime" width="180">-->
|
|
|
|
|
<!-- <template v-slot="scope">-->
|
|
|
|
|
<!-- <span>{{ parseTime(scope.row.createTime) }}</span>-->
|
|
|
|
@ -834,28 +851,33 @@
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column label="归档日期" align="center" prop="recordTime" />-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
|
|
|
|
<!-- <template v-slot="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- size="mini"-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- icon="el-icon-view"-->
|
|
|
|
|
<!-- @click="handleView(scope.row)"-->
|
|
|
|
|
<!-- >查看-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"-->
|
|
|
|
|
<!-- v-hasPermi="['electronic:finance:update']"-->
|
|
|
|
|
<!-- >修改-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"-->
|
|
|
|
|
<!-- v-hasPermi="['electronic:finance:delete']"-->
|
|
|
|
|
<!-- >删除-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
|
|
|
|
<!-- <template v-slot="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- size="mini"-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- icon="el-icon-view"-->
|
|
|
|
|
<!-- @click="handleView(scope.row)"-->
|
|
|
|
|
<!-- >查看-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"-->
|
|
|
|
|
<!-- v-hasPermi="['electronic:finance:update']"-->
|
|
|
|
|
<!-- >修改-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"-->
|
|
|
|
|
<!-- v-hasPermi="['electronic:finance:delete']"-->
|
|
|
|
|
<!-- >删除-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- 财务档案分页组件 -->
|
|
|
|
|
<pagination v-if="fileType == 'electronic_finance'" v-show="total11 > 0" :total="total11" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
|
|
|
|
|
<pagination
|
|
|
|
|
v-if="fileType == 'electronic_finance'"
|
|
|
|
|
v-show="total11 > 0"
|
|
|
|
|
:total="total11"
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
@ -1013,7 +1035,7 @@ import { listData } from "@/api/system/dict/data";
|
|
|
|
|
import { getSiteTree } from "@/api/setting/organization";
|
|
|
|
|
import { getOrganizationPage } from "@/api/setting/organization";
|
|
|
|
|
import { getAccountingReportPage } from "@/api/accounting/report";
|
|
|
|
|
import { getFinancePage } from '@/api/ea/electronicfinance/finance'
|
|
|
|
|
import { getFinancePage } from "@/api/ea/electronicfinance/finance";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "Voucher",
|
|
|
|
@ -1050,7 +1072,7 @@ export default {
|
|
|
|
|
electronicEmployeeList: [], //员工档案列表
|
|
|
|
|
electronicContractsList: [], //合同档案列表
|
|
|
|
|
electronicAssetsList: [], //资产档案列表
|
|
|
|
|
electronicFinanceList:[], //财务档案列表
|
|
|
|
|
electronicFinanceList: [], //财务档案列表
|
|
|
|
|
electronicCustomerComplaintList: [], //客诉档案列表
|
|
|
|
|
electronicConsultationList: [], //咨询档案列表
|
|
|
|
|
electronicOtherList: [], //其他电子档案
|
|
|
|
@ -1071,7 +1093,29 @@ export default {
|
|
|
|
|
Fileform: {},
|
|
|
|
|
fileType: "accounting_voucher",
|
|
|
|
|
// 表单校验
|
|
|
|
|
rules: {},
|
|
|
|
|
rules: {
|
|
|
|
|
company: [
|
|
|
|
|
{ required: true, message: "业务实体不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
year: [
|
|
|
|
|
{ required: true, message: "会计年份不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
period: [
|
|
|
|
|
{ required: true, message: "会计月份不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
caseNum: [
|
|
|
|
|
{ required: true, message: "全宗号不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
catalogNum: [
|
|
|
|
|
{ required: true, message: "目录号不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
filesNum: [
|
|
|
|
|
{ required: true, message: "案卷号不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
recordTime: [
|
|
|
|
|
{ required: true, message: "归档时间不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
ids: "", // 选中id
|
|
|
|
|
fileData: "", //归档id
|
|
|
|
|
fileTypeOptions: [], //档案类型
|
|
|
|
@ -1151,10 +1195,10 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
/** 查询财务档案列表 */
|
|
|
|
|
getFinancePage(this.queryParams).then(response => {
|
|
|
|
|
this.electronicFinanceList = response.data.list
|
|
|
|
|
this.total11 = response.data.total
|
|
|
|
|
this.loading = false
|
|
|
|
|
getFinancePage(this.queryParams).then((response) => {
|
|
|
|
|
this.electronicFinanceList = response.data.list;
|
|
|
|
|
this.total11 = response.data.total;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 获取目录号 */
|
|
|
|
|