35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
<%@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_list.jspf"%>
|
|
<%
|
|
|
|
String xmlFile = CurPage.getParameter("XMLFile");
|
|
String xmlTags = CurPage.getParameter("XMLTags");
|
|
String keys = CurPage.getParameter("Keys");
|
|
String PG_TITLE = "产品";
|
|
|
|
ASObjectWindow dwTemp = ObjectWindowHelper.createObjectWindow_List("PRD_ComponentAccountCodeList", BusinessObject.createBusinessObject(), CurPage, request);
|
|
|
|
ASDataObject doTemp=dwTemp.getDataObject();
|
|
|
|
doTemp.setBusinessProcess("com.amarsoft.app.als.businessobject.web.XMLBusinessObjectProcessor");
|
|
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
|
|
dwTemp.genHTMLObjectWindow("");
|
|
|
|
String sButtons[][] = {
|
|
{"true","","Button","新增","新增","as_add(0)","","","","",""},
|
|
{"true","","Button","保存","保存","as_save(0)","","","","",""},
|
|
{"true","","Button","删除","删除","if(confirm('确实要删除吗?')) as_delete(0)","","","","",""}
|
|
};
|
|
%>
|
|
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
//非数据库表数据操作,请加入以下代码
|
|
for(var i=0;i<DZ[0][1].length;i++){
|
|
TableFactory.ColKeyIndexs[TableFactory.ColKeyIndexs.length] = i;
|
|
}
|
|
});
|
|
</script>
|
|
<%@include file="/Frame/resources/include/include_end.jspf"%> |