合同信息查询添加资料清单付款明细

This commit is contained in:
G 2019-01-17 18:01:33 +08:00
parent 97367d029d
commit 29ba6cb230
2 changed files with 61 additions and 2 deletions

View File

@ -0,0 +1,58 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin.jspf"%>
<%@ 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" %>
<%
/*
页面说明:隐藏左侧区域的Main页面
*/
String PG_TITLE = ""; // 浏览器窗口标题 <title> PG_TITLE </title>
String PG_CONTENT_TITLE = ""; //默认的内容区标题
String PG_CONTNET_TEXT = "";//默认的内容区文字
String PG_LEFT_WIDTH = "0";//默认的treeview宽度
String RightType= CurPage.getParameter("RightType");
String sFlowunid = CurPage.getParameter("FlowUnid");
String sFlowNo= CurPage.getParameter("FlowNo");
BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid);
String product=CurPage.getParameter("productId");
List<Object> list=ProductParamUtil.getProductDocInfo(product,"PRD0412");
String type="";
String docList="";
for(int i=0;i<list.size();i++){
Map<String,Object> map=(Map<String,Object>)list.get(i);
if("BContractApproveFlow".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();
}
}
}
%>
<%@ include file="/Frame/resources/include/include_main.jspf"%>
<script type="text/javascript">
var docList="<%=docList%>";
myleft.width=1;
if("SingleRow"=="<%=type%>"){
if("FundPaymentCarFlow"=="<%=sFlowNo%>"||"BusinessApplyFlow"=="<%=sFlowNo%>"||"MortgageFileFlow"=="<%=sFlowNo%>"||"ContractSupportFlow"=="<%=sFlowNo%>"||"ProjectSupportFlow"=="<%=sFlowNo%>"||"ProjectApprovalFlow"=="<%=sFlowNo%>"||"FundPaymentFlow"=="<%=sFlowNo%>"||"ProjectCancelFlow"=="<%=sFlowNo%>"||"Mortgage2FileFlow"=="<%=sFlowNo%>"||"ContractCancelFlow"=="<%=sFlowNo%>"||"ContractChangeFlow"=="<%=sFlowNo%>"){
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocList.jsp","docList="+docList,"right","");
}else if("ProjectCreditFlow"=="<%=sFlowNo%>"||"ContractApprovalFlow"=="<%=sFlowNo%>"||"ProjectRecreditFlow"=="<%=sFlowNo%>"){
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocListTradition.jsp","docList="+docList,"right","");
}else{
AsControl.OpenView("/Tenwa/Comm/DocList/BussinessApproveDocList.jsp","docList="+docList,"right","");
}
}else{
if("ContractApprovalFlow"=="<%=sFlowNo%>"||"ContractChangeFlow"=="<%=sFlowNo%>"||"ProjectChangeFlow"=="<%=sFlowNo%>"){
AsControl.OpenView("/Tenwa/Comm/DocList/PayDocListTradition.jsp","docList="+docList,"right","");
}else{
AsControl.OpenView("/Tenwa/Comm/DocList/CustomerDocTab.jsp","docList="+docList,"right","");
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -100,7 +100,8 @@ function viewContractInfo(){
var sUrl = "/Tenwa/Lease/App/InformationTable/InfoView.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var contract_no = getItemValue(0,getRow(0),'contract_no');
var productId = getItemValue(0,getRow(0),'PRODUCT_ID');
var FlowUnid = getItemValue(0,getRow(0),'flowunid');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
@ -110,7 +111,7 @@ function viewContractInfo(){
if("01"=="<%=InfoForType%>"){
ShowType="flow_contract_sum_car";
}
var sparm='ContractId='+sPara+"&ProjectId="+getItemValue(0,getRow(0),'project_id')+"&ShowType="+ShowType+"&RightType=ReadOnly&IsHistory=false"+"&contract_no="+contract_no;
var sparm='ContractId='+sPara+"&ProjectId="+getItemValue(0,getRow(0),'project_id')+"&ShowType="+ShowType+"&RightType=ReadOnly&IsHistory=false"+"&contract_no="+contract_no+"&productId="+productId+"&FlowUnid="+FlowUnid;
AsControl.OpenTab(sUrl,sparm,{title:'合同基本信息【'+ getItemValue(0,getRow(0),'contract_number')+'】'});
}
</script>