Skip to content

Commit

Permalink
Update oploadexcelorder.html
Browse files Browse the repository at this point in the history
  • Loading branch information
zhrrobert committed May 7, 2024
1 parent 06a9463 commit 36061c1
Showing 1 changed file with 20 additions and 31 deletions.
51 changes: 20 additions & 31 deletions Themes/Seller/Order/oploadexcelorder.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,37 +288,26 @@
})

function load_next_updata() {
$.post('<?php echo U("order/do_order_quene", array('
type
' => $type, '
cache_key
' => $cache_key)); ?>', function (ret) {
if (ret.code == 0) {
//msg update_content
$('#update_content').prepend("<p>" + ret.msg + "</p>");
$('#update_content').scrollTop(0);
setTimeout(function () {
load_next_updata();
}, 300);
} else if (ret.code == 2) {

layer.msg('更新完成!', {
time: 1000,
end: function () {
location.href = "<?php echo U("
order / index
"); ?>";
}
});


} else {
alert(ret.msg);

}
}, 'json'
)
;
$.post('<?php echo U("order/do_order_quene", array('type' => $type, 'cache_key' => $cache_key)); ?>', function (ret) {
if (ret.code == 0) {
//msg update_content
$('#update_content').prepend("<p>" + ret.msg + "</p>");
$('#update_content').scrollTop(0);
setTimeout(function () {
load_next_updata();
}, 300);
} else if (ret.code == 2) {

layer.msg('更新完成!', {
time: 1000,
end: function () {
location.href = "<?php echo U("order/index"); ?>";
}
});
} else {
alert(ret.msg);
}
}, 'json');
}
</script>
</body>

0 comments on commit 36061c1

Please sign in to comment.