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