From 831b9192d92563111d571cad8e12d262f3256acb Mon Sep 17 00:00:00 2001 From: user Date: Sun, 1 Jul 2018 19:08:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=9A=E5=8A=A1=E5=AE=A1=E6=89=B9=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessApplication/ApprovalForm.jsp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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)){