From 0562e1608e9f5ff86736565c50ccb3f0cb0790ee Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Sun, 8 Oct 2023 11:09:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=93=B6=E8=A1=8C=E5=9B=9E?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/accounting/bankSlip.js | 54 +++ src/views/accounting/bankSlip/index.vue | 619 ++++++++++++++++++++++++ 2 files changed, 673 insertions(+) create mode 100644 src/api/accounting/bankSlip.js create mode 100644 src/views/accounting/bankSlip/index.vue 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 @@ + + +