From 69feab70bcc18ca2908e37779e57c621c95b4a25 Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Mon, 23 Oct 2023 15:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E6=B2=B9=20=20=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/api/oilConfig/oilInventory.js | 28 +- .../src/views/oilConfig/oilInventory/list.vue | 36 +-- .../views/oilConfig/oilInventory/order.vue | 276 ++++++++++++------ .../controller/OilInventoryController.java | 17 +- .../OilInventoryOrderController.java | 13 +- .../entity/OilInventory.java | 4 +- .../entity/OilInventoryOrder.java | 9 +- .../mapper/OilInventoryMapper.java | 3 + .../mapper/OilInventoryOrderMapper.java | 4 + .../mapper/OilPurchaseOrderMapper.java | 7 + .../mapper/xml/OilInventoryMapper.xml | 71 +++-- .../mapper/xml/OilInventoryOrderMapper.xml | 49 ++-- .../mapper/xml/OilPurchaseOrderMapper.xml | 13 + .../service/OilInventoryOrderService.java | 19 +- .../service/OilInventoryService.java | 10 +- .../impl/OilInventoryOrderServiceImpl.java | 59 +++- .../service/impl/OilInventoryServiceImpl.java | 57 +++- .../vo/OilInventoryOrderVO.java | 1 + .../vo/OilInventoryVO.java | 12 + 19 files changed, 507 insertions(+), 181 deletions(-) create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/vo/OilInventoryVO.java diff --git a/fuintAdmin/src/api/oilConfig/oilInventory.js b/fuintAdmin/src/api/oilConfig/oilInventory.js index 76221a1b6..23b777d81 100644 --- a/fuintAdmin/src/api/oilConfig/oilInventory.js +++ b/fuintAdmin/src/api/oilConfig/oilInventory.js @@ -5,7 +5,16 @@ import request from "@/utils/request"; // 查询油罐列表 export function getInventoryApi(data) { return request({ - url: '/business/petrolStationManagement/oilInventory/getList', + url: '/business/petrolStationManagement/oilInventory/getListPage', + method: 'get', + params: data + }) +} + +// 根据id查询信息 +export function getInventoryByIdApi(data) { + return request({ + url: '/business/petrolStationManagement/oilInventory/data', method: 'get', params: data }) @@ -83,3 +92,20 @@ export function selectList2Api(data) { }) } +// 删除有关信息 +export function delInventoryOrderApi(data) { + return request({ + url: 'business/petrolStationManagement/oilInventoryOrder', + method: 'delete', + params: data + }) +} + +// 批量处理数据 +export function disposeBatchApi(data) { + return request({ + url: 'business/petrolStationManagement/oilInventoryOrder/disposeBatch', + method: 'post', + data: data + }) +} diff --git a/fuintAdmin/src/views/oilConfig/oilInventory/list.vue b/fuintAdmin/src/views/oilConfig/oilInventory/list.vue index 6e15854f3..bbd51e17f 100644 --- a/fuintAdmin/src/views/oilConfig/oilInventory/list.vue +++ b/fuintAdmin/src/views/oilConfig/oilInventory/list.vue @@ -59,14 +59,14 @@ - - - - - + + + + + - + @@ -122,6 +122,7 @@