From ed156c4be3fcda32111887edcb791d265af436f2 Mon Sep 17 00:00:00 2001
From: MO <448233645@qq.com>
Date: Tue, 10 Oct 2023 15:25:52 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/accounting/bankSlip/index.vue | 11 ++++++++---
src/views/accounting/flow/index.vue | 5 +++--
2 files changed, 11 insertions(+), 5 deletions(-)
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 @@
-