70 lines
3.4 KiB
Plaintext
70 lines
3.4 KiB
Plaintext
<%@page import="com.sun.org.apache.xalan.internal.xsltc.compiler.sym"%>
|
||
<%@page import="com.tenwa.reckon.product.ASObjectWindowCalc"%>
|
||
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||
/*
|
||
Author: undefined 2017-07-10
|
||
Content: ʾÀýÏêÇéÒ³Ãæ
|
||
History Log:
|
||
*/
|
||
String sFlowUnid = CurPage.getParameter("FlowUnid");//Á÷³Ì±àºÅ
|
||
String sPhaseNo=CurPage.getParameter("PhaseNo");//½×¶ÎºÅ
|
||
String FlowNo=CurPage.getParameter("FlowNo");//Á÷³ÌÃû³Æ
|
||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||
if(sPrevUrl == null) sPrevUrl = "";
|
||
String compClientID = CurPage.getParameter("CompClientID");
|
||
String rightType = CurPage.getParameter("RightType");
|
||
String sTempletNo = "BusinessProjectTempInfo";//--Ä£°åºÅ--
|
||
|
||
//BizObject bo=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT", "flow_unid=:flowunid").setParameter("flowunid",sFlowUnid).getSingleResult(false);
|
||
//String a=bo.getAttribute("CustomerType").toString();
|
||
String carSeries = CurPage.getParameter("carSeries");
|
||
String certtype = CurPage.getParameter("certtype");
|
||
String carSystem = CurPage.getParameter("carSystem");
|
||
String productModel = CurPage.getParameter("productModel");
|
||
String custype = CurPage.getParameter("CustomerType");
|
||
String certid =CurPage.getParameter("certid");
|
||
//String sTempletNo = "BusinessProjectTempInfo_temp";//--Ä£°åºÅ--
|
||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||
//×âÁÞÐÎʽsetÖ»¶Á
|
||
if((null!=sPhaseNo&&sPhaseNo.equals("0010")) && ("BusinessApplyFlow".equals(FlowNo) ||"BusinessChangeFlow".equals(FlowNo))){
|
||
doTemp.setReadOnly("LEAS_FORM", false);
|
||
doTemp.setReadOnly("PROJECT_SOURCE", false);
|
||
|
||
}
|
||
String userll=null;
|
||
userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID=";
|
||
if("01".equals(custype)){
|
||
userll="/Tenwa/Customer/Lessee/Person/LegalPersonApplicationInfo.jsp?CompClientID=";
|
||
}
|
||
|
||
|
||
ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request);
|
||
dwTemp.Style = "2";//freeform
|
||
dwTemp.setGroupHidden("0020");
|
||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
|
||
dwTemp.replaceColumn("customer_info", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"630px\" frameborder=\"0\" src=\""+sWebRootPath+userll+compClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||
String sButtons[][] = {
|
||
{"ReadOnly".equals(rightType)?"false":"true","","Button","±£´æ","±£´æ","save()","","","","btn_icon_saveNew",""}
|
||
};
|
||
|
||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||
<script type="text/javascript">
|
||
/* ×ó²àÑùʽ΢µ÷ */
|
||
$("#div_1030").find("[style='display:inline-block;width:6px;']").css("width","100");
|
||
$("#div_1106").find("[style='display:inline-block;width:6px;']").css("width","100");
|
||
$("#div_1260").find("[style='display:inline-block;width:6px;']").css("width","100");
|
||
$("#div_1270").find("[style='display:inline-block;width:6px;']").css("width","76");
|
||
/* ÓÒ²à Ñùʽ΢µ÷*/
|
||
$("#div_1035").find("[style='display:inline-block;width:6px;']").css("width","86");
|
||
$("#div_1111").find("[style='display:inline-block;width:6px;']").css("width","86");
|
||
|
||
|
||
|
||
function save(){
|
||
var leasfrom = getItemValue(0,getRow(),"LEAS_FORM");
|
||
var projectSource = getItemValue(0,getRow(),"PROJECT_SOURCE");
|
||
frame_list.window.saveRecord(leasfrom,projectSource);
|
||
}
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |