d123 vor 8 Jahren
Ursprung
Commit
2388122d26
1 geänderte Dateien mit 21 neuen und 8 gelöschten Zeilen
  1. 21 8
      CallCenterWeb.UI/WorkOrder/WorkOrderDispose.html

+ 21 - 8
CallCenterWeb.UI/WorkOrder/WorkOrderDispose.html

@@ -28,6 +28,9 @@
28 28
       	padding: 5px;
29 29
       	width: 20%;
30 30
       }
31
+      .award_box{
32
+      	display: none;
33
+      }
31 34
     </style>
32 35
 </head>
33 36
 <body class="gray-bg">
@@ -346,14 +349,14 @@
346 349
                             <td colspan="3">
347 350
                                 <div>
348 351
                                     <label style="font-weight: normal;">
349
-                                        <input type="radio" value="1" name="award" checked="true"  class="no-award"/> 未奖励
352
+                                        <input type="radio" value="1" name="award"   class="no-award"/> 未奖励
350 353
                                     </label>
351 354
                                     &nbsp;&nbsp;&nbsp;&nbsp;
352 355
                                     <label style="font-weight: normal;">
353
-                                        <input type="radio" value="0" name="award"class="award" />已奖励
356
+                                        <input type="radio" value="0" name="award"class="award" checked="true" />已奖励
354 357
                                        
355 358
                                     </label>
356
-                                    <label style="font-weight: normal;" class="Hidens award_box"> &nbsp;&nbsp;
359
+                                    <label style="font-weight: normal;" class=" award_box"> &nbsp;&nbsp;
357 360
                                         奖励金额:<input type="text" id="reamount" />
358 361
                                         &nbsp;&nbsp;
359 362
                                         奖励时间:<input type="text" id="retime" /></label>
@@ -388,11 +391,21 @@
388 391
         var zpid;
389 392
         var stype=1;
390 393
         $(document).ready(function () {
391
-        	$(".no-award").click(function() {
392
-					$(".award_box").toggle();
393
-				})
394
-				$(".award").click(function() {
395
-					$(".award_box").toggle();
394
+//      	$(".no-award").click(function() {
395
+//					$(".award_box").toggle();
396
+//				})
397
+//				$(".award").click(function() {
398
+//					$(".award_box").toggle();
399
+//				})
400
+				//奖励
401
+				 $(' input[name="award"]').change(function(){
402
+					var val=$(this).val();
403
+					if(val=="1"){
404
+						$(".award_box").show();
405
+					}else{
406
+						$(".award_box").hide();
407
+					}
408
+					
396 409
 				})
397 410
 				//交办单位
398 411
 				$.getJSON(huayi.config.callcenter_url+'Dictionary/GetDicValueListByFlag?flag=JBDW',