|
@@ -152,6 +152,10 @@ $('#content').bind('keydown',function(event){
|
|
$('#content').val('');
|
|
$('#content').val('');
|
|
layer.alert('核销码不存在或已核销', function() {
|
|
layer.alert('核销码不存在或已核销', function() {
|
|
$('#content').focus();
|
|
$('#content').focus();
|
|
|
|
+ layer.closeAll();
|
|
|
|
+ }, function() {
|
|
|
|
+ $('#content').focus();
|
|
|
|
+ layer.closeAll();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -179,6 +183,10 @@ function hexiao() {
|
|
error: function(data){
|
|
error: function(data){
|
|
layer.alert('核销失败', function() {
|
|
layer.alert('核销失败', function() {
|
|
$('#content').focus();
|
|
$('#content').focus();
|
|
|
|
+ layer.closeAll();
|
|
|
|
+ }, function() {
|
|
|
|
+ $('#content').focus();
|
|
|
|
+ layer.closeAll();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
});
|
|
});
|