diff --git a/src/main/resources/templates/receipt/receiptHeader/receiptHeader.html b/src/main/resources/templates/receipt/receiptHeader/receiptHeader.html index 6b951ec..1c14d36 100644 --- a/src/main/resources/templates/receipt/receiptHeader/receiptHeader.html +++ b/src/main/resources/templates/receipt/receiptHeader/receiptHeader.html @@ -764,6 +764,11 @@ var url = $.common.isEmpty(id) ? detailRemoveUrl : detailRemoveUrl.replace("{id}", id); var data = { "ids": id }; $.operate.submit(url, "post", "json", data); + setTimeout(gotoindex,1000);//延时3秒执行页面跳转方法 + function gotoindex() { + loadDetail(); + } + }); } @@ -782,6 +787,11 @@ } var data = { "ids": ids.substring(0, ids.length-1) }; $.operate.submit(url, "post", "json", data); + setTimeout(gotoindex,1000);//延时3秒执行页面跳转方法 + function gotoindex() { + loadDetail(); + + } }); }