{ "type" : "page", "title" : "机械信息库编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MACHINECODE", "label" : "机械编码", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "MACHINENAME", "label" : "机械名称", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SPECIFICATIONS", "label" : "规格", "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "UNIT", "label" : "计量单位", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/24200cdd-d99b-4778-a2fb-c4653cda684e/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "RESOURCETYPEID", "label" : "机械分类", "required" : true, "type" : "tree-select", "clearable" : true, "source" : "/api/template/814d3da1-b354-4cd7-9ca5-e54e74849358/tree", "searchable" : true } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_MACHINEREPOSITORY&businessKey=${PM_MACHINEREPOSITORY_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_MACHINEREPOSITORY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "STATE", "label" : "状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/MATERIALSTATE", "hidden" : true } ], "actions" : [ ] } }