会计账簿归档

main
JiilingLee 1 year ago
parent 0b1237667f
commit 59ae5ba703

@ -91,10 +91,9 @@
<el-table-column label="报表文件url" align="center" prop="url" />
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="细分类型" align="center" prop="type" />
<el-table-column label="账套编号" align="center" prop="bookCode" />
<el-table-column label="会计年度" align="center" prop="year" />
<el-table-column label="会计期间" align="center" prop="period" />
<el-table-column label="归档状态" align="center" prop="archiveState" />
<el-table-column label="归档状态" align="center" prop="fileStatus" />
<el-table-column
label="创建时间"
align="center"
@ -333,8 +332,8 @@ export default {
period: null,
createTime: [],
encrypt: null,
archiveId: null,
archiveState: null,
recordId: null,
fileStatus: null,
deptId: null,
deptName: null,
inputPassword: null,
@ -401,8 +400,8 @@ export default {
year: undefined,
period: undefined,
encrypt: undefined,
archiveId: undefined,
archiveState: undefined,
recordId: undefined,
fileStatus: undefined,
deptId: undefined,
deptName: undefined,
};

@ -130,6 +130,31 @@
</template>
</el-table-column>
</el-table>
<!-- 会计报表列表 -->
<el-table
v-if="fileType == 'accounting_report'"
v-loading="loading"
:data="accountingReportList"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="报表文件名称" align="center" prop="name" />
<el-table-column label="报表文件url" align="center" prop="url" />
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="细分类型" align="center" prop="type" />
<el-table-column label="会计年度" align="center" prop="year" />
<el-table-column label="会计期间" align="center" prop="period" />
<el-table-column
label="创建时间"
align="center"
prop="createTime"
width="180"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
</el-table>
<!-- 会计账簿分页组件 -->
<pagination
v-if="fileType == 'accounting_book'"
@ -870,6 +895,7 @@ import { createRecord, createCodeRule } from "@/api/archives/record";
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";
export default {
name: "Voucher",
@ -897,9 +923,11 @@ export default {
total7: 0,
total8: 0,
total9: 0,
total10: 0,
accountingVoucherList: [], //
accountingBookList: [], //簿
archivesOtherList: [], //
accountingReportList: [], //
electronicEmployeeList: [], //
electronicContractsList: [], //
electronicAssetsList: [], //
@ -994,6 +1022,11 @@ export default {
this.total9 = response.data.total;
this.loading = false;
});
getAccountingReportPage(this.queryParams).then((response) => {
this.accountingReportList = response.data.list;
this.total10 = response.data.total;
this.loading = false;
});
},
/** 获取目录号 */
getCatalogNum() {

@ -423,6 +423,39 @@
prop="remark"
/>
</el-table>
<pagination
v-if="fileType == 'archives_report'"
v-show="total10 > 0"
:total="total10"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 会计报表列表 -->
<el-table
v-if="fileType == 'accounting_report'"
v-loading="loading"
:data="accountingReportList"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="报表文件名称" align="center" prop="name" />
<el-table-column label="报表文件url" align="center" prop="url" />
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="细分类型" align="center" prop="type" />
<el-table-column label="会计年度" align="center" prop="year" />
<el-table-column label="会计期间" align="center" prop="period" />
<el-table-column
label="创建时间"
align="center"
prop="createTime"
width="180"
>
<template v-slot="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
</el-table>
<!-- 其他会计分页组件 -->
<pagination
v-if="fileType == 'archives_other'"
@ -989,6 +1022,7 @@ import { getSiteTree } from "@/api/setting/organization";
import { getOrganizationPage } from "@/api/setting/organization";
import { getVoucherPage } from "@/api/accounting/voucher";
import { getAccountingBookPage } from "@/api/accounting/book";
import { getAccountingReportPage } from "@/api/accounting/report";
import { getOtherPage } from "@/api/accounting/other";
import { getElectronicEmployeePage } from "@/api/ea/electronicEmployee/electronicEmployee";
import { getElectronicContractsPage } from "@/api/ea/electronicContracts/electronicContracts";
@ -1044,8 +1078,10 @@ export default {
total7: 0,
total8: 0,
total9: 0,
total10: 0,
accountingVoucherList: [], //
accountingBookList: [], //簿
accountingReportList: [], //
archivesOtherList: [], //
electronicEmployeeList: [], //
electronicContractsList: [], //
@ -1187,6 +1223,14 @@ export default {
this.loading = false;
});
},
/** 查询会计报表列表 */
getAccountingReportPageLineList() {
getAccountingReportPage(this.queryParams1).then((response) => {
this.accountingReportList = response.data.list;
this.total10 = response.data.total;
this.loading = false;
});
},
/**
* 文件预览
* @param fileUrl
@ -1394,7 +1438,10 @@ export default {
this.getElectronicConsultationLineList();
} else if (row.fileType == "electronic_other") {
this.getElectronicOtherLineList();
}else if (row.fileType == "accounting_report") {
this.getAccountingReportPageLineList();
}
const id = row.id;
getRecord(id).then((response) => {
this.form = response.data;

Loading…
Cancel
Save