From c77d470e9270c24d7be1a447d864bc3d1ef4e98c Mon Sep 17 00:00:00 2001 From: amarsoft Date: Sat, 7 Jul 2018 14:28:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A3=E6=AC=BE=E5=8D=A1=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AccountChange/AccountChangeList.jsp | 166 +++++++++ .../AccountChange/AccountChangeListMain.jsp | 60 ++++ .../LBDeductChangeDocumentInfo.jsp | 92 +++++ .../AccountChangeCompanyChangeInfo.jsp | 260 ++++++++++++++ .../company/AccountChangeCompanyInfo.jsp | 330 ++++++++++++++++++ .../company/AccountChangeCompanyMain.jsp | 98 ++++++ .../person/AccountChangePersonChangeInfo.jsp | 213 +++++++++++ .../person/AccountChangePersonInfo.jsp | 326 +++++++++++++++++ .../person/AccountChangePersonMain.jsp | 97 +++++ .../person/ControlForInitChangeAccount.jsp | 36 ++ .../person/DeductCardDocList.jsp | 70 ++++ .../AccountChangeApprovalApplyList.jsp | 76 ++++ .../AccountChangeCompanyChangeInfo.jsp | 156 +++++++++ .../company/AccountChangeCompanyInfo.jsp | 106 ++++++ .../person/AccountChangePersonChangeInfo.jsp | 173 +++++++++ .../person/AccountChangePersonInfo.jsp | 103 ++++++ .../person/DeductCardDocList.jsp | 70 ++++ .../{AccountPayMargin.java => CommLoan.java} | 2 +- ...gin.java => CommLoanFactMoneyToMoney.java} | 2 +- 19 files changed, 2434 insertions(+), 2 deletions(-) create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeList.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp create mode 100644 WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp rename src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/{AccountPayMargin.java => CommLoan.java} (85%) rename src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/{OtherReceiveMargin.java => CommLoanFactMoneyToMoney.java} (85%) diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeList.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeList.jsp new file mode 100644 index 000000000..177170a93 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeList.jsp @@ -0,0 +1,166 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ page import="com.tenwa.comm.dataRightmanager.DataRightManager" %> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + String jboWhere = CurPage.getParameter("JboWhere"); + if(jboWhere == null){ + jboWhere = ""; + } + String RightType=CurPage.getParameter("RightType"); + if(RightType==null) RightType=""; + String curUserId = CurUser.getUserID(); + String curOrgId = CurUser.getOrgID(); + ASObjectModel doTemp = new ASObjectModel("LBContractInfoForAccount"); + String sCondtion=DataRightManager.getRightCondition(CurUser,"O"); + doTemp.appendJboWhere(sCondtion); + doTemp.appendJboWhere(jboWhere); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; + dwTemp.ReadOnly = "1"; + dwTemp.setPageSize(pageSize == null ? 20 : Integer.parseInt(pageSize)); + + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][]; + if(jboWhere.endsWith("'approve_status05'")){ + sButtons = new String[][]{ + {"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","编辑","编辑","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","取消","取消","del()","","","","btn_icon_delete",""} + }; + }else{ + sButtons = new String[][]{ + {"true","","Button","详情","详情","view()","","","","btn_icon_detail",""} + }; + } +%><%@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/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp new file mode 100644 index 000000000..03f3c51f6 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp @@ -0,0 +1,60 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "扣款卡信息变更申请"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + + //获得参数,判断是否直接打开其中某个页面 + String pageType = CurPage.getParameter("pageType"); + if(pageType == null){ + pageType = "我的草稿"; + } + + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "示例模块主页面","right"); + + //定义树图结构 + tviTemp.insertPage("root","我的草稿","",1); + tviTemp.insertPage("root","待审核的申请","",2); + tviTemp.insertPage("root","审核中的申请","",3); + tviTemp.insertPage("root","审核通过的申请","",4); + tviTemp.insertPage("root","审核不通过的申请","",5); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ include file="/Frame/resources/include/include_main.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp new file mode 100644 index 000000000..f0ecb5a8c --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp @@ -0,0 +1,92 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@include file="/Frame/resources/include/include_begin_info.jspf"%> +<%@ page import="com.tenwa.doc.action.DocumentListAction" %> +<% + //获得组件参数 + String sObjectType=CurPage.getParameter("ObjectType");// + String contractId=CurPage.getParameter("ContractId"); + + ASObjectModel doTemp = new ASObjectModel("LBAdjustDocumentInfo"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="2"; // 设置DW风格 1:Grid 2:Freeform + dwTemp.ReadOnly = "0"; // 设置是否只读 1:只读 0:可写 + dwTemp.genHTMLObjectWindow(""); + String[][] sButtons=null; + sButtons=new String[][]{ + {"true","","Button","保存","保存所有修改","importRecord()","","","",""}, + {"true","","Button","取消","取消","viewAndEdit_attachment()","","","","btn_icon_close"}}; +%><%@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/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp new file mode 100644 index 000000000..c437635da --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp @@ -0,0 +1,260 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "法人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + String ContractId = CurPage.getParameter("ContractId"); + String applyId = CurPage.getParameter("ApplyId"); + if(ContractId == null) ContractId = ""; + String customerid = CurPage.getParameter("CustomerId"); + String sTempletNo ="LBDeductCardChangeCompany";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setHtmlEvent("IS_CONSIGN_REPAY", "onchange", "checkIsConsignRepay"); + + //获取变更表里面的数据,根据process判断是否已经签约了,如果已经签约了,现扣款卡信息页面为只读 + BizObject boAccount = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME).createQuery("flow_unid=:applyId and file_flag='yes'").setParameter("applyId", applyId).getSingleResult(false); + if(boAccount!=null){ + String signType = boAccount.getAttribute("SIGN_TYPE").toString(); + if(signType!="" ){ + RightType= "ReadOnly"; + } + } + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + if((null!=RightType&&RightType.equals("ReadOnly"))){ + dwTemp.ReadOnly = "1";//只读模式 + RightType="ReadOnly"; + isShowButton=false; + }else{ + isShowButton=true; + } + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(applyId); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + // {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp new file mode 100644 index 000000000..87d53697e --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp @@ -0,0 +1,330 @@ +<%@page import="jbo.com.tenwa.lease.comm.LB_UNION_LESSEE"%> +<%@page import="jbo.app.tenwa.customer.CUSTOMER_TEL"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_HIS"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "法人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String PROJECT_ID = CurPage.getParameter("ProjectId"); + if(PROJECT_ID == null) PROJECT_ID = ""; + String CustomerId = CurPage.getParameter("CustomerId"); + if(CustomerId == null) CustomerId = ""; + String customerType=CurPage.getParameter("CustomerType"); + if(customerType == null) customerType = ""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId == null) applyId = ""; + + //获取电话号码,电子签章用 + BizObjectManager bomTel = JBOFactory.getBizObjectManager(CUSTOMER_TEL.CLASS_NAME); + BizObject boTel = bomTel.createQuery("select * from o where customerid=:customerid").setParameter("customerid",CustomerId).getSingleResult(false); + String telephone = boTel.getAttribute("telephone").toString(); + + //获取姓名,电子签章用 + BizObjectManager bomName = JBOFactory.getBizObjectManager(LB_UNION_LESSEE.CLASS_NAME); + BizObject boName = bomName.createQuery("select * from o where CONTRACT_ID=:contract_id").setParameter("contract_id",ContractId).getSingleResult(false); + String customerName = boName.getAttribute("customer_name").toString(); + + String status = CurPage.getParameter("Status"); + String sTempletNo ="LBDeductCardOld";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + if("approve_status02".equals(status)){ + doTemp.setJboClass(LB_DEDUCT_CARD_HIS.CLASS_NAME); + doTemp.appendJboWhere("apply_id='"+CurPage.getParameter("ApplyId")+"'"); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + if(RightType!=null && "ReadOnly".equals(RightType)){ + isShowButton=false; + } + dwTemp.genHTMLObjectWindow(ContractId); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","生成变更材料","生成合同","generateQuotation()","","","","btn_icon_detail",""}, + {"true","","Button","发起电子签约","电子签章合同","signOnLine()","","","","btn_icon_detail",""}, + {"true","","Button","查询签约结果","查询签约结果","getStatus()","","","","btn_icon_detail",""}, + {"true","All","Button","修改","修改","edit()","","","","btn_icon_edit"}, + {"false","","Button","下载合同文件","下载合同","downloadDoc()","","","","btn_icon_down",""} + }; + //sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp new file mode 100644 index 000000000..f6ee03fa9 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp @@ -0,0 +1,98 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "示例模块主页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "扣款信息变更","right"); + + out.write(new Button("关闭", "关闭", "closePage()", "", "btn_icon_close").getHtmlText()); + out.write(new Button("提交", "提交", "doSubmit()", "", "btn_icon_submit").getHtmlText()); + + //定义树图结构 + /* String sFolder1=tviTemp.insertFolder("root","示例信息","",1); + tviTemp.insertPage(sFolder1,"所有的示例信息","",1); + tviTemp.insertPage(sFolder1,"我的示例信息","",2); + tviTemp.insertPage(sFolder1,"他的示例信息","",3); */ + tviTemp.insertPage("root","项目基本信息","",1); + tviTemp.insertPage("root","扣款信息变更","",2); + tviTemp.insertPage("root","合同打印","",3); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ include file="/Frame/resources/include/include_main.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp new file mode 100644 index 000000000..93cc996a1 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp @@ -0,0 +1,213 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId == null) applyId = ""; + + String sTempletNo ="LBDeductCardChange";//--模板号-- + + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //获取变更表里面的数据,根据process判断是否已经签约了,如果已经签约了,现扣款卡信息页面为只读 + BizObject boAccount = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME).createQuery("flow_unid=:applyId and file_flag='yes'").setParameter("applyId", applyId).getSingleResult(false); + if(boAccount!=null){ + String signType = boAccount.getAttribute("SIGN_TYPE").toString(); + if(signType!="" ){ + RightType= "ReadOnly"; + } + } + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + if(RightType!=null && RightType.equals("ReadOnly")){ + dwTemp.ReadOnly = "1";//只读模式 + } + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(applyId); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + //{"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; + //sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp new file mode 100644 index 000000000..7cb215c2b --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp @@ -0,0 +1,326 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_CHANGE"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_UNION_LESSEE"%> +<%@page import="jbo.app.tenwa.customer.CUSTOMER_TEL"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_HIS"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId==null)applyId=""; + String customerType=CurPage.getParameter("CustomerType"); + if(customerType==null)customerType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId==null)ContractId=""; + String customerId = CurPage.getParameter("CustomerId"); + if(customerId==null)customerId=""; + //获取电话号码 + BizObjectManager bomTel = JBOFactory.getBizObjectManager(CUSTOMER_TEL.CLASS_NAME); + BizObject boTel = bomTel.createQuery("select * from o where customerid=:customerid").setParameter("customerid",customerId).getSingleResult(false); + String telephone = boTel.getAttribute("telephone").toString(); + //获取姓名 + BizObjectManager bomName = JBOFactory.getBizObjectManager(LB_UNION_LESSEE.CLASS_NAME); + BizObject boName = bomName.createQuery("select * from o where CONTRACT_ID=:contract_id").setParameter("contract_id",ContractId).getSingleResult(false); + String customerName = boName.getAttribute("customer_name").toString(); + + + + if(customerId == null) customerId = ""; + String status = CurPage.getParameter("Status"); + String sTempletNo ="LBDeductCardOldPerson";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setVisible("IS_CONSIGN_REPAY", false); + doTemp.setVisible("CONSIGN_REPAY_CERT", false); + doTemp.setVisible("CONSIGN_REPAY_PHONE", false); + if("approve_status02".equals(status)){ + doTemp.setJboClass(LB_DEDUCT_CARD_HIS.CLASS_NAME); + doTemp.appendJboWhere("apply_id='"+CurPage.getParameter("ApplyId")+"'"); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + if(RightType!=null && "ReadOnly".equals(RightType)){ + isShowButton=false; + } + + + dwTemp.genHTMLObjectWindow(ContractId); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","生成变更材料","生成合同","generateQuotation()","","","","btn_icon_detail",""}, + {"true","","Button","发起电子签约","电子签章合同","signOnLine()","","","","btn_icon_detail",""}, + {"true","","Button","查询签约结果","查询签约结果","getStatus()","","","","btn_icon_detail",""}, + {"true","All","Button","修改","修改","edit()","","","","btn_icon_edit"}, + {"false","","Button","下载合同文件","下载合同","downloadDoc()","","","","btn_icon_down",""} + }; + //sButtonPosition = "south"; + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp new file mode 100644 index 000000000..340314eea --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp @@ -0,0 +1,97 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "示例模块主页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "扣款信息变更","right"); + + out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText()); + out.write(new Button("提交", "提交", "submitApply()", "", "btn_icon_submit").getHtmlText()); + //定义树图结构 + /* String sFolder1=tviTemp.insertFolder("root","示例信息","",1); + tviTemp.insertPage(sFolder1,"所有的示例信息","",1); + tviTemp.insertPage(sFolder1,"我的示例信息","",2); + tviTemp.insertPage(sFolder1,"他的示例信息","",3); */ + tviTemp.insertPage("root","项目基本信息","",1); + tviTemp.insertPage("root","扣款信息变更","",2); + tviTemp.insertPage("root","合同打印","",3); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ include file="/Frame/resources/include/include_main.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp new file mode 100644 index 000000000..6d6082ed1 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp @@ -0,0 +1,36 @@ +<%@page import="jbo.sys.CHANNEL_SUBMIT_APPLICATIONS"%> +<%@page import="com.tenwa.action.channelportal.channelsubmit.ChannelSubmitAction" %> +<%@page import="com.tenwa.action.channelportal.businesshanding.businesschangeapply.ChannelUpdate" %> +<%@page import="com.amarsoft.are.jbo.*"%> +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBeginMDAJAX.jsp"%><% + try{ + String ContractId = CurPage.getParameter("ContractId"); + String flowNo = "AccountChangeFlow"; + String ProjectId = CurPage.getParameter("ProjectId"); + String CustomerType = CurPage.getParameter("CustomerType"); + String param ="ContractId="+ContractId+"&ProjectId="+ProjectId+"&CustomerType="+CustomerType; + + String curUserId=CurPage.getParameter("CurUserID"); + BizObjectManager bom=JBOFactory.getBizObjectManager(CHANNEL_SUBMIT_APPLICATIONS.CLASS_NAME); + + if(bom!=null){ + List bos = bom.createQuery("select * from O WHERE Objectno=:Objectno and FlowNo='AccountChangeFlow' and status='approve_status01'") + .setParameter("Objectno", ContractId) + .getResultList(); + if(bos.size()>0){ + out.print("请勿重复提交"); + }else{ + String result =ChannelSubmitAction.changeSubmitStatus(curUserId,ContractId,flowNo,param,null); + if("SUCCESS".equals(result)){ + out.print("SUCCESS"); + }else{ + out.print("ERROR"); + } + } + } + }catch(Exception e){ + out.print("ERROR"); + throw e; + } +%><%@ include file="/IncludeEndAJAX.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp new file mode 100644 index 000000000..bd7eed0e5 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp @@ -0,0 +1,70 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2017-09-28 + Content: + History Log: + */ + String applyId = CurPage.getParameter("applyId"); + if(applyId==null) applyId = ""; + String customerType = CurPage.getParameter("customerType"); + if(customerType==null) customerType = ""; + ASObjectModel doTemp = new ASObjectModel("DeductCardDocList"); + //根据中间表id查询 + doTemp.appendJboWhere("flow_unid='"+applyId+"'"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + + }; +%><%@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/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp new file mode 100644 index 000000000..f3d482d9e --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp @@ -0,0 +1,76 @@ +<%@ page contentType="text/html; charset=GBK"%> + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%> +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%> + + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp new file mode 100644 index 000000000..d174fc211 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp @@ -0,0 +1,156 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + String rightType = CurPage.getParameter("RightType"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + String IsHistory = CurPage.getParameter("IsHistory"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + if(ContractId == null) ContractId = ""; + String sTempletNo ="LBDeductCardChangeCompanyTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly="1"; + dwTemp.genHTMLObjectWindow(FlowUnid); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"false","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; + sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp new file mode 100644 index 000000000..af6b7d384 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp @@ -0,0 +1,106 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId==null)applyId=""; + String RightType = CurPage.getParameter("RightType"); + if(RightType!=null)RightType = ""; + String sTempletNo ="LBDeductCardOldTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setVisible("IS_CONSIGN_REPAY", true); + doTemp.setVisible("CONSIGN_REPAY_CERT", true); + doTemp.setVisible("CONSIGN_REPAY_PHONE", true); + doTemp.setVisible("DEBIT_BANK", true); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"ReadOnly".equals(RightType)?"false":"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp new file mode 100644 index 000000000..aa21b7126 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp @@ -0,0 +1,173 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + String rightType = CurPage.getParameter("RightType"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId == null) applyId = ""; + String sTempletNo ="LBDeductCardChangeTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + /* {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, */ + }; + sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp new file mode 100644 index 000000000..011e41f45 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp @@ -0,0 +1,103 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId==null)applyId=""; + String RightType = CurPage.getParameter("RightType"); + if(RightType!=null)RightType = ""; + String sTempletNo ="LBDeductCardOldTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"} + }; + sButtonPosition = "north"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp new file mode 100644 index 000000000..bd7eed0e5 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp @@ -0,0 +1,70 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2017-09-28 + Content: + History Log: + */ + String applyId = CurPage.getParameter("applyId"); + if(applyId==null) applyId = ""; + String customerType = CurPage.getParameter("customerType"); + if(customerType==null) customerType = ""; + ASObjectModel doTemp = new ASObjectModel("DeductCardDocList"); + //根据中间表id查询 + doTemp.appendJboWhere("flow_unid='"+applyId+"'"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + + }; +%><%@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/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java similarity index 85% rename from src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java rename to src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java index 7e940031e..2a5790e4e 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java @@ -7,7 +7,7 @@ import com.amarsoft.are.jbo.JBOTransaction; import com.tenwa.comm.exception.BusinessException; import com.tenwa.voucher.service.VoucherJavaParamService; -public class AccountPayMargin implements VoucherJavaParamService{ +public class CommLoan implements VoucherJavaParamService{ @Override public Map getJavaParam(JBOTransaction tx, diff --git a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java similarity index 85% rename from src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java rename to src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java index 1ff7e808d..30a4a50d9 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java @@ -7,7 +7,7 @@ import com.amarsoft.are.jbo.JBOTransaction; import com.tenwa.comm.exception.BusinessException; import com.tenwa.voucher.service.VoucherJavaParamService; -public class OtherReceiveMargin implements VoucherJavaParamService{ +public class CommLoanFactMoneyToMoney implements VoucherJavaParamService{ @Override public Map getJavaParam(JBOTransaction tx,