123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <style>
- th label { display: inline-block;width: 60px; }
- .lineLi {
- min-width: 150px;
- font-size: 12px;
- color:#000;
- }
- #prompt ul .noLineLi {
- background:none;
- }
- #prompt div {
- display:inline-block;
- background:none
- }
- #prompt ul .lineLi {
- color:#000;
- }
- #selest_nc {
- width:220px
- }
- th {
- width: 10px;
- }
- .txt2 {
- position: relative;
- }
- .btn-search {
- position: absolute;
- left: 332px;
- margin-top: 3px;
- }
- </style>
- <?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="JavaScript:void(0);" class="current"><span>订单强制处理</span></a></li>
- <li><a href="index.php?act=refill_order_manual&op=refill_order_batch"><span>订单批量处理</span></a></li>
- <li><a href="index.php?act=refill_order_manual&op=set_cancel_order"><span>拦截订单</span></a></li>
- <li><a href="index.php?act=refill_order_manual&op=transfer_order"><span>预回调订单转快充</span></a></li>
- <li><a href="index.php?act=refill_order_manual&op=transfer_order_recharge"><span>预回调订单补充</span></a></li>
- <li><a href="index.php?act=refill_order_manual&op=refill_buyback"><span>订单手动操作记录</span></a></li>
- </ul>
- </div>
- </div>
- <div class="fixed-empty"></div>
- <form method="get" action="index.php" name="formSearch" id="formSearch">
- <input type="hidden" name="act" value="refill_order_manual"/>
- <input type="hidden" name="op" value="index"/>
- <table class="tb-type1 noborder search" style="min-width:1400px">
- <tbody>
- <tr>
- <th><label>我方订单号</label></th>
- <td style="width: 300px"><input class="txt2" type="text" name="order_sn" value="<?php echo $_GET['order_sn']; ?>"/></td>
- <a href="javascript:void(0);" id="ncsubmit" class="btn-search"
- title="<?php echo $lang['nc_query']; ?>">
- </a>
- <td>
- <span style="color: red;font-size: 15px">注:此操作为强制性操作,一般用作服务器错误导致的待发货卡单,请谨慎使用。</span>
- </td>
- </tbody>
- </table>
- </form>
- <table class="table tb-type2 nobdb" style="min-width:1400px">
- <thead>
- <tr class="thead">
- <th class="align-center">编号</th>
- <th class="align-center">订单号</th>
- <th class="align-center">机构编号</th>
- <th class="align-center">机构名称</th>
- <th class="align-center">充值卡号</th>
- <th class="align-center">充值卡类型</th>
- <th class="align-center">充值额度</th>
- <th class="align-right">下单日期</th>
- <th class="align-right">耗时</th>
- <th class="align-center">订单状态</th>
- <th class="align-center">运营商流水号</th>
- <th class="align-center">备注</th>
- <th class="align-center">商家单号</th>
- <th class="align-center">渠道单号</th>
- <th class="align-center">渠道名称</th>
- <th class="align-center">次数</th>
- <th class="align-center">质量</th>
- <th class="align-center">初始质量</th>
- <!-- <th class="align-center">扣款金额</th>-->
- <th class="align-center"><?php echo $lang['nc_handle']; ?></th>
- </tr>
- </thead>
- <tbody id="tbody">
- <?php if (count($output['order_list']) > 0) { ?>
- <?php
- foreach ($output['order_list'] as $key => $order) { ?>
- <tr class="hover trFlex">
- <td class="align-center"><?php echo $key+1;?></td>
- <td class="align-left"><?php echo $order['order_sn']; ?></td>
- <td class="align-center"><?php echo $order['mchid']; ?></td>
- <td class="align-center"><?php echo $order['mch_name']; ?></td>
- <td class="align-left"><?php echo $order['card_no']; ?></td>
- <td class="align-center"><?php echo $order['card_type_text']; ?></td>
- <td class="align-center"><?php echo $order['refill_amount']; ?></td>
- <td class="align-right"><?php echo date('Y-m-d H:i:s', $order['order_time']); ?></td>
- <td class="align-right">
- <?php if(empty($order['notify_time'])) {
- if($order['diff_time'] >= 1800 && $order['diff_time'] <= 3600) {
- ?>
- <span style="color: #fd9d0e"><?php echo $order['diff_time_text']?></span>
- <?php }elseif($order['diff_time'] > 3600) {?>
- <span style="color: #f30707"><?php echo $order['diff_time_text']?></span>
- <?php }else{?>
- <?php echo $order['diff_time_text']?>
- <?php }?>
- <?php }else{?>
- <?php echo $order['diff_time_text']?>
- <?php }?>
- </td>
- <td class="align-center"><?php echo orderState($order); ?></td>
- <td class="align-left"><?php echo $order['official_sn']; ?></td>
- <td class="align-left"><?php echo $order['err_msg']; ?></td>
- <td class="align-left"><?php echo $order['mch_order']; ?></td>
- <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
- <td class="align-center"><?php echo $order['channel_name']; ?></td>
- <td class="align-center"><?php echo $order['commit_times']; ?></td>
- <td class="align-center"><?php echo $order['quality_text']; ?></td>
- <td class="align-center"><?php echo $order['org_quality_text']; ?></td>
- <!-- <td class="align-center">--><?php //echo $order['mch_amount']; ?><!--</td>-->
- <td class="w144 align-center" id="Manual">
- <a id="cancel" order_id="<?php echo $order['order_id']; ?>" href="#">
- 手动失败</a>
- |
- <a id="success" order_id="<?php echo $order['order_id']; ?>" href="#">
- 手动成功</a>
- </td>
- </tr>
- <?php } ?>
- <?php } else { ?>
- <tr class="no_data">
- <td colspan="19"><?php echo $lang['nc_no_record']; ?></td>
- </tr>
- <?php } ?>
- </tbody>
- <tfoot>
- <tr class="tfoot">
- <td colspan="19" id="dataFuncs">
- <div class="pagination"> <?php echo $output['show_page']; ?> </div>
- </td>
- </tr>
- </tfoot>
- </table>
- </div>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></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/jquery-ui/i18n/zh-CN.js"
- charset="utf-8"></script>
- <link rel="stylesheet" type="text/css"
- href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/themes/ui-lightness/jquery.ui.css"/>
- <script type="text/javascript" src="<?php echo ADMIN_TEMPLATES_URL;?>/js/xm-select.js"></script>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/refill/layer.js"></script>
- <script type="text/javascript">
- $(function () {
- $('#ncsubmit').click(function () {
- $('input[name="op"]').val('index');
- $('#formSearch').submit();
- });
- // 表格hover时背景
- $('.trFlex').each(function () {
- $(this).hover(function () {
- $(this)[0].style.backgroundColor = '#cbe9f3'
- },function() {
- $(this)[0].style.backgroundColor = '#fff'
- })
- })
- // 手动失败 成功
- $('#Manual #cancel').each(function (index, item) {
- $(item).click(function () {
- let order_id = $(this).attr("order_id")
- layer.confirm('您确实要手动失败', {
- btn: ['确定', '取消'],
- title: '手动失败'
- }, function () {
- window.location.href = `index.php?act=refill_order_manual&op=notify_manual_merchant&type=cancel&order_id= ${order_id}`
- }, function() {}
- )
- })
- })
- // 手动成功
- $('#Manual #success').each(function (index, item) {
- $(item).click(function () {
- let order_id = $(this).attr("order_id")
- layer.confirm('您确实要手动成功', {
- btn: ['确定', '取消'],
- title: '手动成功'
- }, function () {
- window.location.href = `index.php?act=refill_order_manual&op=notify_manual_merchant&type=success&order_id= ${order_id}`
- }, function() {}
- )
- })
- })
- })
- </script>
|