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 @@ + + +