{ "type" : "page", "title" : "项目备用金预支申请编辑", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "FORMNO", "label" : "表单号", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "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}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "LOANAMOUNT", "label" : "借款金额(元)", "required" : true, "type" : "input-number", "precision" : 2, "max" : 9.9999999999E8 } ] }, { "md" : 6, "body" : [ { "name" : "RESERVESOURCE", "label" : "备用金来源", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/RESERVE_RESERVESOURCE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "RESERVEUNIT", "label" : "外部借款单位", "type" : "static", "tpl" : "${RESERVEUNIT_DISPLAY__ ? RESERVEUNIT_DISPLAY__ : (SHOWNAME ? SHOWNAME : RESERVEUNIT)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PAYMETHOD", "label" : "支付方式", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PROJECTFUNDS_PAYMETHOD" } ] }, { "md" : 6, "body" : [ { "name" : "ESTIMATERETURNDATE", "label" : "预计还款日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "LOANREASON", "label" : "借款事由", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "LOANUSER", "label" : "申请人", "type" : "static", "tpl" : "${LOANUSER_DISPLAY__ ? LOANUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : LOANUSER)}", "value" : "${currentUser}" } ] }, { "md" : 6, "body" : [ { "name" : "APPLYDATE", "label" : "申请日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "name" : "PM_RESERVEAPPLY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }