From e0e027cbb43f00c335a02cc5234c1fff868a8e8c Mon Sep 17 00:00:00 2001 From: xu0625 <1212> Date: Thu, 1 Apr 2021 09:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86-=E6=8A=BD?= =?UTF-8?q?=E5=A5=96=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/activity/info/add.html | 5 ++++- .../src/main/resources/templates/activity/info/edit.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sino-activity/src/main/resources/templates/activity/info/add.html b/sino-activity/src/main/resources/templates/activity/info/add.html index 271b6d923..60253bad2 100644 --- a/sino-activity/src/main/resources/templates/activity/info/add.html +++ b/sino-activity/src/main/resources/templates/activity/info/add.html @@ -168,7 +168,7 @@
-
@@ -233,8 +233,11 @@ var WILLDRAWFLAG = $("#WILLDRAWFLAG").val(); if (WILLDRAWFLAG==1){ $('#willdrawawardnumber').removeAttr('readonly'); + $('#willdrawawardprize').removeAttr('disabled'); }else if(WILLDRAWFLAG==0){ $("#willdrawawardnumber").attr('readonly','true'); + $("#willdrawawardprize").attr('disabled','true'); + } } diff --git a/sino-activity/src/main/resources/templates/activity/info/edit.html b/sino-activity/src/main/resources/templates/activity/info/edit.html index 0f5713b6e..a55185e51 100644 --- a/sino-activity/src/main/resources/templates/activity/info/edit.html +++ b/sino-activity/src/main/resources/templates/activity/info/edit.html @@ -170,7 +170,7 @@
-
@@ -200,6 +200,7 @@ var WILLDRAWFLAG = $("#WILLDRAWFLAG").val(); if(WILLDRAWFLAG==0){ $("#willdrawawardnumber").attr('readonly','true'); + $("#willdrawawardprize").attr('disabled','true'); } var FIRSTFLAG = $("#FIRSTFLAG").val(); if(FIRSTFLAG==0){ @@ -272,8 +273,10 @@ var WILLDRAWFLAG = $("#WILLDRAWFLAG").val(); if (WILLDRAWFLAG==1){ $('#willdrawawardnumber').removeAttr('readonly'); + $('#willdrawawardprize').removeAttr('disabled'); }else if(WILLDRAWFLAG==0){ $("#willdrawawardnumber").attr('readonly','true'); + $("#willdrawawardprize").attr('disabled','true'); } }