{set:$orderStatus = Order_class::getOrderStatus(array('status' => $status,'pay_type' => $pay_type,'distribution_status' => $distribution_status))}
商品名称
商品原价
实际价格
商品数量
小计
配送方式
{query:name=order_goods where=order_id eq $order_id}
{set:$goodsRow = JSON::decode($item['goods_array'])}
{$goodsRow['name']} {$goodsRow['value']}
{$item['goods_price']}
{$item['real_price']}
{$item['goods_nums']}
{echo:$item['real_price']*$item['goods_nums']}
{echo:Order_Class::goodsSendStatus($item['is_send'])}
{if:$item['delivery_id']}
快递跟踪
{/if}
{/query}
订单金额明细
商品总额: ¥{$payable_amount}
配送费用: ¥{$payable_freight}
保价费用: ¥{$insured}
税金: ¥{$taxes}
优惠总额: ¥{$promotions}
增加或减少金额: ¥{$discount}
订单总额: ¥{$order_amount}
已支付金额: {query:name=collection_doc where=order_id eq $order_id and if_del eq 0 fields=amount}¥{$item['amount']}{/query}
收货人信息
发货日期: {$send_time}
姓名: {$accept_name}
电话: {$telphone}
手机 : {$mobile}
地区: {$area_addr}
地址: {$address}
邮编: {$postcode}
送货时间: {$accept_time}
配送支付信息
配送方式: {$delivery}
{if:$takeself}
自提地址:
{$takeself['province_str']}
{$takeself['city_str']}
{$takeself['area_str']}
{$takeself['address']}
自提联系方式:
座机:{$takeself['phone']}
手机:{$takeself['mobile']}
自提验证码:
{$checkcode}
{/if}
配送保价: {if:$if_insured==0}不保价{else:}保价{/if}
商品重量: {$goods_weight}
支付方式: {$payment}
是否开票: {if:$invoice==0}否{else:}是{/if}
发票抬头: {$invoice_title}
可得积分: {$point}
买家信息
用户名: {$username}
姓名: {$true_name}
电话: {$u_mobile}
地区: {$contact_addr}
Email: {$email}
收款单据
{query: name=collection_doc as c join=left join payment as p on c.payment_id eq p.id where=c.order_id eq $order_id items=$collectionData fields=c.*,p.name}{/query}
{if:$collectionData}
时间: {$item['time']}
金额: {$item['amount']}
支付方式: {$item['name']}
付款备注: {$item['note']}
状态: {if:$item['pay_status']==0}准备中{else:}支付完成{/if}
{else:}
暂无数据
{/if}
退款单据列表
{query: name=refundment_doc where=order_id eq $order_id items=$refundmentData}
退款商品:
{query:name=order_goods where=order_id eq $order_id and goods_id eq $item[goods_id] and product_id eq $item[product_id] item=$good}
{set:$goods = JSON::decode($good['goods_array'])}
{echo:IString::substr($goods['name'],25)} X {$good['goods_nums']}件
{/query}
{if:$item['seller_id']}
{/if}
退款金额: {$item['amount']}
申请时间: {$item['time']}
状态: {echo:Order_Class::refundmentText($item['pay_status'])}
退款理由: {$item['content']}
{/query}
配送时间
配送方式
物流单号
收件人
备注
{query: name=delivery_doc as c join=left join delivery as p on c.delivery_type eq p.id fields=c.*,p.name as pname where=c.order_id eq $order_id items=$deliveryData}
{$item['time']}
{$item['pname']}
{$item['delivery_code']}
{$item['name']}
{$item['note']}
{/query}
方案
优惠内容
{if:$this->result}
{foreach:items=$this->result}
{$item['plan']}
{$item['info']}
{/foreach}
{else:}
暂无数据
{/if}
时间
操作人
动作
结果
备注
{query: name=order_log as ol where=ol.order_id eq $order_id}
{$item['addtime']}
{$item['user']}
{$item['action']}
{$item['result']}
{$item['note']}
{/query}