退回不显示用户信息和业务申请显示该承租人的所有合同
This commit is contained in:
parent
d014e5a62d
commit
b1233b0faf
@ -153,7 +153,8 @@
|
||||
phaseAction.append("无用户");
|
||||
}
|
||||
}
|
||||
|
||||
//隐藏退回是用户信息
|
||||
actionSet.hide();
|
||||
}
|
||||
|
||||
function doCancel(){
|
||||
|
||||
@ -173,13 +173,16 @@
|
||||
}
|
||||
/* if((phase=="0010"&&flowNo=="FundPaymentCarFlow")||((phase=="0020"||phase=="0010")&&flowNo=="BusinessApplyFlow")){
|
||||
actionSet.hide();
|
||||
} */
|
||||
}
|
||||
if(flowNo=="ProjectCreditFlow"||flowNo=="ProjectRecreditFlow"||flowNo=="Mortgage2FileFlow"||flowNo=="ContractOnhireFlow"||flowNo=="AdjustInterestFlow"){
|
||||
if(phase!="0010"){
|
||||
actionSet.hide();
|
||||
}
|
||||
}else{
|
||||
actionSet.hide();
|
||||
}*/
|
||||
if(vUser.length==1){
|
||||
actionSet.hide();
|
||||
}
|
||||
}
|
||||
}else{
|
||||
|
||||
@ -0,0 +1,55 @@
|
||||
<%@page import="com.tenwa.reckon.product.ASObjectWindowCalc"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-10-15
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
String customertype = CurPage.getParameter("CustomerType");
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
String certid = "";
|
||||
if("03".equals(customertype)){
|
||||
certid = Sqlca.getString("select cpt.certid from lb_union_lessee_temp lul inner join CUSTOMER_PERSON_TEMP cpt on cpt.customerid = lul.customer_id where lul.flowunid = '"+flowunid+"' group by cpt.certid");
|
||||
}else{
|
||||
certid = Sqlca.getString("select cct.certid from lb_union_lessee_temp lul inner join CUSTOMER_COMPANY_TEMP cct on cct.customerid = lul.customer_id where lul.flowunid = '"+flowunid+"' group by cct.certid");
|
||||
}
|
||||
ASObjectModel doTemp = new ASObjectModel("ContractRepeatList");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow(certid+","+certid);
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
// {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
// {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function newRecord(){
|
||||
var sUrl = "";
|
||||
AsControl.OpenView(sUrl,'','_self','');
|
||||
}
|
||||
function viewAndEdit(){
|
||||
/* var sUrl = "";
|
||||
var sPara = getItemValue(0,getRow(0),'SerialNo');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self',''); */
|
||||
// var sUrl = "/Tenwa/Lease/App/InformationTable/InfoView.jsp";
|
||||
var sUrl = "/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
var sparm='ContractId='+sPara+"&ProjectId="+getItemValue(0,getRow(0),'project_id')+"&ShowType=flow_contract_sum&RightType=ReadOnly&IsHistory=false";
|
||||
AsControl.OpenTab(sUrl,sparm,{title:'合同基本信息【'+ getItemValue(0,getRow(0),'contract_number')+'】'});
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user