1.只有线上付款才有付款申请按钮。

This commit is contained in:
zhangbb 2019-04-16 11:03:18 +08:00
parent e57553a706
commit 329dddd27b

View File

@ -15,6 +15,7 @@
String ishistory = CurPage.getParameter("IsHistory");
String contract_id = CurPage.getParameter("contract_id");
String projectId = CurPage.getParameter("ProjectId");
String payType = Sqlca.getString(new SqlObject("SELECT payType FROM LC_FUND_INCOME_TEMP_HXM WHERE flowunid='"+flowunid+"'"));
ASObjectModel doTemp = new ASObjectModel("ActualPaymentCarTempList");
/* if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");
@ -90,7 +91,7 @@
{"true","","Button","批量修改","批量修改","batchModify()","","","","btn_icon_detail",""},
{"true","","Button","发起付款申请","保存","cmb_tp_pay()","","","","btn_icon_save",""}
};
}else if("0030".equals(phaseNo)){
}else if("0030".equals(phaseNo)&&"0010".equals(payType)){
sButtons = new String[][]{
{"true","","Button","付款结果回盘","付款结果回盘","cmb_tp_callback()","","","","btn_icon_delete",""},
};