apzl_leasing/WebContent/Tenwa/Lease/ChannelManage/selectQuotaSeparateList.jsp
2018-06-03 22:26:41 +08:00

46 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-10-20
Content:
History Log:
*/
String partnelid = CurPage.getParameter("partnelid");
String ChannelId = CurPage.getParameter("ChannelId");
ASObjectModel doTemp = new ASObjectModel("ChannelQuotaSeparateList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(20);
doTemp.setDefaultValue("partnel", partnelid);
doTemp.setDefaultValue("ChannelId", ChannelId);
dwTemp.genHTMLObjectWindow(partnelid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function viewAndEdit(){
var sPara = getItemValue(0,getRow(0),'ID');
var productId=getItemValue(0,getRow(0),'PRODUCTID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("请选择一条数据!");
return ;
}
var sUrl = "/Tenwa/Lease/ChannelManage/selectQuotaSeparateInfo.jsp";
var Id = getItemValue(0,getRow(0),'id');
var partnelid = "<%=partnelid%>";
var ChannelId = "<%=ChannelId%>";
if(typeof(ChannelId)=="undefined" || ChannelId==0 ){
alert("请先设置总额度");
return ;
}
AsDialog.PopView(sUrl,"partnelid="+partnelid+"&ChannelId="+ChannelId+'&Id='+Id+"&PRODUCTID="+productId,"dialogWidth=800px;dialogHeight=480px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"详情");
<!--AsControl.OpenView(sUrl,"partnelid="+partnelid+'&ChannelId=' +ChannelId+'&Id='+Id+"&PRODUCTID="+productId ,'_self','');-->
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>