Procházet zdrojové kódy

页面样式修改

liujiankang před 7 roky
rodič
revize
efd887d6c4

+ 3 - 9
watero-rst-web/src/main/webapp/WEB-INF/views/cm/inspection/add_detect.ftl

@@ -158,7 +158,9 @@
     /*初始化单选框样式*/
         $(function(){
             $('input[name="productId"]').on('ifChecked', function(event){
-                alert($(this).val());
+                $("input[name='productId']").each(function () {
+                    $("#maintenanceEquipmentNumber"+$(this).val()).val("");
+                });
             });
 
             $('.skin-minimal input').iCheck({
@@ -168,16 +170,8 @@
             });
         });
 
-   /* function emptyingNumber() {
-        $("input[name='productId']").each(function () {
-
-        });
-    }*/
 
     function  add() {
-        $("input[name='checkbox']:checkbox:checked").each(function () {
-
-        });
 
         var detectDate = $("#detectDate").val();
         if( detectDate == null || detectDate == "" ){