diff --git a/src/views/archives/prefile/index.vue b/src/views/archives/prefile/index.vue index 7aeab059..76ab19a2 100644 --- a/src/views/archives/prefile/index.vue +++ b/src/views/archives/prefile/index.vue @@ -777,9 +777,19 @@ @pagination="getList" /> - + - + @@ -793,13 +803,17 @@ - + - + @@ -810,14 +824,17 @@ - - + + @@ -825,7 +842,7 @@ - + @@ -834,29 +851,34 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - @@ -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,11 +1195,11 @@ 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; + }); }, /** 获取目录号 */ getCatalogNum() {