|
@@ -0,0 +1,80 @@
|
|
|
|
+<?php defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
|
|
+
|
|
|
|
+<div class="page">
|
|
|
|
+ <div class="fixed-bar">
|
|
|
|
+ <div class="item-title">
|
|
|
|
+ <h3>订单列表</h3>
|
|
|
|
+ <ul class="tab-base">
|
|
|
|
+ <li><a href="index.php?act=refill_order_manual&op=index"><span>订单手动处理</span></a></li>
|
|
|
|
+ <li><a href="JavaScript:void(0);" class="current"><span>订单批量处理</span></a></li>
|
|
|
|
+ </ul>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="fixed-empty"></div>
|
|
|
|
+ <form id="user_form" enctype="multipart/form-data" method="post">
|
|
|
|
+ <input type="hidden" name="form_submit" value="ok"/>
|
|
|
|
+ <input type="hidden" name="type" value=""/>
|
|
|
|
+ <table class="table tb-type2">
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr class="noborder">
|
|
|
|
+ <td colspan="2" class="required"><label class="validation" for="order_sn">订单号码:</label></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="noborder">
|
|
|
|
+ <td class="vatop rowform">
|
|
|
|
+ <textarea style="height: 344px" name="order_sn" id="order_sn" cols="30" rows="10"></textarea>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="vatop tips"></td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ <tfoot>
|
|
|
|
+ <tr class="tfoot">
|
|
|
|
+ <td colspan="15">
|
|
|
|
+ <a href="JavaScript:void(0);" class="submitBtn" data-type="success">
|
|
|
|
+ <span>全部手动成功</span>
|
|
|
|
+ </a>
|
|
|
|
+ <a href="JavaScript:void(0);" class="submitBtn" data-type="cancel">
|
|
|
|
+ <span>全部手动失败</span>
|
|
|
|
+ </a>
|
|
|
|
+ <a href="JavaScript:void(0);" class="submitBtn" data-type="notify">
|
|
|
|
+ <span>全部回调</span>
|
|
|
|
+ </a>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tfoot>
|
|
|
|
+ </table>
|
|
|
|
+ </form>
|
|
|
|
+</div>
|
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/dialog/dialog.js" id="dialog_js"
|
|
|
|
+ charset="utf-8"></script>
|
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/jquery.ui.js"></script>
|
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/ajaxfileupload/ajaxfileupload.js"></script>
|
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.Jcrop/jquery.Jcrop.js"></script>
|
|
|
|
+<link href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.Jcrop/jquery.Jcrop.min.css" rel="stylesheet" type="text/css"
|
|
|
|
+ id="cssfile2"/>
|
|
|
|
+<script type="text/javascript">
|
|
|
|
+ $(function () {
|
|
|
|
+ //按钮先执行验证再提交表单
|
|
|
|
+ $(".submitBtn").click(function () {
|
|
|
|
+ if ($("#user_form").valid()) {
|
|
|
|
+ const type = $(this).attr('data-type');
|
|
|
|
+ $("input[name='type']").val(type)
|
|
|
|
+ $("#user_form").submit();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ $('#user_form').validate({
|
|
|
|
+ errorPlacement: function (error, element) {
|
|
|
|
+ error.appendTo(element.parent().parent().prev().find('td:first'));
|
|
|
|
+ },
|
|
|
|
+ rules: {
|
|
|
|
+ order_sn: {
|
|
|
|
+ required: true,
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ messages: {
|
|
|
|
+ order_sn: {
|
|
|
|
+ required: '不能为空',
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+</script>
|