1.修改起租后合同变更商务条件。

This commit is contained in:
zhangbb 2018-09-27 14:19:11 +08:00
parent c9f5fa904a
commit 7a4dcf3124
3 changed files with 1286 additions and 10 deletions

View File

@ -15,6 +15,7 @@
String ProductId = CurPage.getParameter("ProductId");
String sRightType= CurPage.getParameter("RightType");
String taskno = CurPage.getParameter("TaskNo");
String flowNo = CurPage.getParameter("FlowNo");
String settleMethod="";
String rentOrRate="";
BizObject condition=null;
@ -76,8 +77,13 @@
dwTemp.setAttr("spanWidth","107");
dwTemp.genHTMLObjectWindow(flowunid);
String compClientID = request.getParameter("CompClientID");
dwTemp.replaceColumn("pay_condition", "<iframe type='iframe' id='pay_condition' name=\"pay_condition\" width=\"100%\" height=\"500px\" frameborder=\"0\" src=\""+sWebRootPath+"/Accounting/LoanSimulation_change/LoanBasicInfo.jsp?CompClientID="+compClientID+"&flowunid="+flowunid+"&plannumber="+plannumber+"&IsHistory="+ishistory+"&NodeNo="+nodeNo+"&RightType="+sRightType+"&calType="+calType+"&TaskNo="+taskno+"\"></iframe>", CurPage.getObjectWindowOutput());
String url="";
if("ContractOnhireCarChangeFlow".equals(flowNo)){
url="/Accounting/LoanSimulation_change/LoanBasicInfo.jsp";
}else{
url="/Accounting/LoanSimulation_change/LoanBasicInfoBusiness.jsp";
}
dwTemp.replaceColumn("pay_condition", "<iframe type='iframe' id='pay_condition' name=\"pay_condition\" width=\"100%\" height=\"500px\" frameborder=\"0\" src=\""+sWebRootPath+url+"?CompClientID="+compClientID+"&flowunid="+flowunid+"&plannumber="+plannumber+"&IsHistory="+ishistory+"&NodeNo="+nodeNo+"&RightType="+sRightType+"&calType="+calType+"&TaskNo="+taskno+"\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = {
{"true","","Button","租金变更","租金变更","saveRecord()","","","","btn_icon_rentchange"},
{"true","","Button","变更撤销","变更撤销","cancelChange()","","","","btn_icon_delete"}
@ -120,10 +126,10 @@ $(function(){
//保存数据
function saveRecord(sPostEvents)
{
if(!cheackFinalPayment()){
/* if(!cheackFinalPayment()){
AsDebug.alert("提示","只有尾款的的项目并且大于还租次数才能展期变更!");
return;
}
} */
//检查是否进行过变更
as_save("myiframe0","run()");

File diff suppressed because it is too large Load Diff

View File

@ -28,12 +28,12 @@
String sButtons[][] =null;
sButtons=new String[][] {
{"false","","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"false","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""},
{"false","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""},
{"false","","Button","更新现金流","更新现金流","updateFlow()","","","","btn_icon_detail",""},
{"false","","Button","导入租金计划","导入租金计划","importRentPlan()","","","","btn_icon_detail",""},
{"false","","Button","模板下载","模板下载","downloadTemplate()","","","","btn_icon_set",""},
{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""},
{"true","","Button","更新现金流","更新现金流","updateFlow()","","","","btn_icon_detail",""},
{"true","","Button","导入租金计划","导入租金计划","importRentPlan()","","","","btn_icon_detail",""},
{"true","","Button","模板下载","模板下载","downloadTemplate()","","","","btn_icon_set",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">