diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/LBContractDevolutionInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/LBContractDevolutionInfo.jsp index 53e1541d7..2599345b0 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/LBContractDevolutionInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractEnd/LBContractDevolutionInfo.jsp @@ -87,6 +87,7 @@ <% String sButtons[][] = { {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","All","Button","生成电子章","盖公司电子章","stamp()","","","",""}, }; sButtonPosition = "north"; %> @@ -118,9 +119,10 @@ param["templateNo"]="a9335f5624124b6db29f0d721fc8b61c"; //生成文件关联关系 - tempParam["OBJECTTYPE"]="产权转移单"; + tempParam["OBJECTTYPE"]="transfer"; tempParam["FLOW_UNID"]="<%=sFlowUnid%>"; tempParam["PROJ_ID"]="<%=projectid%>"; + tempParam["ID"]="<%=contractid%>"; tempParam["CONTRACT_ID"]="<%=contractid%>"; tempParam["contract_number"]="<%=contract_number%>"; //生成模板固定参数 @@ -133,10 +135,10 @@ if(sparam.length>0){sparam+=",";} sparam+=key+"="+param[key]; } - var deleteparam ="PROJECT_PLAN_NUMBER="+"<%=contractid%>"+",objecttype=产权转移单"; + var deleteparam ="PROJECT_PLAN_NUMBER="+"<%=contractid%>"+",objecttype=transfer"; var deleteresult=RunJavaMethodTrans("com.tenwa.officetempalte.controller.QutationAction","deletedevtion",deleteparam); var result=RunJavaMethodTrans("com.tenwa.officetempalte.action.CreateOfficeAction","createOfficeByTemplate",sparam); - RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdfAnnex","contract_id=<%=contractid%>,PLAN_LIST=transfer"); + RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdfAnnex","contract_id=<%=contractid%>,PLAN_LIST=transfer,FlowUnid=<%=sFlowUnid%>"); if(bIsInsert) { beforeInsert(); @@ -146,6 +148,17 @@ reloadSelf(); } + function stamp(){ +// var flie = getItemValue(0,getRow(0),"FILENAME"); +// if(typeof(flie)=="undefined"||flie==null||flie==""){ +// alert("请先生成产权转移单!!"); +// return; +// } + var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","TcollectionSignA","contract_id=<%=contractid%>,FlowUnid=<%=sFlowUnid%>,flagType=transfer"); + + location.reload(); + + } <%/*~END~*/%> diff --git a/WebContent/Tenwa/Lease/Flow/RentNotify/TriditionRentNotifyAdjust.jsp b/WebContent/Tenwa/Lease/Flow/RentNotify/TriditionRentNotifyAdjust.jsp new file mode 100644 index 000000000..7b4c448a1 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/RentNotify/TriditionRentNotifyAdjust.jsp @@ -0,0 +1,148 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%> +<%@ page import="com.tenwa.doc.action.DocListInitAction" %> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="com.amarsoft.app.util.*" %> +<% + /* + Author: undefined 2016-09-01 + Content: + History Log: + */ + String flowunid = CurPage.getParameter("FlowUnid"); + BizObject flow = GetFlowAction.getFlowBussinessObject(flowunid); + String projid = flow.getAttribute("proj_id").getString(); + String contract_id = flow.getAttribute("contract_id").getString(); + String ishistory = CurPage.getParameter("ishistory"); + String nodeNo=CurPage.getParameter("NodeNo"); + String RightType = CurPage.getParameter("RightType"); + + String sTempletNo = CurPage.getParameter("TempletNo");//模板号 + sTempletNo = "AdjustmentNotice"; + String userName = CurUser.getUserName(); + + String compClientID = request.getParameter("CompClientID"); + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setVisible("ACTION", true); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp, + request); + dwTemp.Style = "1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; + dwTemp.setPageSize(50); +// dwTemp.genHTMLObjectWindow(docname+","+contract_id); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] =null; + sButtons=new String[][]{ + {"true","All","Button","生成租金通知书","生成租金通知书","generateQuotation()","","","","btn_icon_generate"}, + {"true","All","Button","公司盖章","公司盖章","stamp()","","","",""}, + }; +%><%@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/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index d7f6179ff..36fdf165e 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -428,7 +428,7 @@ - +