diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index 626c40567..4419627e4 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -6,7 +6,6 @@ Content: 示例详情页面 History Log: */ - String ishistory=CurPage.getParameter("IsHistory"); String nodeNo=CurPage.getParameter("NodeNo"); @@ -19,6 +18,8 @@ String sTempletNo = "VI_BUSINESS_APPROVAL";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice"); + doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice"); + doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice"); if(null!=ishistory&&ishistory.equals("true")){ doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据 } @@ -75,16 +76,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); - dwTemp.getDataObject().setVisible("fourchoice", true); - dwTemp.getDataObject().setVisible("fouropinion", true); - dwTemp.getDataObject().setRequired("fourchoice", true); - dwTemp.getDataObject().setRequired("fourdopinion", true); } dwTemp.genHTMLObjectWindow(flowunid); @@ -126,6 +120,14 @@ setItemValue(0,0,"firstopinion",""); } + function changeSecondChoice(){ + setItemValue(0,0,"secondopinion",""); + } + + function changeThirdChoice(){ + setItemValue(0,0,"thirdopinion",""); + } + function save(){ var updatedFields = DisplayFields[0]; if(iV_all(0)){