75 lines
2.6 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 import="jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP"%>
<%@page import="jbo.app.tenwa.calc.LC_EBANK_PROCESS"%>
<%@page import="jbo.app.tenwa.calc.LC_EBANK_TEMP"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
String flowunid = CurPage.getParameter("FlowUnid");
String phaseNo = CurPage.getParameter("PhaseNo");
String rightType = CurPage.getParameter("RightType");
String ishistory = CurPage.getParameter("IsHistory");
String sTempletNo = CurPage.getParameter("TempletNo");//模板号
ASObjectModel doTemp = new ASObjectModel("LCSplittingPayTempList");
if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1";
dwTemp.ShowSummary = "1";
if(!"ReadOnly".equals(rightType)){
dwTemp.MultiSelect = true;
}
dwTemp.ReadOnly = "1";
if("0040".equals(phaseNo)){
dwTemp.ReadOnly = "0";
}
dwTemp.setPageSize(50);
ASDataObject ado = dwTemp.getDataObject();
dwTemp.genHTMLObjectWindow(flowunid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String[][] sButtons = null;
if("ReadOnly".equals(rightType)){
sButtons = new String[][]{
};
}else if("0010".equals(phaseNo)){
sButtons = new String[][]{
{"true","","Button","保存","保存","as_save(0)","","","","btn_icon_save",""},
{"true","","Button","撤销","撤销","deleteProcess()","","","","btn_icon_delete",""}
};
}else{
sButtons = new String[][]{
{"true","","Button","保存","保存","as_save(0)","","","","btn_icon_save",""},
};
}
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function deleteProcess(){
var planID = getItemValueArray(0,"plan_id")+","+TablePage.getCheckedItemValueArrayWithOtherPage("plan_id",s_c_p[0]);
if("," == planID){
alert("请先选择需要撤回的选项");
return;
}
planID = planID.replace(/,/ig,"@");
if(planID.startsWith("@")){
planID = planID.substring(1);
}
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.rent.rentreback.OtherPayMethod","changeSplittingStatusBatch",
"planIDs="+planID);
if("success"==sResult){
as_delete(0);
alert("撤销成功!");
reloadSelf();
TablePage.pageCheckedData = {};
TablePage.pageUncheckedData = {};
}else{
alert("撤销失败!");
TablePage.pageCheckedData = {};
TablePage.pageUncheckedData = {};
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>