From 40d9cd510741a098bd52cbe22a5f9e5528f45abc Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期三, 23 四月 2025 17:09:01 +0800 Subject: [PATCH] # 新增 1. 通过单据新增出库单功能 2. 新增生成出库单接口 --- rsf-server/src/main/java/stockItem.sql | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/rsf-server/src/main/java/stockItem.sql b/rsf-server/src/main/java/stockItem.sql new file mode 100644 index 0000000..306ee63 --- /dev/null +++ b/rsf-server/src/main/java/stockItem.sql @@ -0,0 +1,41 @@ +-- save stockItem record +-- mysql +insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.stockItem', '0', '/manager/stockItem', 'stockItem', '0' , '0', '1' , '1'); + +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 缁煎悎鍗曟嵁鏄庣粏', '', '1', 'manager:stockItem:list', '0', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 缁煎悎鍗曟嵁鏄庣粏', '', '1', 'manager:stockItem:save', '1', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 缁煎悎鍗曟嵁鏄庣粏', '', '1', 'manager:stockItem:update', '2', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 缁煎悎鍗曟嵁鏄庣粏', '', '1', 'manager:stockItem:remove', '3', '1', '1'); + +-- locale menu name +stockItem: 'StockItem', + +-- locale field +stockItem: { + stockId: "stockId", + stockCode: "stockCode", + sourceItemId: "sourceItemId", + matnrId: "matnrId", + matnrCode: "matnrCode", + maktx: "maktx", + anfme: "anfme", + stockUnit: "stockUnit", + workQty: "workQty", + purQty: "purQty", + purUnit: "purUnit", + qty: "qty", + splrCode: "splrCode", + batch: "batch", + splrBatch: "splrBatch", + splrName: "splrName", + trackCode: "trackCode", + barcode: "barcode", + prodTime: "prodTime", + packName: "packName", +}, + +-- ResourceContent +import stockItem from './stockItem'; + +case 'stockItem': + return stockItem; -- Gitblit v1.9.1