diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp index 4a7737999..cc3b6adbf 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp @@ -1,61 +1,73 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> -<%@ page import="java.util.List" %> -<%@ page import="java.util.Map" %> -<%@ page import="com.amarsoft.app.util.ProductParamUtil" %> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% - /* - Author: undefined 2019-07-15 - Content: 示例详情页面 - History Log: - */ - String RightType= CurPage.getParameter("RightType"); - String sFlowunid = CurPage.getParameter("FlowUnid"); - String sFlowNo= CurPage.getParameter("FlowNo"); - String PhaseNo= CurPage.getParameter("PhaseNo"); - sFlowNo = "MortgageFileMailFlow"; - BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid); - String product=CurPage.getParameter("productId"); - List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); - String type=""; - String docList=""; - for(int i=0;i map=(Map)list.get(i); - if(sFlowNo.equals(map.get("FLOW_INFO").toString())){ - type=map.get("TYPE").toString(); - if("SingleRow".equals(type)){ - docList=map.get("DOCLIST").toString(); - }else{ - List l=(List)map.get("DOCCONFIG"); - docList=l.toString(); - } - } - } - String ObjectNo = CurPage.getParameter("ObjectNo"); - String contract_id = CurPage.getParameter("contract_id"); - String compClientID = CurPage.getParameter("CompClientID"); - String id = CurPage.getParameter("id"); - System.out.println(id); - String sTempletNo = "LBPlaceFileTempInfo";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - dwTemp.Style = "2";//freeform - //dwTemp.ReadOnly = "-2";//只读模式 - dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); - dwTemp.replaceColumn("placefile", "", CurPage.getObjectWindowOutput()); - dwTemp.replaceColumn("opinion", "", CurPage.getObjectWindowOutput()); - - String sButtons[][] = { - {"true","All","Button","保存","保存所有修改","as_save(0,'frame_list.window.saveRecordForApprove()')","","","",""}, - {"false","All","Button","返回","返回列表","returnList()","","","",""} - }; -// sButtonPosition = "south"; -%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> - +<%@ page contentType="text/html; charset=GBK"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="java.util.List" %> +<%@ page import="java.util.Map" %> +<%@ page import="com.amarsoft.app.util.ProductParamUtil" %> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2019-07-15 + Content: 示例详情页面 + History Log: + */ + String RightType= CurPage.getParameter("RightType"); + String sFlowunid = CurPage.getParameter("FlowUnid"); + String sFlowNo= CurPage.getParameter("FlowNo"); + String PhaseNo= CurPage.getParameter("PhaseNo"); + String userName = CurUser.getUserName(); + + sFlowNo = "MortgageFileMailFlow"; + BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid); + String product=CurPage.getParameter("productId"); + List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); + String type=""; + String docList=""; + for(int i=0;i map=(Map)list.get(i); + if(sFlowNo.equals(map.get("FLOW_INFO").toString())){ + type=map.get("TYPE").toString(); + if("SingleRow".equals(type)){ + docList=map.get("DOCLIST").toString(); + }else{ + List l=(List)map.get("DOCCONFIG"); + docList=l.toString(); + } + } + } + String ObjectNo = CurPage.getParameter("ObjectNo"); + String contract_id = CurPage.getParameter("contract_id"); + String compClientID = CurPage.getParameter("CompClientID"); + String id = CurPage.getParameter("id"); + System.out.println(id); + String sTempletNo = "LBPlaceFileTempInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + if("0020".equals(PhaseNo)){ + doTemp.setDefaultValue("ARCHIVING_PERSON", CurUser.getUserName()); + + } + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); + dwTemp.replaceColumn("placefile", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("opinion", "", CurPage.getObjectWindowOutput()); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","as_save(0,'frame_list.window.saveRecordForApprove()')","","","",""}, + {"false","All","Button","返回","返回列表","returnList()","","","",""} + }; +// sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp index 96b244bd5..59ffcc755 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp @@ -1,171 +1,171 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% - /* - Author: undefined 2019-07-11 - Content: - History Log: - */ - String flowunid = CurPage.getParameter("ObjectNo"); - String PhaseNo = CurPage.getParameter("PhaseNo"); - ASObjectModel doTemp = new ASObjectModel("LBnotAllMailHndHandoverTempList"); - if("0010".equals(PhaseNo)){ - doTemp.setVisible("ALLHANDOVERSTATUS", false); - doTemp.setVisible("ARCHIVING_CABINET_NO", false); - doTemp.setVisible("ARCHIVING_TIME", false); - doTemp.setVisible("ARCHIVING_PERSON", false); - } - doTemp.setLockCount(2); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); - dwTemp.Style="1"; - //--设置为Grid风格-- - if("0010".equals(PhaseNo)){ - dwTemp.MultiSelect = true; //多选 - } - dwTemp.ReadOnly = "1"; //只读模式 - dwTemp.setPageSize(10); - dwTemp.genHTMLObjectWindow(flowunid); - - //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 - String sButtons[][] = { - {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - {"0010".equals(PhaseNo)?"true":"false","","Button","配置快递信息","配置快递信息","selectApproveDetail()","","","","btn_icon_up",""}, - {"0010".equals(PhaseNo)?"true":"false","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, - }; -%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> - +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-07-11 + Content: + History Log: + */ + String flowunid = CurPage.getParameter("ObjectNo"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + ASObjectModel doTemp = new ASObjectModel("LBnotAllMailHndHandoverTempList"); + if("0010".equals(PhaseNo)){ +// doTemp.setVisible("ALLHANDOVERSTATUS", false);//显示归档状态 + doTemp.setVisible("ARCHIVING_CABINET_NO", false); + doTemp.setVisible("ARCHIVING_TIME", false); + doTemp.setVisible("ARCHIVING_PERSON", false); + } + doTemp.setLockCount(2); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; + //--设置为Grid风格-- + if("0010".equals(PhaseNo)){ +// dwTemp.MultiSelect = true; //多选 + } + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(flowunid); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"0010".equals(PhaseNo)?"true":"false","","Button","配置快递信息","配置快递信息","selectApproveDetail()","","","","btn_icon_up",""}, + {"0010".equals(PhaseNo)?"true":"false","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, + }; +%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> + <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_S绔.docx b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_S绔.docx new file mode 100644 index 000000000..3f2db9f3c Binary files /dev/null and b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_S绔.docx differ diff --git a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_澶ч.docx b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_澶ч.docx new file mode 100644 index 000000000..0081312a2 Binary files /dev/null and b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級_澶ч.docx differ diff --git a/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java b/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java index 834369cd4..522d743a3 100644 --- a/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java +++ b/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java @@ -153,6 +153,8 @@ public class FileTemplateUtil { return "[{'fileTemplate':\""+"[{'text':'保值租赁','value':'91c7718aa925428ca312e343d1f5149f'}]"+"\"}]"; }else if ("WYC".equals(operationType)){//网约车 return "[{'fileTemplate':\""+"[{'text':'合同(售后回租)和抵押合同','value':'c8d5b729a0954482877c26a1293b766b'}]"+"\"}]"; + }else if ("DT".equals(operationType)){//大通 + return "[{'fileTemplate':\""+"[{'text':'大通售后回租模板','value':'51a5f03ebe3b45cc8ae2b32fdaeceeae'}]"+"\"}]"; }else{ if("01".equals(leasform)){ return "[{'fileTemplate':\""+"[{'text':'合同(直租)','value':'24aba365e2794a018814ae81341486bf'}]"+"\"}]"; diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java index a8a9426b2..7eaa34bb5 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java @@ -2,11 +2,14 @@ package com.tenwa.lease.flow.project.businessapply; import java.util.HashMap; import java.util.Map; + import jbo.app.tenwa.doc.LB_FILE_MAILARCHIVING_INFO; import jbo.app.tenwa.doc.LB_FILE_MAILARCHIVING_INFO_TEMP; import jbo.app.tenwa.doc.LM_APPROVALOPINION_DOC; import jbo.app.tenwa.doc.LM_APPROVALOPINION_DOC_TEMP; import jbo.app.tenwa.doc.LM_MAILONLINE_DOC_TEMP; +import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT; + import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.BizObjectManager; import com.amarsoft.are.jbo.JBOException; @@ -105,11 +108,17 @@ public class DocMailAction { } public String saveERPInfo(JBOTransaction tx) throws JBOException{ BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); - String[] contractidlist = contractid.split("@"); - for(int i=0;i