{template 'header', 'member'} {if $action == 'update'} {if $step == 'detail'} {if !in_array($td[status], array(8, 9))} {if $td[status] == 5 || $td[status] == 6} {else} {/if}
买家下单 买家付款 卖家发货申请退款 退款成功交易成功 双方互评
{/if} {template 'goods', 'chip'}
快递信息
{if $td[send_time]} {/if}
邮编 {$td[buyer_postcode]}
地址 {$td[buyer_address]}
姓名 {$td[buyer_name]}
手机 {$td[buyer_mobile]}
发货日期 {$td[send_time]}
快递类型 {$td[send_type]}
快递单号 {$td[send_no]}{if $td[send_type] && $td[send_no]}  [快递追踪]{/if}
快递状态 {$_send_status[$td[send_status]]}
订单详情
{if $td[send_time]} {/if} {if $td[buyer_reason]} {/if} {if $td[refund_reason]} {/if}
联系买家 {if $DT[im_web]}{im_web($td[buyer])} {/if} {$td[buyer]}
下单时间 {$td[adddate]}
最后更新 {$td[updatedate]}
发货时间 {$td[send_time]}
订单状态 {$_status[$td[status]]}
退款理由 {$td[buyer_reason]}
操作原因 {$td[refund_reason]}
{if $td[status] == 0}   {elseif $td[status] == 2}   {/if}
{elseif $step == 'express'} {template 'goods', 'chip'}
快递信息
发货日期 {$td[send_time]}
快递类型 {$td[send_type]}
快递单号 {$td[send_no]}
追踪结果
正在查询...
快递状态 {$_send_status[$td[send_status]]}
{elseif $step == 'edit_price'} {template 'goods', 'chip'}
修改订单
{if $td[status] < 1} {/if} {if $td[cod] < 1} {/if} {if $DT[sms]} {/if}
联系买家 {if $DT[im_web]}{im_web($td[buyer])} {/if}{$td[buyer]}
下单时间 {$td[adddate]}
订单总额 {$DT[money_sign]}{$td[amount]}
附加名称 例如运费、退款、优惠等 
附加金额 {$DT[money_unit]} 可以为负值 
同时确认订单
改为货到付款
短信通知买家 (我的可用短信 {$_sms})
  
{elseif $step == 'send_goods'}
{template 'goods', 'chip'}
确认发货
{if $DT[sms]} {/if}
快递类型
快递单号
发货时间 {dcalendar('send_time', $send_time)}
短信通知买家已发货 (我的可用短信 {$_sms})
  
{elseif $step == 'add_time'}
{template 'goods', 'chip'}
延长买家确认时间
*延长时间 小时 (1天=24小时 只能为整数) 
  
{elseif $step == 'refund_agree'}
{template 'goods', 'chip'}
同意退款
联系买家 {if $DT[im_web]}{im_web($td[buyer])} {/if}{$td[buyer]}
下单时间 {$td[adddate]}
退款原因 {$td[buyer_reason]}
同意原因 {deditor($moduleid, 'content', 'Simple', '100%', 200)}
* 支付密码 {template 'password', 'chip'} 
  
{elseif $step == 'comment'}
{template 'goods', 'chip'} {loop $lists $k $v}
交易评价 - {$v[title]}
交易打分
详细评论
请您对此次交易做出客观、公正的评论
(内容限0至500字) 当前已经输入 0
{/loop}
  
