diff --git a/src/views/accounting/bankSlip/index.vue b/src/views/accounting/bankSlip/index.vue
index e9720d3b..23470e89 100644
--- a/src/views/accounting/bankSlip/index.vue
+++ b/src/views/accounting/bankSlip/index.vue
@@ -282,7 +282,6 @@
:on-success="handleSuccess"
name="multipartFile"
:multiple="false"
- :accept="imgType"
>
将文件拖到此处,或点击上传
@@ -739,10 +738,12 @@ export default {
/** 取消按钮 */
cancel1() {
this.open1 = false;
+ this.reset();
},
/** 取消按钮 */
cancel2() {
this.open2 = false;
+ this.reset();
},
/** 表单重置 */
reset() {
@@ -788,8 +789,6 @@ export default {
archiveId: undefined,
archiveState: undefined,
password: undefined,
- staffId: undefined,
- staffName: undefined,
};
this.form1 = {
id: undefined,
@@ -814,6 +813,10 @@ export default {
this.open = true;
this.title = "添加银行回单";
},
+ // 上传成功的函数
+ handleSuccess(res) {
+ console.log(res);
+ },
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
@@ -826,6 +829,7 @@ export default {
},
/** 认款按钮操作 */
handleComfirm(val) {
+ this.reset();
this.form1.id = val.id;
this.open2 = true;
},
@@ -866,6 +870,7 @@ export default {
},
//下载元数据
handleDownloadData() {
+ this.reset();
this.open1 = true;
this.queryParams.inputPassword = null;
},
diff --git a/src/views/accounting/flow/index.vue b/src/views/accounting/flow/index.vue
index fa35c57d..b3902ed0 100644
--- a/src/views/accounting/flow/index.vue
+++ b/src/views/accounting/flow/index.vue
@@ -94,7 +94,6 @@
-