45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
<%@page import="com.tenwa.reckon.util.UUIDUtil"%>
|
|
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
/*
|
|
Author: undefined 2018-06-18
|
|
Content: 示例详情页面
|
|
History Log:
|
|
*/
|
|
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
|
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
|
String RightType= CurPage.getParameter("RightType");
|
|
String id = CurPage.getParameter("ID");
|
|
String userOrgId = CurUser.getOrgID();
|
|
String userId = CurUser.getUserID();
|
|
String customerid = UUIDUtil.getUUID();
|
|
if(sPrevUrl == null) sPrevUrl = "";
|
|
|
|
String sTempletNo = "GuarantorInfo";//--模板号--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
doTemp.setDefaultValue("CUSTOMERID", customerid);
|
|
doTemp.setDefaultValue("flowunid", sFlowUnid);
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
//dwTemp.ReadOnly = "-2";//只读模式
|
|
dwTemp.genHTMLObjectWindow(id);
|
|
String sButtons[][] = {
|
|
{"true","All","Button","保存","保存所有修改","save()","","","",""},
|
|
{"true","","Button","返回","返回列表页面","goBack()","","","","btn_icon_return"},
|
|
};
|
|
sButtonPosition = "north";
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
function save(){
|
|
as_save(0,"goBack()");
|
|
}
|
|
|
|
function goBack(){
|
|
//要跳转的url
|
|
var url="/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp";
|
|
var sparam="FlowUnid="+getItemValue(0,0,"flowunid")+"&RightType="+'<%=RightType%>';
|
|
AsControl.OpenView(url,sparam,"_self","");
|
|
}
|
|
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |