{ "type" : "page", "title" : "111", "body" : { "type" : "crud", "api" : "/api/flow/PM_PAYMENTAPPLY_BATCH_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PAYMENTAPPLYCODE", "label" : "付款单据号", "disabled" : true, "type" : "input-text" }, { "name" : "MONEYITEM", "label" : "支付款项", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PROJECTFUNDS_MONEYITEM" }, { "name" : "OTHERMONEYITEM", "label" : "其他费用支付款项", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/OTHERCONTRACTTYPE" }, { "name" : "ACCOUNTTYPE", "label" : "结算类型", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/COST_ACCOUNTTYPE" }, { "name" : "PARTB", "label" : "用款单位", "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "ACCOUNTNUMBER", "label" : "银行账号", "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "APPLYCONTENT", "label" : "申请内容", "type" : "input-text" }, { "name" : "PAYMETHOD", "label" : "支付方式", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PROJECTFUNDS_PAYMETHOD" }, { "name" : "PAYMETTYPE", "label" : "付款类型", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PROJECTFUNDS_PAYMETTYPE" }, { "name" : "SUBTYPE", "label" : "承包方式", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/bycontracttype" }, { "name" : "OPERATOR", "label" : "申请人", "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "APPLYDATE", "label" : "申请日期", "type" : "input-date" }, { "name" : "REMARK", "label" : "备注", "type" : "input-text" }, { "name" : "APPROVALTYPE", "label" : "审批类型", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/APPROVAL_TYPE" }, { "name" : "PAYMENTS", "label" : "付款集合", "type" : "select", "multiple" : true, "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "STATUS", "label" : "审批状态", "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "OPENINGBANK", "label" : "开户银行", "type" : "input-text" }, { "name" : "PAYEEUNITNAME", "label" : "用款单位全称", "type" : "input-text" } ] }, "columns" : [ { "name" : "PM_PAYMENTAPPLY_BATCH_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PAYMENTAPPLYCODE", "label" : "付款单据号", "width" : 200 }, { "name" : "MONEYITEM", "label" : "支付款项", "width" : 200, "type" : "mapping", "map" : { "1" : "人工费", "2" : "分包项目费", "3" : "工程材料费", "4" : "工程机械费", "5" : "管理费", "6" : "税金", "7" : "其他费用", "10" : "分包项目-劳务(专户)" } }, { "name" : "OTHERMONEYITEM", "label" : "其他费用支付款项", "width" : 200, "type" : "mapping", "map" : { "1" : "农民工工伤保险", "2" : "零星", "3" : "其它", "4" : "分摊工资", "5" : "设计费", "6" : "工程审计费", "7" : "交易中心费", "8" : "劳保费", "9" : "其他费用", "10" : "间接费", "11" : "保险费", "12" : "租金", "13" : "折旧费", "14" : "工程设计合同", "15" : "工程外围布局合同", "16" : "外调项目服务合同", "17" : "辅助服务合同", "18" : "检测费", "19" : "项目水电费", "20" : "保证金", "21" : "福利保险缴交合同" } }, { "name" : "ACCOUNTTYPE", "label" : "结算类型", "width" : 200, "type" : "mapping", "map" : { "1" : "工程用", "2" : "临时设施用", "3" : "文明施工措施用" } }, { "name" : "PARTB_DISPLAY__", "label" : "用款单位", "width" : 200 }, { "name" : "ACCOUNTNUMBER_DISPLAY__", "label" : "银行账号", "width" : 200 }, { "name" : "APPLYCONTENT", "label" : "申请内容", "width" : 200 }, { "name" : "PAYMETHOD", "label" : "支付方式", "width" : 200, "type" : "mapping", "map" : { "1" : "银行转账", "2" : "现金", "3" : "汇款", "4" : "支票", "5" : "本票" } }, { "name" : "PAYMETTYPE", "label" : "付款类型", "width" : 200, "type" : "mapping", "map" : { "1" : "项目类", "2" : "办公类" } }, { "name" : "SUBTYPE", "label" : "承包方式", "width" : 200, "type" : "mapping", "map" : { "1" : "单包", "2" : "双包" } }, { "name" : "OPERATOR_DISPLAY__", "label" : "申请人", "width" : 200 }, { "name" : "APPLYDATE", "label" : "申请日期", "width" : 200, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "REMARK", "label" : "备注", "width" : 200 }, { "name" : "APPROVALTYPE", "label" : "审批类型", "width" : 200, "type" : "mapping", "map" : { "1" : "默认" } }, { "name" : "PAYMENTS", "label" : "付款集合", "width" : 200 }, { "name" : "STATUS", "label" : "审批状态", "width" : 200, "type" : "mapping", "map" : { "1" : "未提交", "2" : "处理中", "3" : "通过", "4" : "未通过", "5" : "重新提交", "6" : "作废" } }, { "name" : "OPENINGBANK", "label" : "开户银行", "width" : 200 }, { "name" : "PAYEEUNITNAME", "label" : "用款单位全称", "width" : 200 } ], "headerToolbar" : [ { "type" : "button", "id" : "添加", "label" : "添加", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "添加", "body" : { "type" : "tpl", "tpl" : "该单据未配编辑表单" } } }, { "type" : "button", "id" : "修改", "label" : "修改", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "修改", "body" : { "type" : "tpl", "tpl" : "该单据未配编辑表单" } } }, { "type" : "button", "id" : "删除", "label" : "删除", "level" : "danger", "actionType" : "ajax", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "confirmText" : "确认要删除此记录吗?", "api" : { "method" : "post", "url" : "/api/flow/PM_PAYMENTAPPLY_BATCH_DELETE", "data" : { "ids" : "${selectedItems|pick:PM_PAYMENTAPPLY_BATCH_ID|join:','}" } } }, { "type" : "button", "id" : "查看", "label" : "查看", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "查看", "body" : { "type" : "tpl", "tpl" : "该单据未配编辑表单" } } }, { "type" : "button", "id" : "提交审批", "label" : "提交审批", "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/flow/PM_PAYMENTAPPLY_BATCH_SUBMIT", "data" : { "PM_PAYMENTAPPLY_BATCH_ID" : "${selectedItems[0].PM_PAYMENTAPPLY_BATCH_ID}" } }, "disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}" }, { "type" : "button", "id" : "查看审批", "label" : "查看审批", "icon" : "fa fa-search", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "onEvent" : { "click" : { "actions" : [ { "actionType" : "openApprovalDrawer", "args" : { "taskName" : "审批详情", "processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}", "businessKey" : "${selectedItems[0].PM_PAYMENTAPPLY_BATCH_ID}", "businessTable" : "PM_PAYMENTAPPLY_BATCH", "readOnly" : true, "mode" : "read" } } ] } } }, "pagination" ], "primaryField" : "PM_PAYMENTAPPLY_BATCH_ID" } }