www.gusucode.com > mcms手机网站系统 v3.1源码程序 > mcms_v3.1.0/upload/app_tpl_pc/default/admin/tpl.gov.shop.order.view.php
<?php if(!defined('INC_MCMS')) die('No Access !');?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>商城-订单查看-<?php echo(SITE_NAME);?></title> <meta content="" name="keywords"> <meta content="" name="description"> <?php require_once(assign_tpl_inc("inc.admin.js.style.php"));?> <!--本页JS和样式--> <script src="<?php echo(DOMAIN_CSS);?>/sty_default/js/order.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo(DOMAIN_CSS);?>/sty_default/admin.css"> <script src="<?php echo DOMAIN_CSS;?>/libs/uploadify/jquery.uploadify.js?ver=<?php echo rand(100000,999999);?>" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="<?php echo DOMAIN_CSS;?>/libs/uploadify/uploadify.css"> <style> .editbox tr td {text-align:center;} .table_lists tbody tr{height:40px;} .table_lists tbody tr td{text-align:center;} .table_lists tbody{padding:10px 0;} </style> </head> <body> <!-- 加载头部 --> <?php require_once(assign_tpl_inc('inc.admin.head.php'));?> <!-- 主体内容 --> <div class="content"> <ul class="manage_btn"> <?php son_menu('GA');?> </ul> <p class="line-t-6"></p> <div class="crumbs"> <span class="cbs_left"> <b>商城</b> <em>></em><a href="gov.shop.order.php">订单管理</a><em>></em>查看订单 </span> </div> <p class="line-t-20"></p> <div id="infoform" class="box4" style="border-color:#eee"> <?php //print_r($result);?> <table width="100%" cellspacing="1" cellpadding="3" class="table_lists editbox" style="border:0px;"> <thead><tr><td colspan="4" style="text-align: center;">基本信息</td></tr></thead> <tbody> <tr> <td width="18%"><strong>订单号:</strong></td> <td width="34%"><?php echo $result['order_num_local']; ?></td> <td width="15%"><strong>订单状态:</strong></td> <td><?php echo $V->get_field_str('order_status', $result['order_status'],'html');?>,<?php echo $V->get_field_str('pay_status', $result['pay_status'],'html');?>,<?php echo $V->get_field_str('send_status', $result['send_status'],'html');?></td> </tr> <tr> <td><strong>下单会员:</strong></td> <td><?php echo $result['uname']; ?></td> <td><strong>下单时间:</strong></td> <td><?php echo date("Y-m-d H:i:s",$result['create_time']);?></td> </tr> <tr> <td><strong>支付方式:</strong></td> <td><?php echo $V->get_field_str('pay_type', $result['pay_type']);?></td> <td><strong>配送方式:</strong></td> <td><?php echo $result['send_type'];?></td> </tr> <tr> <td><strong>配送快递单号:</strong></td> <td><?php echo $result['send_num'];?></td> <td><strong>支付渠道订单号:</strong></td> <td><?php echo $result['order_num_remote']; ?></td> </tr> <thead><tr><td colspan="4" style="text-align: center;">其他信息</td></tr></thead> <tr> <td><strong>客户给商家的留言:</strong></td> <td colspan="3"><?php echo $result['order_message'];?></td> </tr> <tr> <td><strong>订单处理备注:</strong></td> <td colspan="3"><?php echo $result['deal_desc'];?></td> </tr> <tr> <td><strong>配送时间:</strong></td> <td colspan="3"><?php echo $result['send_time'];?></td> </tr> <thead><tr><td colspan="4" style="text-align: center;">收货人信息</td></tr></thead> <tr> <td><strong>收货人:</strong></td> <td><?php echo $result['order_address']['true_name'];?></td> <td><strong>电子邮件:</strong></td> <td><?php echo $result['order_address']['addr_email'];?></td> </tr> <tr> <td><strong>区域:</strong></td> <td><?php echo $result['order_address']['province'];?></td> <td><strong>地址:</strong></td> <td><?php echo $result['order_address']['address'];?></td> </tr> <tr> <td><strong>电话:</strong></td> <td><?php echo $result['order_address']['addr_phone'];?></td> <td><strong>邮编:</strong></td> <td><?php echo $result['order_address']['addr_postcode'];?></td> </tr> <?php if(defined('IS_MONTH_ORDER') && IS_MONTH_ORDER==1 && count($result['order_month'])>0) { ?> <thead><tr><td colspan="4" style="text-align: center;">包月日期(共<?php echo count($result['order_month']); ?>天)</td></tr></thead> <?php $arr = array_chunk($result['order_month'],4); foreach ($arr as $a=>$b) { ?> <tr> <?php foreach($b as $k=>$v){ ?> <td><strong><?php echo $v; ?></strong></td> <?php } ?> </tr> <?php } } ?> </tbody></table> <table width="100%" cellspacing="1" cellpadding="3" class="table_lists editbox" style="border:0px;"> <thead><tr><td colspan="10" style="text-align: center;">商品信息</td></tr></thead> <tbody> <tr> <td colspan="3"><strong>商品名称</strong></td> <td><strong>商品详情</strong></td> <td><strong>价格</strong></td> <td><strong>数量</strong></td> <td><strong>属性</strong></td> <td><strong></strong></td> <td width="140"><strong>小计</strong></td> </tr> <?php //print_r($result['order_desc']); if(is_array($result['order_desc'])){ foreach($result['order_desc'] as $v){ $v['basket_num'] = isset($v['basket_num']) ? $v['basket_num'] : $v['num']; ?> <tr> <td colspan="3"> <?php echo $v['name'];?> </td> <td> <?php foreach($v['goods'] as $v1) { echo $v1['title'] .' X ' . $v1['num'] .'<br />'; } ?> </td> <td>¥<?php echo $v['price']; ?>元</td> <td><?php echo $v['basket_num'];?> </td> <td><?php echo $v['weight'];?></td> <td> </td> <td>¥<?php echo $v['price']*$v['basket_num']; ?>元</td> </tr> <?php } }?> <tr> <td> </td> <td> </td> <td> </td> <td></td> <td><strong>原价总金额:</strong></td> <td>¥<?php echo number_format($result['pay_money_original'],2); ?>元</td> <td colspan="2"><strong>实际支付总金额(扣除优惠券抵扣) :</strong></td> <td>¥<?php echo number_format($result['pay_money_over'],2); ?>元</td> <td><a class="btn" href="?tpl=print&m=view&order_id=<?php echo $_GET['order_id'];?>" target="_blank">打印订单</a></td> </tr> </tbody> </table> <table width="100%" cellspacing="1" cellpadding="3" class="table_lists editbox" style="border:0px;"> <thead><tr><td colspan="10" style="text-align: center;">订单评价</td></tr></thead> <tbody> <tr> <td colspan="3"><strong>用户口感</strong></td> <td><strong>配送员态度</strong></td> <td><strong>客服人员态度</strong></td> <td><strong>评价内容</strong></td> <td><strong>评价用户</strong></td> <td width="140"><strong>操作</strong></td> </tr> <?php foreach($result['order_comment'] as $vs) { ?> <tr> <td colspan="3" title="<?php echo $V->get_field_str('comment_status',$vs['mouth_feel']).'('.$vs['mouth_feel'].'分)';?>"> <?php for($i=0;$i<$vs['mouth_feel'];$i++){ echo('<img src="'.DOMAIN_CSS.'/sty_'.SKIN.'/images/star-on-big.png" />'); } ?> </td> <td title="<?php echo $V->get_field_str('comment_status',$vs['send_attitude']).'('.$vs['send_attitude'].'分)';?>"> <?php for($i=0;$i<$vs['send_attitude'];$i++){ echo('<img src="'.DOMAIN_CSS.'/sty_'.SKIN.'/images/star-on-big.png" />'); } ?> </td> <td title="<?php echo $V->get_field_str('comment_status',$vs['customer_attitude']).'('.$vs['customer_attitude'].'分)';?>"> <?php for($i=0;$i<$vs['customer_attitude'];$i++){ echo('<img src="'.DOMAIN_CSS.'/sty_'.SKIN.'/images/star-on-big.png" />'); } ?></td> <td><?php echo $vs['comment'];?> </td> <td><?php echo $vs['uname'];?></td> <td> <?php if(!get_reply($vs['order_comment_id'])) { ?> <a class="btn" href="javascript:void(0);" onclick="reply_admin(<?php echo $vs['order_comment_id']?>)">回复评价</a> <?php } else { echo('<font color="red">已回复</font>'); } ?> </td> </tr> <?php } ?> </tbody> </table> </div> <p class="line-t-20"></p> <!-- 加载底部 --> <?php require_once(assign_tpl_inc('inc.admin.foot.php'));?> </div> <!-- <div class="footer_fixed"> <div class="box_1000"> <a href="javascript:void(0);" class="btn3" onclick="history.back();">返回</a> </div> </div> --> <!-- 隐藏表单半透明层 添加消息体 --> <div id="html_month" style="display:none;overflow-x:hidden;overflow-y:auto;"> <form id="weixin_msg"> <table class="tb3"> <tr style="border-bottom:3px solid #7fc8f9;"> <td width="80">包月日期</td> </tr> <?php foreach($result['order_month'] as $v) { ?> <tr style="border-bottom:1px solid #e6e6e6;"> <td><?php echo $v; ?></td> </tr> <?php } ?> <tr> <td colspan="2"> </td> </tr> </table> </form> </div> <div id="reply_html" style="display:none;overflow-x:hidden;overflow-y:auto;"> <form id="reply_form"> <input class="ipt" type="hidden" id="order_comment_id" name="order_comment_id" value="0"/> <table class="tb3 else_tb3"> <tr> <td align="right" width="160"><span class="fim">*</span>回复内容:</td> <td><textarea name="reply" id="reply" style="width:397px;height:78px;"></textarea></td> <tr> <td> </td> <td> <a href="javascript:void(0);" class="but_ok" id="subtn" onclick="save_reply_comment();">回 复</a> </td> </tr> </table> </form> </div> </body> </html>