mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-24 03:15:32 +08:00
61 lines
2.2 KiB
HTML
61 lines
2.2 KiB
HTML
<!--
|
||
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
||
|
||
Licensed under the Apache License, Version 2.0 (the "License");
|
||
you may not use this file except in compliance with the License.
|
||
You may obtain a copy of the License at
|
||
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
Unless required by applicable law or agreed to in writing, software
|
||
distributed under the License is distributed on an "AS IS" BASIS,
|
||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
See the License for the specific language governing permissions and
|
||
limitations under the License.
|
||
-->
|
||
|
||
<div class="division">
|
||
<h4>批量更新打印批次号</h4>
|
||
|
||
<table cellspacing="0" class="gridlist" cellpadding="0" border="0" width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td height="100" colspan="5" align="center">
|
||
<{if $data.count}>
|
||
<{$data.msg}>,<a href="<{$data.link}>">如果您的浏览器没有自动跳转,请点击此链接...<span id="info"> </span></a>
|
||
<script type="text/javascript">
|
||
var time = 3;
|
||
function clock()
|
||
{
|
||
time--;
|
||
document.getElementById("info").innerHTML = time+"秒";
|
||
if(time==0)
|
||
{
|
||
window.location.href = "<{$data.link}>";
|
||
}
|
||
}
|
||
setInterval("clock();", 1000);
|
||
</script>
|
||
<{else}>
|
||
<{$data.msg}>,<a href="/index.php?app=invoice&ctl=admin_order&act=index">进入发票列表...<span id="info"> </span></a>
|
||
<script type="text/javascript">
|
||
var time = 10;
|
||
function clock()
|
||
{
|
||
time--;
|
||
document.getElementById("info").innerHTML = time+"秒";
|
||
if(time==0)
|
||
{
|
||
window.location.href = "/index.php?app=invoice&ctl=admin_order&act=index";
|
||
}
|
||
}
|
||
setInterval("clock();", 1000);
|
||
</script>
|
||
<{/if}>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|