From 4ed6ba6e8c95f19f84a19fc0f008dfb38b18071b Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Fri, 12 Jan 2024 13:55:40 +0800 Subject: [PATCH] bug --- fuintAdmin/src/api/convenienceStore/goods.js | 18 +++-- .../src/views/convenienceStore/goodsFile.vue | 56 ++++++++----- .../controller/CvsGoodsController.java | 9 +++ .../service/CvsGoodsService.java | 6 ++ .../service/impl/CvsGoodsServiceImpl.java | 8 ++ .../business/order/entity/CreditUnit.java | 8 ++ .../order/mapper/xml/HangBillMapper.xml | 5 +- .../service/impl/CreditUnitServiceImpl.java | 14 ++++ .../service/impl/OilOrderServiceImpl.java | 29 ++++--- .../src/api/cashier/cashierorder.js | 2 +- .../views/cashier/NewComponents/credit.vue | 79 ++++++++----------- .../views/cashier/NewComponents/homeindex.vue | 3 +- gasStation-uni/pagesMy/VIP/vip.vue | 2 +- 13 files changed, 153 insertions(+), 86 deletions(-) diff --git a/fuintAdmin/src/api/convenienceStore/goods.js b/fuintAdmin/src/api/convenienceStore/goods.js index 666ea2cc6..06679c043 100644 --- a/fuintAdmin/src/api/convenienceStore/goods.js +++ b/fuintAdmin/src/api/convenienceStore/goods.js @@ -20,11 +20,19 @@ export function selectTree(data) { // 联级选择器 树形数据结构 export function cvsGoodsTree() { - return request({ - url: '/business/cvsGoods/tree', - method: 'get', - }) - } + return request({ + url: '/business/cvsGoods/tree', + method: 'get', + }) +} + +// 联级选择器 树形数据结构 +export function cvsGoodsAll() { + return request({ + url: '/business/cvsGoods', + method: 'get', + }) +} // 查询一级分类 export function list(data) { diff --git a/fuintAdmin/src/views/convenienceStore/goodsFile.vue b/fuintAdmin/src/views/convenienceStore/goodsFile.vue index 1cfae09ed..df3751b1f 100644 --- a/fuintAdmin/src/views/convenienceStore/goodsFile.vue +++ b/fuintAdmin/src/views/convenienceStore/goodsFile.vue @@ -11,14 +11,6 @@ :options="cvsGoodOptions" :props="{ checkStrictly: true }" clearable> - - - - - - - - - - - + + + + + + + + + @@ -331,7 +327,7 @@