rabin hace 2 años
padre
commit
96eb69aad2
Se han modificado 1 ficheros con 2 adiciones y 14 borrados
  1. 2 14
      learn/active/assets/pc/html/off_code.html

+ 2 - 14
learn/active/assets/pc/html/off_code.html

@@ -150,13 +150,7 @@ $('#content').bind('keydown',function(event){
       },
       error: function(data){
         $('#content').val('');
-          layer.alert('核销码不存在或已核销', function() {
-            $('#content').focus();
-            layer.closeAll();
-          }, function() {
-            $('#content').focus();
-            layer.closeAll();
-          });
+          alert('核销码不存在或已核销');
      }
     });
    }
@@ -181,13 +175,7 @@ function hexiao() {
         */
     },
      error: function(data){
-      layer.alert('核销失败', function() {
-            $('#content').focus();
-            layer.closeAll();
-          }, function() {
-            $('#content').focus();
-            layer.closeAll();
-          });
+      alert('核销失败');
      }
   });
 }