{elseif $step == 'comment_detail'} {template 'goods', 'chip'}
买家评价
{loop $lists $k $v} {if $comments[$k][seller_star]} {if $comments[$k][buyer_reply]} {/if} {else} {/if} {/loop}
商品名称 {$v[title]}
买家评分 {$STARS[$comments[$k][seller_star]]} {if $_username == $td[seller] && !$comments[$k][buyer_reply]}   [解释] {/if}
买家评论 {nl2br($comments[$k][seller_comment])}
评论时间 {timetodate($comments[$k][seller_ctime], 6)}
卖家解释 {nl2br($comments[$k][buyer_reply])}
解释时间 {timetodate($comments[$k][buyer_rtime], 6)}
买家评论 暂未评论
我的评价
{loop $lists $k $v} {if $comments[$k][buyer_star]} {if $comments[$k][seller_reply]} {/if} {else} {/if} {/loop}
商品名称 {$v[title]}
卖家评分 {$STARS[$comments[$k][buyer_star]]}
卖家评论 {nl2br($comments[$k][buyer_comment])}
评论时间 {timetodate($comments[$k][buyer_ctime], 6)}
买家解释 {nl2br($comments[$k][seller_reply])}
解释时间 {timetodate($comments[$k][seller_rtime], 6)}
卖家评论 暂未评论
{/if} {elseif $action == 'express'}
{$fields_select}    {$status_select}   
{loop $lists $k $v} {/loop}
快递公司 快递单号 快递状态 下单时间 更新时间 订单
{$v[send_type]} {$v[send_no]} {$v[dstatus]} {$v[addtime]} {$v[updatetime]} 查看
{$pages}
{elseif $action == 'muti'}
{$fields_select}    {dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}  买家:   
快递类型 {if $send_type}    上次使用 {$send_type} {/if}
{loop $lists $k $v} {if isset($tags[$v[itemid]])} {loop $tags[$v[itemid]] $i $t} {/loop} {/if} {/loop}
图片 商品 单价 数量 订单金额 下单时间 订单 打印 移除
{$v[title]}
{$v[par]}{if $v[note]}备注:{$v[note]}{/if}
{$v[price]} {$v[number]} {$DT[money_sign]}{$v[money]} {$v[addtime]} 详情 打印 移除
{$t[title]}
{$t[par]}{if $t[note]}备注:{$t[note]}{/if}
{$t[price]} {$t[number]}
{$v[itemid]} {$v[buyer_address]} {$v[buyer_postcode]} {$v[buyer_name]} {$v[buyer_mobile]}
{if $_userid && $DT[sms]} {/if}
发货时间 {dcalendar('send_time', $send_time)}
短信通知买家已发货 (我的可用短信 {$_sms})
{else}
{$fields_select}    {$status_select}  {dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}   
单号:  商品ID:  买家:  货到付款 
商品信息 单价 数量 订单金额 买家 订单状态
{loop $lists $k $v} {if isset($tags[$v[itemid]])} {loop $tags[$v[itemid]] $i $t} {/loop} {/if}
{if $v[status] == 0} 确认订单 | 修改订单 | 关闭交易 | {elseif $v[status] == 1} 修改订单 | 关闭交易 | {elseif $v[status] == 2} 确认发货 | 打印订单 | {elseif $v[status] == 3} {if $v[lefttime]} 距买家处理订单还剩{$v[lefttime]}  延长时间 | {else} 买家处理订单超时 直接收款 | {/if} {if $v[send_type] && $v[send_no]} 快递追踪 | {/if} {elseif $v[status] == 4} {if $MODULE[$v[mid]][module] == 'mall'} {if $v[buyer_star]} 评价详情 | {else} 评价 | {/if} {/if} {elseif $v[status] == 5} 同意退款 | {elseif $v[status] == 7} {if $v[send_time]} 确认完成 | {else} 确认发货 | {/if} {elseif $v[status] == 8} 删除订单 | {/if} 订单详情    {$v[addtime]}   订单号:{$v[itemid]}
{$v[title]}
{$v[par]}
{$v[price]} {$v[number]} {$DT[money_sign]}{$v[money]} {if $DT[im_web]}{im_web($v[buyer].'&mid=16&itemid='.$v[mallid])} {/if} {$v[dstatus]} {if $v[status] == 0} 确认 {elseif $v[status] == 2} 发货 {elseif $v[status] == 4} {if $MODULE[$v['mid']]['module'] == 'mall' && !$v[buyer_star]} 评价 {/if} {elseif $v[status] == 5} 退款 {elseif $v[status] == 10} {if $v[send_time]} 完成 {else} 发货 {/if} {/if}
{$t[title]}
{$t[par]}{if $t[note]}备注:{$t[note]}{/if}
{$t[price]} {$t[number]}
{/loop}
{$pages}
{/if} {template 'footer', 'member'}