审批意见样式调整
This commit is contained in:
parent
810eb3581e
commit
a5dad2e6ea
@ -74,6 +74,9 @@
|
||||
dwTemp.getDataObject().setVisible("thirdchoice", true);
|
||||
dwTemp.getDataObject().setVisible("thirdopinion", true);
|
||||
dwTemp.getDataObject().setRequired("thirdchoice", true);
|
||||
|
||||
|
||||
|
||||
dwTemp.getDataObject().setRequired("thirdopinion", true);
|
||||
dwTemp.getDataObject().setReadOnly("thirdchoice", true);
|
||||
dwTemp.getDataObject().setReadOnly("thirdopinion", true);
|
||||
@ -177,5 +180,50 @@
|
||||
resetDWDialog("±£´æÊ§°Ü£¡",false);
|
||||
}
|
||||
}
|
||||
|
||||
//index,要删除选项的序号,这里取当前选中选项的序号
|
||||
function chosefirstchoice(){
|
||||
var obj=document.getElementById('FIRSTOPINION');
|
||||
for(var i=0;i<8;i++){
|
||||
obj.options[i].style.display = "block";
|
||||
}
|
||||
var firstchoice=getItemValue(0, 0, "firstchoice");
|
||||
if(firstchoice=="disagree"){
|
||||
obj.options[7].style.display = "none";
|
||||
}else{
|
||||
for(var i=0;i<7;i++){
|
||||
obj.options[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function chosesecondchoice(){
|
||||
var obj=document.getElementById('SECONDOPINION');
|
||||
for(var i=0;i<8;i++){
|
||||
obj.options[i].style.display = "block";
|
||||
}
|
||||
var firstchoice=getItemValue(0, 0, "secondchoice");
|
||||
if(firstchoice=="disagree"){
|
||||
obj.options[7].style.display = "none";
|
||||
}else{
|
||||
for(var i=0;i<7;i++){
|
||||
obj.options[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
function chosethirdchoice(){
|
||||
var obj=document.getElementById('THIRDOPINION');
|
||||
for(var i=0;i<8;i++){
|
||||
obj.options[i].style.display = "block";
|
||||
}
|
||||
var firstchoice=getItemValue(0, 0, "thirdchoice");
|
||||
if(firstchoice=="disagree"){
|
||||
obj.options[7].style.display = "none";
|
||||
}else{
|
||||
for(var i=0;i<7;i++){
|
||||
obj.options[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user