-- save stock record
-- mysql
insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.stock', '0', '/manager/stock', 'stock', '0' , '0', '1' , '1');

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 合同信息', '93', '1', 'manager:stock:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 合同信息', '93', '1', 'manager:stock:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 合同信息', '93', '1', 'manager:stock:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 合同信息', '93', '1', 'manager:stock:remove', '3', '1', '1');

-- locale menu name
stock: 'Stock',

-- locale field
stock: {
    asnOrder: "asnOrder",
    erpToken: "erpToken",
    erpOrder: "erpOrder",
    erpStkAdr: "erpStkAdr",
    contractId: "contractId",
    lockReason: "lockReason",
    lockStatus: "lockStatus",
    locker: "locker",
    lockedTime: "lockedTime",
},

-- ResourceContent
import stock from './stock';

case 'stock':
    return stock;
