skyouc
2025-03-07 3f332022ca04a0fa2806f424a1126cb9392a6153
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
-- save loc record
-- mysql
insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.loc', '0', '/manager/loc', 'loc', '0' , '0', '1' , '1');
 
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 库位信息表', '78', '1', 'manager:loc:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 库位信息表', '78', '1', 'manager:loc:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 库位信息表', '78', '1', 'manager:loc:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 库位信息表', '78', '1', 'manager:loc:remove', '3', '1', '1');
 
-- locale menu name
loc: 'Loc',
 
-- locale field
loc: {
    areaId: "areaId",
    code: "code",
    type: "type",
    name: "name",
    flagLogic: "flagLogic",
    fucAtrrs: "fucAtrrs",
    barcode: "barcode",
    unit: "unit",
    size: "size",
    row: "row",
    col: "col",
    lev: "lev",
    channel: "channel",
    maxParts: "maxParts",
    maxPack: "maxPack",
    flagLabelMange: "flagLabelMange",
    locAttrs: "locAttrs",
},
 
-- ResourceContent
import loc from './loc';
 
case 'loc':
    return loc;