{ "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}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MATERIALMONEY", "label" : "材料费(元)", "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "MACHINERYMONEY", "label" : "机械费(元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "LABORMONEY", "label" : "人工费(元)", "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "SUBPACKAGEMONEY", "label" : "分包费(元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "OTHERMONEY", "label" : "其他费(元)", "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "TOTALPRICE", "label" : "预算成本(元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "required" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_PROJECTCOSTPLAN&businessKey=${PM_PROJECTCOSTPLAN_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_PROJECTCOSTPLAN_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }