diff --git a/WebContent/Frame/page/js/ow/as_dw_list_table.js b/WebContent/Frame/page/js/ow/as_dw_list_table.js index e4c1fa418..60e7e244a 100644 --- a/WebContent/Frame/page/js/ow/as_dw_list_table.js +++ b/WebContent/Frame/page/js/ow/as_dw_list_table.js @@ -1106,6 +1106,10 @@ TableBuilder.SelAll = function(tableId,source){ var objs = document.getElementsByName("check_S_" + tableId); for(var i=0;i"); var phaseInput = $(""); $("#ListButtonArea").append(phaseInput); @@ -71,9 +70,20 @@ setCheckBoxEvent();//搜索页面和排序后执行 } setCheckBoxEvent(); - $("#DW_CheckAll_myiframe0").remove(); +// $("#DW_CheckAll_myiframe0").remove(); }) - + + + function afterSubmitFilter1(){ + $("#DW_CheckAll_myiframe0").remove(); + } + + // 全选后操作 + function SellAllHandle(rowNum){ + var status = checkInputData(rowNum); + if(status == false)$("#DW_CheckAll_myiframe0").removeAttr("checked"); + } + function setCheckBoxEvent(){ /* if($("#DW_CheckAll_myiframe0")){ $("#DW_CheckAll_myiframe0").hide(); @@ -108,7 +118,7 @@ if(prevPaymentNumber == paymentNumber && prevPlanList == thisPlanList-1){ alert("操作失败,不允许隔期回笼,请重新选择!"); $("input[onclick='checkInputData("+i+")']").removeAttr("checked"); - return; + return false; } } }else{ @@ -119,7 +129,7 @@ if(sResult != "SUCCESS"){ alert("操作失败,不允许隔期回笼,请重新选择!"); $("input[onclick='checkInputData("+i+")']").removeAttr("checked"); - return; + return false; } } } @@ -154,16 +164,16 @@ if(!flag){ alert("操作失败,不允许隔期回笼,请重新选择!"); $("input[onclick='checkInputData("+i+")']").removeAttr("checked"); - return; + return false; } if(!cancelFlag){ alert("操作失败,不允许隔期回笼,请重新选择!"); $("input[onclick='checkInputData("+i+")']").prop("checked","true"); - return; + return false; } } if($.inArray(i, getCheckedRows(0)) == -1){ - return; + return false; } var thisRowMoney = removeFomatedNumber(getItemValue(0,i,"rent_over"));//最后一次选中的收款余额 thisRowMoney = eval(thisRowMoney + "+" + removeFomatedNumber(getItemValue(0,i,"penalty_over")));//最后一次选中的收款余额 @@ -185,6 +195,7 @@ if(prepareIncomeMoney-thisRowMoney>=mayopeMoney){ alert("操作失败,网银可核销金额已为0。"); $("input[onclick='checkInputData("+i+")']").removeAttr("checked"); + return false; }else if(mayopeMoney-(prepareIncomeMoney-thisRowMoney)>0 && mayopeMoney-(prepareIncomeMoney-thisRowMoney)