From 033a66f12da36b9a0eb4662b4f976f88b32e7fc9 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Sun, 4 Feb 2024 13:37:04 +0800 Subject: [PATCH] bug --- fuintAdmin/src/api/staff/user/creditunit.js | 27 + fuintAdmin/src/views/member/creditIndex.vue | 147 ++- fuintAdmin/src/views/order/order_Cashier.vue | 60 +- .../fuyou/service/impl/FyPayServiceImpl.java | 8 - .../controller/CreditUnitController.java | 30 + .../business/order/entity/CreditUnit.java | 6 +- .../order/service/CreditUnitService.java | 12 + .../service/impl/CreditUnitServiceImpl.java | 21 +- fuintCashierWeb/src/api/cashier/creditunit.js | 28 + .../views/cashier/NewComponents/homeindex.vue | 985 +++++++++++++++++- fuintCashierWeb/src/views/cashier/index.vue | 4 +- .../cashier/orderComponents/order_Cashier.vue | 33 +- 12 files changed, 1286 insertions(+), 75 deletions(-) diff --git a/fuintAdmin/src/api/staff/user/creditunit.js b/fuintAdmin/src/api/staff/user/creditunit.js index 1bd48a133..cbe8a1d5e 100644 --- a/fuintAdmin/src/api/staff/user/creditunit.js +++ b/fuintAdmin/src/api/staff/user/creditunit.js @@ -26,3 +26,30 @@ export function addCreditUnit(data) { data: data }) } + +// 修改挂账记录 +export function editCreditUnit(data) { + return request({ + url: '/business/creditUnit', + method: 'put', + data: data + }) +} + + +// 根据id查询挂账记录 +export function creditUnitInfo(id) { + return request({ + url: '/business/creditUnit/' + id, + method: 'get', + }) +} + + +// 根据id删除挂账记录 +export function deleteCreditUnit(id) { + return request({ + url: '/business/creditUnit/' + id, + method: 'delete', + }) +} diff --git a/fuintAdmin/src/views/member/creditIndex.vue b/fuintAdmin/src/views/member/creditIndex.vue index 393f04623..ef39e737a 100644 --- a/fuintAdmin/src/views/member/creditIndex.vue +++ b/fuintAdmin/src/views/member/creditIndex.vue @@ -2,24 +2,48 @@