1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;