{ "type" : "page", "title" : "填写项目管理费税金", "body" : { "type" : "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" : "CONTRACTUALMONEY", "label" : "合同价款(元)", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MANAGECOST", "label" : "管理费(元)", "required" : true, "type" : "input-number", "precision" : 2, "min" : -9.999999999E7, "max" : 9.9999999999E8 } ] }, { "md" : 6, "body" : [ { "name" : "TAXESCOST", "label" : "税金(元)", "required" : true, "type" : "input-number", "precision" : 2, "min" : -9.999999999E7, "max" : 9.9999999999E8 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "REGISTERUSER", "label" : "登记人", "type" : "static", "tpl" : "${REGISTERUSER_DISPLAY__ ? REGISTERUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTERUSER)}", "value" : "${currentUser}" } ] }, { "md" : 6, "body" : [ { "name" : "REGISTERDATE", "label" : "登记日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "name" : "PM_PROJECTMGTAXESCOST_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/PM_PROJECTMGTAXESCOST_ADD", "data" : { "&" : "${&}" } }, { "type" : "button", "label" : "保存并提交审批", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/PM_PROJECTMGTAXESCOST_ADDSUBMIT", "data" : { "&" : "${&}" } } ] } }