复审意见展示修改
This commit is contained in:
parent
237afec831
commit
b72de7654b
@ -705,6 +705,7 @@
|
||||
}else {
|
||||
hideItem(0,"VETO");
|
||||
setItemRequired(0,"VETO",false);
|
||||
setItemValue(0, 0, "VETO", "");
|
||||
}
|
||||
}
|
||||
|
||||
@ -871,7 +872,6 @@
|
||||
}else if("0040" == "<%=phaseNo%>"||"0050" == "<%=phaseNo%>"){
|
||||
phaseChoice = getItemValue(0,0,"secondchoice");
|
||||
phaseOpinion = getItemValue(0,0,"secondopinion");
|
||||
VETO = getItemValue(0,0,"VETO");
|
||||
}else if("0060" == "<%=phaseNo%>"){
|
||||
phaseChoice = getItemValue(0,0,"thirdchoice");
|
||||
phaseOpinion = getItemValue(0,0,"thirdopinion");
|
||||
@ -879,6 +879,14 @@
|
||||
phaseChoice = getItemValue(0,0,"fourchoice");
|
||||
phaseOpinion = getItemValue(0,0,"fouropinion");
|
||||
}
|
||||
//根据复审意见对拒绝理由赋值
|
||||
var vo = getItemValue(0,0,"secondchoice");
|
||||
if(vo=="0010"){
|
||||
VETO = getItemValue(0,0,"VETO");
|
||||
}else {
|
||||
VETO = "";
|
||||
}
|
||||
|
||||
// var InterOpinion1 = getItemValue(0,0,"InterOpinion1");
|
||||
// var DistriOpinion1 = getItemValue(0,0,"DistriOpinion1");
|
||||
// var InterOpinion2 = getItemValue(0,0,"InterOpinion2");
|
||||
|
||||
@ -220,12 +220,17 @@ public class BusinessApproveManager {
|
||||
bomFT.createQuery("update O set relativeobjectno='"+serialNo+"' where serialno='"+serialNo+"'").executeUpdate();
|
||||
}
|
||||
bomFO.saveObject(bo);
|
||||
if(veto!=null||"".equals(veto)){
|
||||
|
||||
Transaction sqlca = Transaction.createTransaction(tx);
|
||||
String ssql= "update LB_PROJECT_INFO_TEMP set veto = '"+veto+"' where FLOWUNID = '"+flowunid+"'";
|
||||
String ssql = "";
|
||||
if(veto!=null||"".equals(veto)){
|
||||
ssql= "update LB_PROJECT_INFO_TEMP set veto = '"+veto+"' where FLOWUNID = '"+flowunid+"'";
|
||||
}else {
|
||||
ssql= "update LB_PROJECT_INFO_TEMP set veto = '' where FLOWUNID = '"+flowunid+"'";
|
||||
}
|
||||
SqlObject sqlObject = new SqlObject(ssql);
|
||||
sqlca.executeSQL(sqlObject);
|
||||
}
|
||||
|
||||
tx.commit();
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user