会计账簿归档

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="报表文件url" align="center" prop="url" />
<el-table-column label="业务实体" align="center" prop="company" /> <el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="细分类型" align="center" prop="type" /> <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="year" />
<el-table-column label="会计期间" align="center" prop="period" /> <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 <el-table-column
label="创建时间" label="创建时间"
align="center" align="center"
@ -333,8 +332,8 @@ export default {
period: null, period: null,
createTime: [], createTime: [],
encrypt: null, encrypt: null,
archiveId: null, recordId: null,
archiveState: null, fileStatus: null,
deptId: null, deptId: null,
deptName: null, deptName: null,
inputPassword: null, inputPassword: null,
@ -401,8 +400,8 @@ export default {
year: undefined, year: undefined,
period: undefined, period: undefined,
encrypt: undefined, encrypt: undefined,
archiveId: undefined, recordId: undefined,
archiveState: undefined, fileStatus: undefined,
deptId: undefined, deptId: undefined,
deptName: undefined, deptName: undefined,
}; };

@ -130,6 +130,31 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </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 <pagination
v-if="fileType == 'accounting_book'" v-if="fileType == 'accounting_book'"
@ -870,6 +895,7 @@ import { createRecord, createCodeRule } from "@/api/archives/record";
import { listData } from "@/api/system/dict/data"; import { listData } from "@/api/system/dict/data";
import { getSiteTree } from "@/api/setting/organization"; import { getSiteTree } from "@/api/setting/organization";
import { getOrganizationPage } from "@/api/setting/organization"; import { getOrganizationPage } from "@/api/setting/organization";
import { getAccountingReportPage } from "@/api/accounting/report";
export default { export default {
name: "Voucher", name: "Voucher",
@ -897,9 +923,11 @@ export default {
total7: 0, total7: 0,
total8: 0, total8: 0,
total9: 0, total9: 0,
total10: 0,
accountingVoucherList: [], // accountingVoucherList: [], //
accountingBookList: [], //簿 accountingBookList: [], //簿
archivesOtherList: [], // archivesOtherList: [], //
accountingReportList: [], //
electronicEmployeeList: [], // electronicEmployeeList: [], //
electronicContractsList: [], // electronicContractsList: [], //
electronicAssetsList: [], // electronicAssetsList: [], //
@ -994,6 +1022,11 @@ export default {
this.total9 = response.data.total; this.total9 = response.data.total;
this.loading = false; this.loading = false;
}); });
getAccountingReportPage(this.queryParams).then((response) => {
this.accountingReportList = response.data.list;
this.total10 = response.data.total;
this.loading = false;
});
}, },
/** 获取目录号 */ /** 获取目录号 */
getCatalogNum() { getCatalogNum() {

@ -423,6 +423,39 @@
prop="remark" prop="remark"
/> />
</el-table> </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 <pagination
v-if="fileType == 'archives_other'" v-if="fileType == 'archives_other'"
@ -989,6 +1022,7 @@ import { getSiteTree } from "@/api/setting/organization";
import { getOrganizationPage } from "@/api/setting/organization"; import { getOrganizationPage } from "@/api/setting/organization";
import { getVoucherPage } from "@/api/accounting/voucher"; import { getVoucherPage } from "@/api/accounting/voucher";
import { getAccountingBookPage } from "@/api/accounting/book"; import { getAccountingBookPage } from "@/api/accounting/book";
import { getAccountingReportPage } from "@/api/accounting/report";
import { getOtherPage } from "@/api/accounting/other"; import { getOtherPage } from "@/api/accounting/other";
import { getElectronicEmployeePage } from "@/api/ea/electronicEmployee/electronicEmployee"; import { getElectronicEmployeePage } from "@/api/ea/electronicEmployee/electronicEmployee";
import { getElectronicContractsPage } from "@/api/ea/electronicContracts/electronicContracts"; import { getElectronicContractsPage } from "@/api/ea/electronicContracts/electronicContracts";
@ -1044,8 +1078,10 @@ export default {
total7: 0, total7: 0,
total8: 0, total8: 0,
total9: 0, total9: 0,
total10: 0,
accountingVoucherList: [], // accountingVoucherList: [], //
accountingBookList: [], //簿 accountingBookList: [], //簿
accountingReportList: [], //
archivesOtherList: [], // archivesOtherList: [], //
electronicEmployeeList: [], // electronicEmployeeList: [], //
electronicContractsList: [], // electronicContractsList: [], //
@ -1187,6 +1223,14 @@ export default {
this.loading = false; this.loading = false;
}); });
}, },
/** 查询会计报表列表 */
getAccountingReportPageLineList() {
getAccountingReportPage(this.queryParams1).then((response) => {
this.accountingReportList = response.data.list;
this.total10 = response.data.total;
this.loading = false;
});
},
/** /**
* 文件预览 * 文件预览
* @param fileUrl * @param fileUrl
@ -1394,7 +1438,10 @@ export default {
this.getElectronicConsultationLineList(); this.getElectronicConsultationLineList();
} else if (row.fileType == "electronic_other") { } else if (row.fileType == "electronic_other") {
this.getElectronicOtherLineList(); this.getElectronicOtherLineList();
}else if (row.fileType == "accounting_report") {
this.getAccountingReportPageLineList();
} }
const id = row.id; const id = row.id;
getRecord(id).then((response) => { getRecord(id).then((response) => {
this.form = response.data; this.form = response.data;

Loading…
Cancel
Save