客户历史信息显示修改,只有客户显示总敞口
This commit is contained in:
parent
5317471ea2
commit
08953e5c44
@ -48,9 +48,11 @@
|
||||
<%@ include file="/Resources/CodeParts/Tab01.jsp"%>
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.InsertCustomerHistoryInfo","InsertCustomerHistoryInfoTemp","flowunid=<%=flowunid%>");
|
||||
//去除录入后又删除的数据
|
||||
AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.InsertCustomerHistoryInfo","InsertCustomerHistoryInfo","flowunid=<%=flowunid%>");
|
||||
var res = AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.InsertCustomerHistoryInfo","InsertCustomerHistoryInfoTemp","flowunid=<%=flowunid%>");
|
||||
if(res=="SUCCEEDED"){
|
||||
//去除录入后又删除的数据
|
||||
AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.InsertCustomerHistoryInfo","InsertCustomerHistoryInfo","flowunid=<%=flowunid%>");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -11,10 +11,18 @@
|
||||
String sTempletNo = "CustomerHistoryInfoTemp";//--模板号--
|
||||
String flowunId=CurPage.getParameter("flowunid");//流程编号
|
||||
String certId=CurPage.getParameter("certId");//客户证件号
|
||||
String type =CurPage.getParameter("type");//客户类型
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.genHTMLObjectWindow("1");
|
||||
//只有客户显示总敞口
|
||||
if(type.equals("client")){
|
||||
doTemp.setVisible("EXPOSURE",true);
|
||||
}else {
|
||||
doTemp.setVisible("EXPOSURE",false);
|
||||
}
|
||||
|
||||
dwTemp.genHTMLObjectWindow(flowunId+","+certId);
|
||||
|
||||
String compClientID = request.getParameter("CompClientID");
|
||||
|
||||
@ -29,7 +29,7 @@ public class InsertCustomerHistoryInfo {
|
||||
}
|
||||
|
||||
//获取客户历史信息
|
||||
public void InsertCustomerHistoryInfoTemp(JBOTransaction tx) throws Exception{
|
||||
public String InsertCustomerHistoryInfoTemp(JBOTransaction tx) throws Exception{
|
||||
try {
|
||||
tx= JBOFactory.createJBOTransaction();
|
||||
Conn conn = new Conn(tx);
|
||||
@ -319,7 +319,7 @@ public class InsertCustomerHistoryInfo {
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return "SUCCEEDED";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user