{ "type" : "page", "title" : "安全验收申请(五建定制)-编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PM_PROJECTID", "label" : "工程名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/8fbf5298-4588-42e9-ab52-698fc9b380d3/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" : "FILIALE", "label" : "(分)公司", "type" : "static", "tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BUILDINGNUMBER", "label" : "楼号", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "ARRANGEMENT", "label" : "层次", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SPECIFICLOCATION", "label" : "具体部位", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "ACCEPTANCECONTENTS", "label" : "验收内容", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_SAFETYACCEPTANCE_TYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PLANNEDACCEPTANCEDATE", "label" : "计划验收日期", "required" : true, "type" : "input-date" } ] }, { "md" : 6, "body" : [ { "name" : "TIMEREQUIREMENT", "label" : "时间要求", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_SAFETYACCEPTANCE_TIMETYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "SITECOMPLETION", "label" : "现场完成情况", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "APPLICANT", "label" : "申请人", "type" : "static", "tpl" : "${APPLICANT_DISPLAY__ ? APPLICANT_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLICANT)}", "value" : "${currentUser}" } ] }, { "md" : 6, "body" : [ { "name" : "APPLYDATE", "label" : "申请日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "required" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_SAFETYACCEPTANCE_WJ&businessKey=${PM_SAFETYACCEPTANCE_WJ_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_SAFETYACCEPTANCE_WJ_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }