|
|
@ -9,6 +9,17 @@
|
|
|
|
v-show="showSearch"
|
|
|
|
v-show="showSearch"
|
|
|
|
label-width="98px"
|
|
|
|
label-width="98px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-form-item label="会计年度" prop="year">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
popper-class="due_year"
|
|
|
|
|
|
|
|
v-model="queryParams.year"
|
|
|
|
|
|
|
|
value-format="yyyy"
|
|
|
|
|
|
|
|
type="year"
|
|
|
|
|
|
|
|
placeholder="请选择会计年份"
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="会计期间" prop="period">
|
|
|
|
<el-form-item label="会计期间" prop="period">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
popper-class="due_month"
|
|
|
|
popper-class="due_month"
|
|
|
@ -120,7 +131,6 @@
|
|
|
|
label="操作"
|
|
|
|
label="操作"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
fixed="right"
|
|
|
|
fixed="right"
|
|
|
|
width="180px"
|
|
|
|
|
|
|
|
class-name="small-padding fixed-width"
|
|
|
|
class-name="small-padding fixed-width"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template v-slot="scope">
|
|
|
|
<template v-slot="scope">
|
|
|
@ -234,6 +244,7 @@
|
|
|
|
:file-list="fileList"
|
|
|
|
:file-list="fileList"
|
|
|
|
:auto-upload="false"
|
|
|
|
:auto-upload="false"
|
|
|
|
:on-success="test"
|
|
|
|
:on-success="test"
|
|
|
|
|
|
|
|
:data="form"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
@ -249,7 +260,8 @@
|
|
|
|
:headers="headers"
|
|
|
|
:headers="headers"
|
|
|
|
:file-list="fileList1"
|
|
|
|
:file-list="fileList1"
|
|
|
|
:auto-upload="false"
|
|
|
|
:auto-upload="false"
|
|
|
|
:on-success="test1"
|
|
|
|
:on-success="test"
|
|
|
|
|
|
|
|
:data="form"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
@ -265,7 +277,8 @@
|
|
|
|
:headers="headers"
|
|
|
|
:headers="headers"
|
|
|
|
:file-list="fileList2"
|
|
|
|
:file-list="fileList2"
|
|
|
|
:auto-upload="false"
|
|
|
|
:auto-upload="false"
|
|
|
|
:on-success="test2"
|
|
|
|
:on-success="test"
|
|
|
|
|
|
|
|
:data="form"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
<div class="el-upload__text">点击上传,或将文件拖拽到此处</div>
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
@ -447,20 +460,10 @@ export default {
|
|
|
|
/** 表单重置 */
|
|
|
|
/** 表单重置 */
|
|
|
|
reset() {
|
|
|
|
reset() {
|
|
|
|
this.form = {
|
|
|
|
this.form = {
|
|
|
|
id: undefined,
|
|
|
|
|
|
|
|
name: undefined,
|
|
|
|
|
|
|
|
url: undefined,
|
|
|
|
|
|
|
|
companyId: undefined,
|
|
|
|
companyId: undefined,
|
|
|
|
company: undefined,
|
|
|
|
company: undefined,
|
|
|
|
type: undefined,
|
|
|
|
|
|
|
|
bookCode: undefined,
|
|
|
|
|
|
|
|
year: undefined,
|
|
|
|
year: undefined,
|
|
|
|
period: undefined,
|
|
|
|
period: undefined,
|
|
|
|
encrypt: undefined,
|
|
|
|
|
|
|
|
recordId: undefined,
|
|
|
|
|
|
|
|
fileStatus: undefined,
|
|
|
|
|
|
|
|
deptId: undefined,
|
|
|
|
|
|
|
|
deptName: undefined,
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.resetForm("form");
|
|
|
|
this.resetForm("form");
|
|
|
|
this.fileList = [];
|
|
|
|
this.fileList = [];
|
|
|
@ -556,25 +559,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
test(response, file, fileList) {
|
|
|
|
test(response, file, fileList) {
|
|
|
|
console.log(response, file, fileList);
|
|
|
|
console.log(response, file, fileList);
|
|
|
|
createAccountingReport(this.form).then((response) => {
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
this.open = false;
|
|
|
|
this.open = false;
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
test1(response, file, fileList) {
|
|
|
|
|
|
|
|
console.log(response, file, fileList);
|
|
|
|
|
|
|
|
createAccountingReport(this.form).then((response) => {
|
|
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
test2(response, file, fileList) {
|
|
|
|
|
|
|
|
console.log(response, file, fileList);
|
|
|
|
|
|
|
|
createAccountingReport(this.form).then((response) => {
|
|
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
handleDelete(row) {
|
|
|
|
handleDelete(row) {
|
|
|
|