{ "type" : "page", "title" : "(设计项目)项目报销申请编辑", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "FORMNO", "label" : "表单号", "required" : true, "type" : "input-text", "maxLength" : 50 } ] }, { "md" : 4, "body" : [ { "name" : "ORGID", "label" : "报销(分)公司", "type" : "static", "tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}" } ] }, { "md" : 4, "body" : [ { "name" : "DEPARTID", "label" : "报销部门", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_DEPART/list?perPage=500", "value" : "${currentDepart}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "INVOICEORNOT", "label" : "有无发票", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/HAVE_NO" } ] }, { "md" : 4, "body" : [ { "name" : "REIMBURSEMENTNAME", "label" : "经办人", "type" : "static", "tpl" : "${REIMBURSEMENTNAME_DISPLAY__ ? REIMBURSEMENTNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REIMBURSEMENTNAME)}", "value" : "${currentUser}" } ] }, { "md" : 4, "body" : [ { "name" : "PAYEE", "label" : "领款人", "type" : "picker", "clearable" : true, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标", "value" : "${currentUser}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "TOTALMONEY", "label" : "报销金额(元)", "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 4, "body" : [ { "name" : "CAPITAL", "label" : "大写", "disabled" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "APPROVALTYPE", "label" : "审批类型", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/REIMBURSEMENT_APPROVALTYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "SUBJECTIDS", "label" : "报销科目", "type" : "select", "clearable" : true, "source" : "/api/picker/OA_SUBJECT/list?perPage=500" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DETAIL", "label" : "报销明细", "required" : true, "type" : "input-table", "id" : "eg-DETAIL", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REIMBURSEMENTREASON", "label" : "报销事由", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_REIMBURSEMENTAPPLY&businessKey=${PM_REIMBURSEMENTAPPLY_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_REIMBURSEMENTAPPLY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "APPLYDATE", "label" : "填报日期", "required" : true, "type" : "input-date", "value" : "${now}", "hidden" : true }, { "name" : "BILLSTATE", "label" : "确认状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0", "hidden" : true }, { "name" : "CONFIRMATIONDATE", "label" : "确认日期", "type" : "input-date", "hidden" : true }, { "name" : "CONFIRMATIONPEOPLE", "label" : "确认人", "type" : "picker", "clearable" : true, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标", "hidden" : true } ], "actions" : [ ] } }