diff --git a/klp-ui/src/api/wms/productionLine.js b/klp-ui/src/api/wms/productionLine.js new file mode 100644 index 00000000..d9f954ea --- /dev/null +++ b/klp-ui/src/api/wms/productionLine.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询产线列表 +export function listProductionLine(query) { + return request({ + url: '/wms/productionLine/list', + method: 'get', + params: query + }) +} + +// 查询产线详细 +export function getProductionLine(lineId) { + return request({ + url: '/wms/productionLine/' + lineId, + method: 'get' + }) +} + +// 新增产线 +export function addProductionLine(data) { + return request({ + url: '/wms/productionLine', + method: 'post', + data: data + }) +} + +// 修改产线 +export function updateProductionLine(data) { + return request({ + url: '/wms/productionLine', + method: 'put', + data: data + }) +} + +// 删除产线 +export function delProductionLine(lineId) { + return request({ + url: '/wms/productionLine/' + lineId, + method: 'delete' + }) +} diff --git a/klp-ui/src/views/wms/productionLine/index.vue b/klp-ui/src/views/wms/productionLine/index.vue new file mode 100644 index 00000000..8de65533 --- /dev/null +++ b/klp-ui/src/views/wms/productionLine/index.vue @@ -0,0 +1,339 @@ + + + diff --git a/klp-wms/src/main/java/com/klp/Main.java b/klp-wms/src/main/java/com/klp/Main.java deleted file mode 100644 index 37a082d1..00000000 --- a/klp-wms/src/main/java/com/klp/Main.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.klp; - -public class Main { - public static void main(String[] args) { - System.out.println("Hello world!"); - } -} \ No newline at end of file