{extend name="$base" /} {block name="resources"} {/block} {block name="head_href"}{:__URL('APP_MAIN/order/lists')}{/block} {block name="main"} {php} $order_id = request()->get('order_id', 0); if(!empty($order_id)){ $info = api("System.Order.orderDetail",['order_id' => $order_id]); $info = $info['data']; } {/php} {notempty name="$order_id && $info"}

{notempty name="$info['order']['status_name']"}
- {$info['order']['status_name']}
{/notempty} {notempty name="$info['order']['order_no']"}
- {:lang('order_number')}：{$info['order']['order_no']}
{/notempty} {notempty name="$info['order']['status_name']"}
- {:lang('member_order_status')}：{$info['order']['status_name']}
{/notempty} {notempty name="$info['order']['create_time'] | getTimeStampTurnTime"}
- {:lang('order_time')}：{$info['order']['create_time'] | getTimeStampTurnTime}
{/notempty} {notempty name="$info['order']['payment_type_name']"}
- {:lang('member_payment_method')}：{$info['order']['payment_type_name']}
{/notempty} {notempty name="$info['order']['pay_status_name']"}
- {:lang('member_payment_status')}：{$info['order']['pay_status_name']}
{/notempty} {notempty name="$info['order']['shipping_type_name']"}
- {:lang('member_delivery_mode')}：{$info['order']['shipping_type_name']}
{/notempty}
- {:lang('delivery_time')}：{if condition="$info['order']['shipping_time']>0"}{$info['order']['shipping_time']|getTimeStampTurnTimeByYmd} {$info['order']['distribution_time_out']}{else/}{:lang('days_and_holidays_can_be_delivered')}{/if}
{if condition="!empty($info['order_pickup'])"} {notempty name="$info['order_pickup']['address']"}
- {:lang('member_self_addressed_address')}：{$info['order_pickup']['province_name']} {$info['order_pickup']['city_name']} {$info['order_pickup']['district_name']} {$info['order_pickup']['address']}
{/notempty} {notempty name="$info['order_pickup']['picked_up_code']"}
- 自提码：{$info['order_pickup']['picked_up_code']}
{/notempty} {notempty name="$info['order_pickup']['buyer_name']"}
- 联系人：{$info['order_pickup']['buyer_name']}
{/notempty} {notempty name="$info['order_pickup']['buyer_mobile']"}
- 联系电话：{$info['order_pickup']['buyer_mobile']}
{/notempty} {/if}

{eq name="$info['order']['is_virtual']" value="0"}

{switch name="$info['order']['shipping_type']"} {case value="1|3"}
- {:lang('member_delivery_address')}： {$info['order']['receiver_name']}，{$info['order']['receiver_mobile']}，{notempty name="$info['order']['fixed_telephone']"}{$info['order']['fixed_telephone']}，{/notempty} {$info['order']['address']} {if condition="$info['order']['receiver_zip']!=''"} ，{$info['order']['receiver_zip']}{/if}
{/case} {case value="2"}
- {:lang('member_self_addressed_address')}： {$info['order']['order_pickup']['name']} {$info['order']['order_pickup']['province_name']}{$info['order']['order_pickup']['city_name']}{$info['order']['order_pickup']['district_name']}{$info['order']['order_pickup']['address']}
{/case} {/switch} {if condition="!empty($info['order']['buyer_invoice_info'])"} {if condition="!empty($info['order']['buyer_invoice_info'][0]) && $info['order']['buyer_invoice_info'][0] neq ''"}
- {:lang('member_invoice_header')}： {$info['order']['buyer_invoice_info'][0]}
{/if} {if condition="!empty($info['order']['buyer_invoice_info'][2]) && $info['order']['buyer_invoice_info'][2] neq ''"}
- {:lang('member_taxpayer_identification_number')}： {$info['order']['buyer_invoice_info'][2]}
{/if} {if condition = "!empty($info['order']['buyer_invoice_info'][3])"}
- 开户银行： {$info['order']['buyer_invoice_info'][3]}
- 银行账号： {$info['order']['buyer_invoice_info'][4]}
- 企业地址： {$info['order']['buyer_invoice_info'][5]}
- 企业电话： {$info['order']['buyer_invoice_info'][6]}
{/if} {if condition="!empty($info['order']['buyer_invoice_info'][1]) && $info['order']['buyer_invoice_info'][1] neq ''"}
- {:lang('member_invoice_content')}： {$info['order']['buyer_invoice_info'][1]}
{/if} {/if}

{/eq} {if addon_is_exit('NsCustomForm')} {php} $getOrderCustom = api("System.Member.getOrderCustom", []); $customDeatil = api("System.Member.getOrderCustomFormData" ,["order_id"=>$order_id]); {/php} {if condition = "!empty($customDeatil)"} {volist name="getOrderCustom.data" id="list"}

- {$list.oc_name}
{volist name="customDeatil.data" id="custom"} {if condition = "$custom.oc_id == $list.oc_id"} {if condition = "$custom.value != ''"}
- {$custom.data_name}： {$custom.value}
{/if} {/if} {/volist}

