{ "type" : "page", "title" : "设备验收查看页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "type" : "static", "tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}", "value" : "${currentProject}" } ] }, { "md" : 6, "body" : [ { "name" : "FILIALE", "label" : "单位名称", "type" : "static", "tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DEVICEID", "label" : "设备名称", "type" : "static", "tpl" : "${DEVICEID_DISPLAY__ ? DEVICEID_DISPLAY__ : (EQUIPMENTID ? EQUIPMENTID : DEVICEID)}" } ] }, { "md" : 6, "body" : [ { "name" : "TYPE", "label" : "设备类型", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_EquipmentType" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "EQUIPMENTNO", "label" : "设备编码", "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "CHECKTIME", "label" : "验收日期", "disabled" : true, "type" : "input-date" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CHECKCODE", "label" : "验收编码", "required" : true, "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "CHECKUNIT", "label" : "检定单位", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "验收单", "disabled" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_EQUIPMENTINSPECT&businessKey=${PM_EQUIPMENTINSPECT_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_EQUIPMENTINSPECT_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }