2018-06-03 22:26:41 +08:00

44 lines
1.5 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 PG_TITLE = "产品组件详情";
BusinessObject inputParameter=SystemHelper.getPageComponentParameters(CurPage);
ASObjectWindow dwTemp =ObjectWindowHelper.createObjectWindow_Info("PRD_ComponentAEInfo", inputParameter, CurPage, request);
ASDataObject doTemp=dwTemp.getDataObject();
doTemp.setBusinessProcess("com.amarsoft.app.als.businessobject.web.XMLBusinessObjectProcessor");
//将ParaID作为参数传给显示模板
dwTemp.genHTMLObjectWindow("");
String sButtons[][] = {
{"false","All","Button","保存","保存所有修改","as_save(0)","","","",""}
};
%><%@include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function changeFormat(){
as_save(0,"openRule();");
}
function openRule(){
var id = getItemValue(0,getRow(),"ID");
if(!id) return;
var iframe = "sys_sub_page_frame_FLLB";
var obj = document.getElementById(iframe);
if(typeof(obj) == "undefined" || obj == null) return;
AsControl.OpenView("/ProductManage/ComponentConfig/ComponentAccountEntryList.jsp","XMLTags=<%=CurPage.getParameter("XMLTags")%> or ID='"+id+"'//Journal&ComponentID="+id,iframe,"");
}
$().ready(function(){
});
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>