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
| -- save purchase record
| -- mysql
| insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.purchase', '0', '/manager/purchase', 'purchase', '0' , '0', '1' , '1');
|
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query ERP采购单', '', '1', 'manager:purchase:list', '0', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create ERP采购单', '', '1', 'manager:purchase:save', '1', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update ERP采购单', '', '1', 'manager:purchase:update', '2', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete ERP采购单', '', '1', 'manager:purchase:remove', '3', '1', '1');
|
| -- locale menu name
| purchase: 'Purchase',
|
| -- locale field
| purchase: {
| code: "code",
| type: "type",
| from: "from",
| preArr: "preArr",
| anfme: "anfme",
| qty: "qty",
| workQty: "workQty",
| channel: "channel",
| erpCode: "erpCode",
| startTime: "startTime",
| endTime: "endTime",
| project: "project",
| },
|
| -- ResourceContent
| import purchase from './purchase';
|
| case 'purchase':
| return purchase;
|
|