1.调息方式在商务条件页面隐藏不显示。

2.本方账户添加是否为银企直连字段,并添加ongchange事件。
This commit is contained in:
zhangbb 2018-07-23 10:12:06 +08:00
parent cacb5ce964
commit 0fe8a93615
3 changed files with 12 additions and 3 deletions

View File

@ -37,6 +37,7 @@
<%
String sTempletNo = "OwnAccount";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setHtmlEvent("FbSdk", "onchange", "changeFbSdk");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
if(rightType.equals("ReadOnly")){
@ -84,6 +85,14 @@
setItemValue(0,0,"acc_name", sReturn[1]);
},"请选择出租人","company");
}
function changeFbSdk(){
var FbSdk = getItemValue(0,0,"FbSdk",);
if(FbSdk=='Y'){
showItem(0,"branch_code");
}else if(FbSdk=='N'){
hideItem(0,"branch_code");
}
}
</script>
<%/*~END~*/%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -151,7 +151,7 @@
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="branch_title" label="开户分行" type="STRING" length="1000"/>
<attribute name="branch_code" label="分行地址" type="STRING" length="10"/>
<attribute name="FbSdk" label="是否为企银直连" type="STRING" length="4"/>
<attribute name="acc_type" label="账户类型" type="STRING" length="32"/>
<attribute name="account_type" label="银行账号类型" type="STRING" length="32"/>
<attribute name="acc_number_short" label="账号简称" type="STRING" length="50"/>

View File

@ -345,8 +345,8 @@ public class ProductCondition {
doTemp.setColumnAttribute("ADJUST_STYLE","colvisible", "0");
doTemp.setColumnAttribute("ADJUST_TYPE","colvisible", "0");
}else if("Y".equals(rule.get("ISADJUST_INTEREST"))){
doTemp.setColumnAttribute("ADJUST_STYLE","colvisible", "1");
doTemp.setColumnAttribute("ADJUST_TYPE","colvisible", "1");
doTemp.setColumnAttribute("ADJUST_STYLE","colvisible", "0");
doTemp.setColumnAttribute("ADJUST_TYPE","colvisible", "0");
//调息生效节点
doTemp.setColumnAttribute("ADJUST_STYLE","coleditsource","jbo.sys.CODE_LIBRARY,itemno,itemname,codeno='adjust_style' and itemno in ("+this.getSqlWhere(rule.get("adjust_style"))+") order by sortno");
//调息方式