rabin 2 years ago
parent
commit
96eb69aad2
1 changed files with 2 additions and 14 deletions
  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('核销失败');
      }
   });
 }