57 lines
2.8 KiB
Plaintext
57 lines
2.8 KiB
Plaintext
<%@page import="com.amarsoft.app.base.util.SystemHelper"%>
|
|
<%@page import="com.amarsoft.app.base.util.ObjectWindowHelper"%>
|
|
<%@page import="com.amarsoft.app.base.businessobject.*"%>
|
|
<%@ page contentType="text/html; charset=GBK"%><%@
|
|
include file="/Frame/resources/include/include_begin_info.jspf"%>
|
|
<%
|
|
String productType1 = CurPage.getParameter("ProductType1");
|
|
String productType2 = CurPage.getParameter("ProductType2");
|
|
String productID = CurPage.getParameter("ProductID");
|
|
String PG_TITLE = "产品规格详情";
|
|
BusinessObject inputParameter=SystemHelper.getPageComponentParameters(CurPage);
|
|
ASObjectWindow dwTemp =ObjectWindowHelper.createObjectWindow_Info("PRD_ProductSpecificInfo"+productType1, inputParameter, CurPage, request);
|
|
ASDataObject doTemp=dwTemp.getDataObject();
|
|
|
|
//将ParaID作为参数传给显示模板
|
|
dwTemp.genHTMLObjectWindow("");
|
|
|
|
|
|
String sButtons[][] = {
|
|
{"true","All","Button","保存","保存所有修改","saveRecord()","","","",""}
|
|
};
|
|
|
|
%><%@
|
|
include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
function saveRecord(){
|
|
as_save(0,"openComponentDef();");
|
|
}
|
|
|
|
<%-- function openComponentDef(){
|
|
var serialNo = getItemValue(0,getRow(),"SerialNo");
|
|
var versionID = getItemValue(0,getRow(),"VERSIONID");
|
|
if(typeof(serialNo) != "undefined" && serialNo != "" && typeof(versionID) != "undefined" && versionID != "" && '<%=productType2%>'=='1' )
|
|
{
|
|
AsControl.OpenView("/ProductManage/ProductConfig/ProductComponentDef.jsp","SpecificSerialNo="+serialNo+"&ProductID=<%=productID%>","sys_sub_page_frame_GGCS","");
|
|
}else if(typeof(serialNo) != "undefined" && serialNo != "" && typeof(versionID) != "undefined" && versionID != "" && '<%=productType2%>'=='2' )
|
|
{
|
|
AsControl.OpenView("/Tenwa/Core/CreditLimit/LALimitConfigList.jsp","SpecificId="+serialNo+"&ProductId=<%=productID%>&RightType=<%=CurPage.getParameter("RightType")%>","sys_sub_page_frame_GGCS","");
|
|
}
|
|
} --%>
|
|
function openComponentDef(){
|
|
var serialNo = getItemValue(0,getRow(),"SerialNo");
|
|
var versionID = getItemValue(0,getRow(),"VERSIONID");
|
|
if(typeof(serialNo) != "undefined" && serialNo != "" && typeof(versionID) != "undefined" && versionID != "")
|
|
{
|
|
AsControl.OpenView("/ProductManage/ProductConfig/ProductComponentDef.jsp","SpecificSerialNo="+serialNo+"&ProductID=<%=productID%>","sys_sub_page_frame_GGCS","");
|
|
}else if(typeof(serialNo) != "undefined" && serialNo != "" && typeof(versionID) != "undefined" && versionID != "" && '<%=productType2%>'=='2' )
|
|
{
|
|
AsControl.OpenView("/Tenwa/Core/CreditLimit/LALimitConfigList.jsp","SpecificId="+serialNo+"&ProductId=<%=productID%>&RightType=<%=CurPage.getParameter("RightType")%>","sys_sub_page_frame_GGCS","");
|
|
}
|
|
}
|
|
|
|
$().ready(function(){
|
|
openComponentDef();
|
|
});
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |