{ "type" : "page", "title" : "收发存明细", "body" : { "type" : "crud", "api" : "/api/flow/VIEW_OA_OFFICE_GOODSDETAILS_SEARCH?page=${page}&perPage=${perPage}", "syncLocation" : false, "filter" : { "title" : "查询", "body" : [ { "name" : "STORE_ID", "label" : "办公用品库", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/OA_OFFICE_STOREHOUSE/list?perPage=500" }, { "name" : "GOODS_NAME", "label" : "用品名称", "type" : "input-text" }, { "name" : "USER_ID", "label" : "相关人员", "type" : "picker", "clearable" : true, "source" : "/api/picker/1b6820ad-bc7c-4eef-ac63-652cdf52c75f/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "BUYORCOLLAR", "label" : "购买/领用", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/OA_OFFICE_BUYCOLLAR_TYPE" }, { "name" : "REGISTER_DATE", "label" : "发生日期", "type" : "input-date-range" }, { "name" : "ISKEEPACCOUNT", "label" : "是否记账", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO" }, { "name" : "ISNOLYCURRENT", "label" : "只列出本期", "required" : true, "type" : "checkbox", "value" : "1" } ] }, "columns" : [ { "name" : "VIEW_OA_OFFICE_GOODSDETAILS_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "GOODSSORT_ID", "label" : "用品类别id", "width" : 200, "toggled" : false }, { "name" : "GOODS_ID", "label" : "用品id", "width" : 200, "toggled" : false }, { "name" : "STORE_ID_DISPLAY__", "label" : "办公用品库Id", "width" : 200, "toggled" : false }, { "name" : "SORTFULLNAME", "label" : "用品类别", "width" : 100, "className" : "text-center" }, { "name" : "GOODS_NAME", "label" : "用品名称", "width" : 100, "className" : "text-center" }, { "name" : "GOODS_STANDARD", "label" : "规格", "width" : 100, "className" : "text-center" }, { "name" : "GOODS_UNIT", "label" : "计量单位", "width" : 100, "className" : "text-center" }, { "name" : "USER_ID_DISPLAY__", "label" : "相关人员", "width" : 80, "className" : "text-center" }, { "name" : "REGISTER_DATE", "label" : "发生日期", "width" : 80, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ", "className" : "text-center" }, { "name" : "BUYORCOLLAR", "label" : "购买/领用", "width" : 70, "type" : "mapping", "map" : { "1" : "购买", "2" : "领用" }, "className" : "text-center" }, { "name" : "AMOUNT", "label" : "数量", "width" : 100, "className" : "text-right" }, { "name" : "ISKEEPACCOUNT", "label" : "是否记账", "width" : 70, "type" : "mapping", "map" : { "0" : "否", "1" : "是", "false" : "否", "true" : "是" }, "className" : "text-center" } ] } }