diff --git a/src/api/accounting/bankSlip.js b/src/api/accounting/bankSlip.js
new file mode 100644
index 00000000..30f8a2d5
--- /dev/null
+++ b/src/api/accounting/bankSlip.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建银行回单
+export function createBankSlip(data) {
+ return request({
+ url: '/archives/bank-slip/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新银行回单
+export function updateBankSlip(data) {
+ return request({
+ url: '/archives/bank-slip/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除银行回单
+export function deleteBankSlip(id) {
+ return request({
+ url: '/archives/bank-slip/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得银行回单
+export function getBankSlip(id) {
+ return request({
+ url: '/archives/bank-slip/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得银行回单分页
+export function getBankSlipPage(query) {
+ return request({
+ url: '/archives/bank-slip/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出银行回单 Excel
+export function exportBankSlipExcel(query) {
+ return request({
+ url: '/archives/bank-slip/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/accounting/bankSlip/index.vue b/src/views/accounting/bankSlip/index.vue
new file mode 100644
index 00000000..aa0c7c12
--- /dev/null
+++ b/src/views/accounting/bankSlip/index.vue
@@ -0,0 +1,619 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.tradTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请选择字典生成
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/accounting/invoices/index.vue b/src/views/accounting/invoices/index.vue
index 9b83ce10..5c93fe9f 100644
--- a/src/views/accounting/invoices/index.vue
+++ b/src/views/accounting/invoices/index.vue
@@ -717,9 +717,9 @@
@@ -1122,10 +1122,10 @@ export default {
this.ids = selection.map((item) => item.id);
if (selection.length == 1) {
this.multiple = false;
+ this.form = selection[0];
} else {
this.multiple = true;
}
- this.form = selection[0];
},
/** 新增按钮操作 */
handleAdd() {