更新业务申请审批意见
This commit is contained in:
parent
49b61b0cca
commit
0cfcc7fd07
@ -17,6 +17,7 @@
|
||||
String customerType= CurPage.getParameter("CustomerType");
|
||||
String flowstate = CurPage.getParameter("flowstate");
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
String flowName = CurPage.getParameter("FlowName");//获取流程名称
|
||||
String clean_lease_money = Sqlca.getString("select CLEAN_LEASE_MONEY from LC_CALC_CONDITION_TEMP where flowunid='"+flowunid+"'");
|
||||
//int money = Integer.parseInt(clean_lease_money);
|
||||
if(clean_lease_money==null){
|
||||
@ -30,6 +31,13 @@
|
||||
if("01".equals(customerType)){
|
||||
doTemp.setVisible("SEX",false);//如果是法人客户隐藏性别字段
|
||||
}
|
||||
if("业务申请流程".equals(flowName)&&"ANYBACK".equals(flowstate)){
|
||||
doTemp.setVisible("InterOpinion1",false);
|
||||
doTemp.setVisible("InterOpinion2",false);
|
||||
doTemp.setVisible("DistriOpinion2",false);
|
||||
doTemp.setVisible("InterOpinion3",false);
|
||||
doTemp.setReadOnly("DistriOpinion1",true);//设置所有字段都只读。
|
||||
}
|
||||
doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice");
|
||||
doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice");
|
||||
doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice");
|
||||
@ -319,8 +327,8 @@
|
||||
}
|
||||
if(firstchoice=="0010"){
|
||||
setItemRequired(0,"A_div_1220",true);
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",true);
|
||||
setItemRequired(0,"InterOpinion1",true);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
$("#FIRSTOPINION").removeAttr("disabled");
|
||||
/* var obj=document.getElementById('FIRSTOPINION');
|
||||
for(var i=0;i<7;i++){
|
||||
@ -348,6 +356,14 @@
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");
|
||||
attribute1="";
|
||||
}
|
||||
if(firstchoice=="0040"){
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",true);
|
||||
setItemRequired(0,"FIRSTOPINION",false);
|
||||
setItemValue(0,0,"firstopinion","");
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");
|
||||
attribute1="";
|
||||
}
|
||||
AsControl.RunJsp('/Tenwa/Lease/Flow/Project/BusinessApplication/GetApplyName.jsp','codeno=disagreeOP&attribute1='+attribute1,function(sReturn){
|
||||
if("FALSE"!=allTrim(sReturn)){
|
||||
var sReturn = lTrim(sReturn);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user