{ "type" : "page", "title" : "选择用品信息(按库)", "body" : { "type" : "crud", "api" : "/api/flow/VIEW_OA_OFFICE_GOODSSTOCK_STORE_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "STORE_ID", "label" : "办公用品库", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/OA_OFFICE_STOREHOUSE/list?perPage=500" }, { "name" : "SORTFULLNAME", "label" : "用品类别", "type" : "input-text" }, { "name" : "GOODS_NAME", "label" : "用品名称", "type" : "input-text" }, { "name" : "GOODS_STANDARD", "label" : "规格", "type" : "input-text" }, { "name" : "GOODS_UNIT", "label" : "单位", "type" : "input-text" }, { "name" : "GOODS_IMPORTANCE", "label" : "重要性", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/OFFICE_SIZE" }, { "name" : "INVENTORYAMOUNT", "label" : "库存数量(>)", "type" : "input-number", "precision" : 0, "step" : 1 } ] }, "columns" : [ { "name" : "VIEW_OA_OFFICE_GOODSSTOCK_STORE_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "STORE_ID_DISPLAY__", "label" : "办公用品库", "width" : 200, "toggled" : false }, { "name" : "SORTFULLNAME", "label" : "用品类别", "width" : 200 }, { "name" : "GOODS_NAME", "label" : "用品名称", "width" : 200 }, { "name" : "GOODS_STANDARD", "label" : "规格", "width" : 200 }, { "name" : "GOODS_UNIT", "label" : "单位", "width" : 200 }, { "name" : "GOODS_IMPORTANCE", "label" : "重要性", "width" : 200, "type" : "mapping", "map" : { "1" : "大件", "2" : "小件" } }, { "name" : "INVENTORYAMOUNT", "label" : "库存数量", "width" : 200 }, { "name" : "USESTATUS", "label" : "使用状态", "width" : 200, "type" : "mapping", "map" : { "0" : "停用", "1" : "启用" } } ], "headerToolbar" : [ "pagination" ], "primaryField" : "VIEW_OA_OFFICE_GOODSSTOCK_STORE_ID" } }