66 lines
2.5 KiB
Plaintext
66 lines
2.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%>
|
||
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
|
||
<%
|
||
/*
|
||
Author: undefined 2016-09-01
|
||
Content:
|
||
History Log:
|
||
*/
|
||
|
||
String FlowUnid=CurPage.getParameter("FlowUnid");
|
||
if(FlowUnid==""||FlowUnid==null){
|
||
FlowUnid="flowunid";
|
||
}
|
||
String flowNo=CurPage.getParameter("FlowNo");
|
||
String RightType= CurPage.getParameter("RightType");
|
||
String ishistory= CurPage.getParameter("IsHistory");
|
||
String nodeNo=CurPage.getParameter("NodeNo");
|
||
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
||
isShowButton=false;
|
||
}else{
|
||
isShowButton=true;
|
||
}
|
||
String compClientID = request.getParameter("CompClientID");
|
||
ASObjectModel doTemp = new ASObjectModel("LCPayCondition");
|
||
if("PaymentPlanFlow".equals(flowNo)){
|
||
doTemp.appendJboWhere(" and O.PAYMENT_NUMBER=pc.PAYMENT_NUMBER");
|
||
}
|
||
%>
|
||
<%@ include file="/Tenwa/Lease/Flow/Comm/baseShowFormal.jspf"%>
|
||
<%
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||
dwTemp.Style="1"; //--设置为Grid风格--
|
||
dwTemp.ReadOnly = "1";
|
||
dwTemp.setPageSize(50);
|
||
if(isShowForaml.equals("true")){
|
||
dwTemp.genHTMLObjectWindow(sContractId);
|
||
}else{
|
||
dwTemp.genHTMLObjectWindow(FlowUnid);
|
||
}
|
||
|
||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||
String sButtons[][] = {
|
||
{"true","","Button","设置付款条件","设置付款条件","changeToList()","","","","btn_icon_add",""},
|
||
};
|
||
|
||
%>
|
||
<script type="text/javascript">
|
||
var rowSpan="CONTRACT_PLAN_NUMBER,FEE_TYPE,PLAN_LIST,PLAN_MONEY";
|
||
</script><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||
<script type="text/javascript">
|
||
window.onload=function(){
|
||
$("#DWTD").width( document.body.offsetWidth - 10);
|
||
$("#DWTD").width( document.body.offsetHeight - 10);
|
||
document.getElementById('DWTD').innerHTML = '<div style="width:'+(document.body.offsetWidth - 10)+'px;height:'+(document.body.offsetHeight - 10)+';overflow: scroll;">'+document.getElementById('DWTD').innerHTML+'</div>';
|
||
|
||
}
|
||
function changeToList(){
|
||
var sUrl="/Tenwa/Lease/Flow/Comm/LCPayCondtion/LCPay.jsp";
|
||
AsDialog.PopView(sUrl,"","resizable=yes;dialogWidth=1000px;dialogHeight=800px;center:yes;status:no;statusbar:no",function(){
|
||
window.location.href=window.location.href;
|
||
},"付款前提");
|
||
}
|
||
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |