46 lines
2.5 KiB
Plaintext
46 lines
2.5 KiB
Plaintext
<%@page import="com.tenwa.reckon.product.ASObjectWindowCalc"%>
|
|
<%@page import="jbo.app.tenwa.customer.CUSTOMER_INFO"%>
|
|
<%@page import="jbo.com.tenwa.lease.comm.LB_UNION_LESSEE"%>
|
|
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
/*
|
|
Author: undefined 2018-10-25
|
|
Content: 示例详情页面
|
|
History Log:
|
|
*/
|
|
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
|
String compClientID = request.getParameter("CompClientID");
|
|
String contractid = CurPage.getParameter("ContractId");
|
|
if(sPrevUrl == null) sPrevUrl = "";
|
|
String sql="SELECT o.customertype FROM CUSTOMER_INFO o LEFT JOIN LB_UNION_LESSEE lult ON lult.customer_id=o.customerid WHERE lult.CONTRACT_ID='"+contractid+"'";
|
|
String custype = Sqlca.getString(new SqlObject(sql));
|
|
|
|
String sTempletNo = "LBContractQueryInfo";//--模板号--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
// doTemp.setColTips("", "测试");
|
|
// ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
dwTemp.ReadOnly = "-2";//只读模式
|
|
dwTemp.setGroupHidden("0020");
|
|
dwTemp.genHTMLObjectWindow(contractid);
|
|
String userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerQueryInfo.jsp?CompClientID=";
|
|
if("01".equals(custype)){
|
|
userll="/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp?CompClientID=";
|
|
}
|
|
dwTemp.replaceColumn("BaseInfo", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"630px\" frameborder=\"0\" src=\""+sWebRootPath+userll+compClientID+"&Query=Query\"></iframe>", CurPage.getObjectWindowOutput());
|
|
|
|
String sButtons[][] = {
|
|
{"false","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
|
};
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
$("#div_1580").find("[style='display:inline-block;width:6px;']").css("width","100");
|
|
$("#div_920").find("[style='display:inline-block;width:6px;']").css("width","100");
|
|
$("#div_1410").find("[style='display:inline-block;width:6px;']").css("width","88");
|
|
$("#div_1390").find("[style='display:inline-block;width:6px;']").css("width","100");
|
|
/* 右侧 样式微调*/
|
|
$("#A_div_900").find("[style='display:inline-block;width:6px;']").css("width","86");
|
|
$("#div_930").find("[style='display:inline-block;width:6px;']").css("width","86");
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |