-- save matnrRestrictionWarehouse record -- mysql insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.matnrRestrictionWarehouse', '0', '/manager/matnrRestrictionWarehouse', 'matnrRestrictionWarehouse', '0' , '0', '1' , '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 物料限制', '', '1', 'manager:matnrRestrictionWarehouse:list', '0', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 物料限制', '', '1', 'manager:matnrRestrictionWarehouse:save', '1', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 物料限制', '', '1', 'manager:matnrRestrictionWarehouse:update', '2', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 物料限制', '', '1', 'manager:matnrRestrictionWarehouse:remove', '3', '1', '1'); -- locale menu name matnrRestrictionWarehouse: 'MatnrRestrictionWarehouse', -- locale field matnrRestrictionWarehouse: { productionLineCode: "productionLineCode", productionLineName: "productionLineName", matnrRestrictionCode: "matnrRestrictionCode", }, -- ResourceContent import matnrRestrictionWarehouse from './matnrRestrictionWarehouse'; case 'matnrRestrictionWarehouse': return matnrRestrictionWarehouse;