{ "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" : "工程名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "value" : "${currentProject}" } ] }, { "md" : 6, "body" : [ { "name" : "RECORDNUMB", "label" : "停工通知单编号", "required" : true, "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "FILIALE", "label" : "(分)公司", "type" : "static", "tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}" } ] }, { "md" : 6, "body" : [ { "name" : "PROJECTMANAGER", "label" : "项目经理", "type" : "static", "tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "PROBLEMS", "label" : "存在问题", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "RECTIFICATION", "label" : "整改要求", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CERTIFICATION", "label" : "验证部门", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_Quality_certification", "value" : "2" } ] }, { "md" : 6, "body" : [ { "name" : "SHUTDOWNTYPE", "label" : "停工类型", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_Quality_shutdowntype", "value" : "1" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CHECKOUTDEPART", "label" : "签发部门", "type" : "static", "tpl" : "${CHECKOUTDEPART_DISPLAY__ ? CHECKOUTDEPART_DISPLAY__ : (NAME ? NAME : CHECKOUTDEPART)}", "value" : "${orgId}" } ] }, { "md" : 6, "body" : [ { "name" : "CHECKOUTPERSON", "label" : "签发人", "type" : "static", "tpl" : "${CHECKOUTPERSON_DISPLAY__ ? CHECKOUTPERSON_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CHECKOUTPERSON)}", "value" : "${currentUser}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CHECKOUTDATE", "label" : "签发日期", "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_PUB_DOWNTIMEINFO&businessKey=${PM_PUB_DOWNTIMEINFO_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_PUB_DOWNTIMEINFO_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }