{// 引入标签库 } function get_handle($id) { $order_info = M("DealOrder")->getById($id); if($order_info['order_status']==0) { $str = l("DEAL_ORDER_HANDLE"); } else { $str = l("DEAL_ORDER_VIEW"); } $str = "".$str.""; if($order_info['order_status']==1) { $str.=" ".l("DEL").""; } return $str; } function get_extra_status($status) { return l("EXTRA_STATUS_".$status); } function get_after_sale($status,$order_status) { if($order_status==0) return l("NO_OVER_ORDER"); else return l("AFTER_SALE_".$status); } function get_order_item($order_sn,$order_id) { $deal_order_item = M("DealOrderItem")->where("order_id = ".$order_id)->findAll(); $str = "".$order_sn.""; foreach($deal_order_item as $v) { $str.="
".l('DEAL_ID').":".$v['deal_id']." ".l("NUMBER")." [".$v['number']."]"; } return $str; } function get_refund_status($s) { if($s==0) return "无"; if($s==1) return "要求退款"; if($s==2) return "已处理"; } function get_retake_status($s) { if($s==0) return "无"; if($s==1) return "要求退货"; if($s==2) return "已处理"; }
{%DEAL_ORDER}
{%SELECT_EXPRESS}
{%ORDER_SN}： {%DEAL_ID}： {%USER_NAME_S}： {%PAYMENT_STATUS_S}:
{%DELIVERY_STATUS_S}:
{%EXTRA_STATUS_S}:
{%AFTER_SALE_S}:
{$page}