{template 'common/header'} {template 'common'} {if $operation == 'display'}
筛选
订单数量:{$total}
{if empty($shareid)} {/if} {if !empty($shareid)} {if $cfg['globalCommissionLevel']>=2} {/if} {if $cfg['globalCommissionLevel']>=3} {/if} {/if} {if empty($shareid)} {/if} {loop $list $item} {if empty($shareid)} {/if} {if !empty($shareid)} {if $cfg['globalCommissionLevel']>=2} {/if}{if $cfg['globalCommissionLevel']>=3} {/if} {/if} {if empty($shareid)} {/if} {/loop}
订单ID 订单编号 用户标识 上级标识 收货人姓名 联系电话 支付方式运费总价 状态 下单/付款时间1级佣金2级佣金3级佣金{if $status==1}{else}操作{/if}
{$item['id']} {$item['ordersn']} {php echo $this->getFromFlagID($item['from_user'])} {php echo $this->getShareId($item['from_user'])} {$address[$item['addressid']]['realname']} {$address[$item['addressid']]['mobile']} {if $item['paytype'] == 1}余额支付{/if}{if $item['paytype'] == 2}在线支付{/if}{if $item['paytype'] == 3}货到付款{/if}{$item['dispatchprice']}{$item['price']} {if $item['status'] == 0}待付款{/if} {if $item['status'] == 1}待发货{/if} {if $item['status'] == 2}待收货{/if} {if $item['status'] == 3}已完成{/if} {if $item['status'] == -1}已关闭{/if} {if $item['status'] == -2}退款中{/if} {if $item['status'] == -3}换货中{/if} {if $item['status'] ==-4}退货中{/if} {if $item['status'] == -5}已退货{/if} {if $item['status'] == -6}已退款{/if} {php echo $this->getFromDate($item['createtime'])}{if $item['status'] == 3}{$item['commission']}{else}{$item['commission']}{/if}{if $item['status'] == 3}{$item['commission2']}{else}{$item['commission2']}{/if}{if $item['status'] == 3}{$item['commission3']}{else}{$item['commission3']}{/if}发货单打印
快递单打印
{$pager} {elseif $operation == 'detail'}
{if $item['transid']}
此为微信支付订单,必须要提交发货状态!
{/if}
订单信息

{$item['ordersn']}

{if $item['transid']}

{$item['transid']}

{/if}

{$item['price']} 元 (商品: {$item['goodsprice']} 元 运费: {$item['dispatchprice']} 元)

{if empty($dispatch)}自提{else}快递配送{/if} {if !empty($item['expresssn'])}【{$item['expresscom']}{$item['expresssn']}】{/if}

{if $item['paytype'] == 1}余额支付{/if} {if $item['paytype'] == 2}在线支付{/if} {if $item['paytype'] == 3}货到付款{/if}

{if $item['status'] == 0}待付款{/if} {if $item['status'] == 1}待发货{/if} {if $item['status'] == 2}待收货{/if} {if $item['status'] == 3}已完成{/if} {if $item['status'] == -1}已关闭{/if} {if $item['status'] == -2}退款中{/if} {if $item['status'] == -3}换货中{/if} {if $item['status'] ==-4}退货中{/if} {if $item['status'] == -5}已退货{/if} {if $item['status'] == -6}已退款{/if}

{php echo date('Y-m-d H:i:s', $item['createtime'])}

{if empty($item['zhifutime'])}尚未付款{else}{php echo date('Y-m-d H:i:s', $item['zhifutime'])}{/if}

{$membername['realname']} 详情

{if !empty($membersname1['realname'])}一级:{$membersname1['realname']} 详情{else}一级:无{/if}    {if !empty($membersname2['realname'])}二级:{$membersname2['realname']} 详情{else}二级:无{/if}    {if !empty($membersname3['realname'])}三级:{$membersname3['realname']} 详情{else}三级:无{/if}

{if ($item['status'] <=-2)} {/if}
用户信息

{$item['user']['realname']}

{$item['user']['mobile']}

{$item['user']['province']}{$item['user']['city']}{$item['user']['area']}{$item['user']['address']}

商品信息
{php $sharewidth = "width:20%;"} {if !empty($member[$item['shareid2']])} {php $sharewidth = "width:10%;"} {/if} {if !empty($member[$item['shareid3']])} {php $sharewidth = "width:7%;"} {/if} {if !empty($member[$item['shareid']])} {/if} {if !empty($member[$item['shareid2']])} {/if} {if !empty($member[$item['shareid3']])} {/if} {php $i=1;} {loop $item['goods'] $goods} {if !empty($item['shareid'])} {/if} {if !empty($item['shareid2'])} {/if} {if !empty($item['shareid3'])} {/if} {/loop}
ID 商品标题 商品规格 商品编号 商品条码 成交价 数量1级佣金2级佣金3级佣金
{php echo $i;$i++} {if $category[$goods['pcate']]['name']} [{$category[$goods['pcate']]['name']}] {/if}{if $children[$goods['pcate']][$goods['ccate']][1]} [{$children[$goods['pcate']][$goods['ccate']][1]}] {/if} {$goods['title']} {if !empty($goods['optionname'])}{$goods['optionname']}{/if} {$goods['goodssn']} {$goods['productsn']} {$goods['orderprice']} {$goods['total']}{php echo $goods['commission']*$goods['total']}{php echo $goods['commission2']*$goods['total']}{php echo $goods['commission3']*$goods['total']}
{if empty($item['status'])} {/if} {if $item['status'] == 1} {/if} {if $item['status'] == 2} {/if} {if $item['status'] == 2} {/if} {if ($item['status'] == -2 || $item['status'] == 1) && $item['paytype'] != 3} {/if} {if $item['status'] == -3} {/if} {if $item['status'] == -4} {/if} {if $item['status'] == -2 || $item['status'] == -3 || $item['status'] == -4} {/if} {if $item['status'] == 0 || $item['status'] == 1 || $item['status'] == 2} {/if}
{/if} {template 'common/footer'}