-- 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 库存明细表', '98', '1', 'manager:stockItem:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 库存明细表', '98', '1', 'manager:stockItem:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 库存明细表', '98', '1', 'manager:stockItem:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 库存明细表', '98', '1', 'manager:stockItem:remove', '3', '1', '1');

-- locale menu name
stockItem: 'StockItem',

-- locale field
stockItem: {
    stockId: "stockId",
    matnrId: "matnrId",
    code: "code",
    matnrk: "matnrk",
    anfme: "anfme",
    workQty: "workQty",
    qty: "qty",
    weight: "weight",
    unit: "unit",
    shipperId: "shipperId",
    splrId: "splrId",
    brand: "brand",
    batch: "batch",
    prodTime: "prodTime",
    inspectId: "inspectId",
    splrBtch: "splrBtch",
    asnOrder: "asnOrder",
    erpToken: "erpToken",
    erpOrder: "erpOrder",
    erpStkAdr: "erpStkAdr",
    locId: "locId",
    barcode: "barcode",
    purPrice: "purPrice",
    lockReason: "lockReason",
    lockStatus: "lockStatus",
    locker: "locker",
    lockedTime: "lockedTime",
},

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

case 'stockItem':
    return stockItem;