{/volist} {/if} {/if} {if condition="$info['order']['order_status'] == 6 && $info['order']['order_type'] == 4"} {php} $pintuan_info = api("NsPintuan.Pintuan.sharePintuan",['goods_id' => $info['order']['order_goods'][0]['goods_id'], 'group_id' => $info['order']['tuangou_group_id']]); $pintuan_info = $pintuan_info['data']; {/php}
待分享，还差{$pintuan_info['tuangou_group_info']['poor_num']}人， 剩余0天00:00:00

{foreach name="$pintuan_info['tuangou_group_info']['user_list']" item="vo"}
- {if condition="$vo.uid == $pintuan_info['tuangou_group_info']['group_uid'] && $is_boos == 0"} 拼主 {/if} {if condition="$vo.user_headimg"} {else/} {/if}
{/foreach} {for start="0" end="$pintuan_info['tuangou_group_info']['poor_num']" step="1"}
{/for}

{if condition="$pintuan_info['tuangou_group_info']['tuangou_type'] = 2"}

拼单成功后，{$pintuan_info['tuangou_group_info']['group_name']}将会获得 {if condition="$pintuan_info['tuangou_group_info']['goods_tuangou']['colonel_point']>0"} {$pintuan_info['tuangou_group_info']['goods_tuangou']['colonel_point']}个积分 {/if} {if condition="$pintuan_info['tuangou_group_info']['goods_tuangou']['colonel_commission']>0"} {$pintuan_info['tuangou_group_info']['goods_tuangou']['colonel_commission']}元余额 {/if}

{/if}
{/if} {if $info['order']['shipping_type'] neq 3} {if condition="$info['express_count'] > 0"}

- {:lang('goods_total')}{$info['express_count']}{:lang('of_parcels')} {$info['express_name']} {if condition="$info['is_show_express_code']"} {:lang('member_waybill_number')}:{$info['express_code']} {/if}

{/if} {else/} {if $info['order']['shipping_type'] eq 3 && $info['order']['shipping_status'] eq 1}

配送单号：{$info['order']['distribution_info']['express_no']}

配送人：{$info['order']['distribution_info']['order_delivery_user_name']}

配送人手机号：{$info['order']['distribution_info']['order_delivery_user_mobile']}

备注：{$info['order']['distribution_info']['remark']}

{/if} {/if}

- {:lang('member_buyer_message')}
- {if condition="$info['order']['buyer_message'] !=''"} {$info['order']['buyer_message']} {else/} {:lang('member_no_messages')} {/if}

{volist name="$info['order']['order_goods']" id="goodsData"}
- {$goodsData.goods_name} {if condition = "$goodsData['sku_name'] neq ''"} {$goodsData.sku_name} {/if}
  {:lang('goods_price')}: ￥{$goodsData.price} {if $goodsData.gift_flag > 0} 赠品 {/if}
  {:lang('goods_number')}: {$goodsData.num}
  {:lang('adjust_price')}: {$goodsData.adjust_money}
{/volist}

{:lang('member_total_commodity_value')}： ￥{$info['order']['goods_money']}
{:lang('goods_freight')}： ￥{$info['order']['shipping_money']}
{if condition="$info['order']['user_platform_money']>0"}
{:lang('member_balance_payment')}： ￥{$info['order']['user_platform_money']}
{/if} {if condition="$info['order']['coupon_money']>0"}
{:lang('member_coupons')}： ￥{$info['order']['coupon_money']}
{/if} {if condition="$info['order']['tax_money']>0"}
{:lang('member_invoice_tax')}： ￥{$info['order']['tax_money']}
{/if} {if condition="$info['order']['promotion_money']>0"}
{:lang('member_total_discount')}： ￥{$info['order']['promotion_money']}
{/if} {if condition="$info['order']['point']>0"}
{:lang('member_use_integral')}： {$info['order']['point']}
{/if}
{:lang('member_actual_payment')}： ￥{$info['order']['pay_money']}
{notempty name="$order['virtual_goods_list']"}

{foreach name="order.virtual_goods_list" item="vg"}

- ##### 虚拟码：{if $vg.remark neq ''}{$vg.virtual_code}{/if}

- {if $vg.remark eq ''} {$vg.virtual_code} {if $vg.use_status eq 0} 待使用 {elseif condition="$vg.use_status eq 1"/} 已使用 {else} 已过期 {/if} {else /} 详 情： ******** 显示 {/if}
{/foreach}

{/notempty} {php} $custom_service = api("System.Config.customService");//客服信息 $custom_service = $custom_service['data']; $web_site_info = api("System.Config.webSite");//站点信息 $web_site_info = $web_site_info['data']; $data["list"] = $list; {/php}
联系客服
拨打电话
{if count($info['order']['member_operation']) > 0}
{volist name="$info['order']['member_operation']" id="vo"} {$vo.name} {/volist}
{/if} {else/}
{/notempty} {/block} {block name="footer"}{/block} {block name="script"}
{notempty name="$pintuan_info"}
{/notempty} {/block}