91 lines
3.0 KiB
Plaintext
91 lines
3.0 KiB
Plaintext
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
|
||
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||
/*
|
||
Author: undefined 2017-09-20
|
||
Content:
|
||
History Log:
|
||
*/
|
||
String plan_date = DateAssistant.getToday();
|
||
ASObjectModel doTemp = new ASObjectModel("CustomerBankVertifyList");
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||
dwTemp.Style="1"; //--设置为Grid风格--
|
||
dwTemp.MultiSelect = true; //多选
|
||
dwTemp.ReadOnly = "1"; //只读模式
|
||
dwTemp.setPageSize(10);
|
||
dwTemp.genHTMLObjectWindow("");
|
||
|
||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||
String sButtons[][] = {
|
||
{"false","All","Button","验证银行卡信息","验证银行卡信息","verifyBankInfo()","","","","btn_icon_add",""}
|
||
//{"true","All","Button","编辑","编辑","viewAndEdit()","","","","btn_icon_add",""},
|
||
};
|
||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||
<script type="text/javascript">
|
||
|
||
<%-- function initFilter(){
|
||
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
|
||
setFilterAreaOption(0,"plan_date","Equals");
|
||
//提交查询
|
||
//submitFilterArea();
|
||
}
|
||
|
||
window.onload= initFilter; --%>
|
||
|
||
//验证银行卡四、三、二要素
|
||
function verifyBankInfo(){
|
||
var parm = getItemValueArray(0, "customerid");
|
||
if(typeof(parm) == "undefined" || parm.length == 0 )
|
||
{
|
||
alert("请至少选择一条记录,进行校验!");
|
||
return;
|
||
}
|
||
|
||
if(typeof(parm) == "undefined" || parm.length > 1 )
|
||
{
|
||
alert("请选择单条记录,进行校验!");
|
||
return;
|
||
}
|
||
|
||
var mobile = getItemValue(0,getRow(0),"mobile");
|
||
if(typeof(mobile) == "undefined" || mobile.length == 0 ){
|
||
alert("预留手机为空,请先补充预留手机号!");
|
||
return;
|
||
}
|
||
//验证银行卡四要素
|
||
var res = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "verifyFourelementBankManage", "customerid="+parm[0]);
|
||
alert("校验完成!");
|
||
reloadSelf();
|
||
}
|
||
function auditRecord(){
|
||
var sParm = getItemValueArray(0, "id");
|
||
if(typeof(sParm) == "undefined" || sParm.length == 0 )
|
||
{
|
||
alert("请至少选择一条记录!");
|
||
return;
|
||
}
|
||
var ids = "";
|
||
for(var i = 0;i < sParm.length; i++){
|
||
if(ids.length == 0){
|
||
ids += sParm[i] +"@";
|
||
}else{
|
||
ids += sParm[i] +"@";
|
||
}
|
||
}
|
||
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "fristCollectAudit", "id="+ids);
|
||
if(res == "success"){
|
||
alert("审核通过!");
|
||
reloadSelf();
|
||
}
|
||
}
|
||
/* function viewAndEdit(){
|
||
var sUrl = "/Tenwa/Lease/Flow/CollectionAudit/LcCustomerBankVertifyInfo.jsp";
|
||
var sPara = getItemValue(0,getRow(0),'customerid');
|
||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||
alert("参数不能为空!");
|
||
return ;
|
||
}
|
||
AsControl.OpenView(sUrl,'CustomerId=' +sPara ,'_self','');
|
||
} */
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |