Files
OMS/app/logisticsmanager/view/admin/express/upload_bg.html
2026-01-04 19:08:31 +08:00

41 lines
1.5 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
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 style=" margin:10px;">
<div class="notice">
<strong><{t}>注意:<{/t}></strong><{t}>扫描图片分辨率请调整为 96 dpi图片格式 jpg<{/t}>
</div>
<form id="form1" enctype="multipart/form-data" action="index.php?app=logisticsmanager&ctl=admin_express_template&act=doUploadBg" method="post">
<{input type="sfile" id="f1" name="background" f_type="public"}>
<input name="dly_printer_id" type="hidden" value="<{$dly_printer_id}>" />
<{button label="上传" type="submit" id="btn-upload"}>
</form>
</div>
<script>
(function(){
$('btn-upload').addEvent('click',function(){return check();});
function check(){
var aaa = $(document.body).getElement("input[name=background]");
if (aaa.value == ''){
alert("请选择图片");
return false;
}
return true;
}
})()
</script>