{ "type" : "page", "title" : "其他费用降低率", "body" : { "type" : "form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "group", "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "value" : "${currentProject}" } ] }, { "name" : "OTHERS", "label" : "费用项", "type" : "input-table", "id" : "eg-OTHERS", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "COSTTYPE", "label" : "费用项", "type" : "tpl", "tpl" : "${COSTTYPE_DISPLAY__ ? COSTTYPE_DISPLAY__ : COSTTYPE}", "quickEdit" : false }, { "name" : "PRICEFREE", "label" : "降低率(%)", "quickEdit" : { "name" : "PRICEFREE", "type" : "input-number", "precision" : 2 } } ], "needConfirm" : false }, { "name" : "PM_OTHERDISCOUNT_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/PM_OTHERDISCOUNT_ADD_UPDATE", "data" : { "&" : "${&}" } } ] } }