售后标题：<{$product.title}>

<{t}>订单编号：<{/t}> | <{$order.order_bn}>
<{t}>订单状态：<{/t}> | <{$product.status_value}>
<{t}>提出申请的时间：<{/t}> | <{$product.add_time|cdate:FDATE_STIME}>
<{t}>售后答复：<{/t}> | <{$product.memo}>

#### 申请售后服务的商品

<{if $product.status>3}>

基础物料编码 | 基础物料名称 | 申请数量 | 剩余数量 | 所属仓库
--- | --- | --- | --- | ---
<{foreach from=$product.items item=items}>
<{$items.bn}> | <{$items.name|visibility:$items.product_id}> | <{$items.num}> | <{$items.effective}> | <{$items.branch_name}>
<{/foreach}>

<{else}>

基础物料编码 | 基础物料名称 | 申请数量 <{if $product.delivery_id}> | 数量 <{/if}> | 剩余数量 <{if $product.delivery_id}> | 仓库 <{else}> <{if $branch_mode!='single'}> | <{t}>仓库<{/t}> <{/if}> <{/if}>
--- | --- | --- | --- | --- | --- | ---
<{foreach from=$product.items item=items key=key}>
<{$items.bn}> | <{$items.name|visibility:$items.product_id}> | <{$items.num}> <{if $product.delivery_id}> | <{$items.num}> <{/if}> | <{$items.effective}> <{if $product.delivery_id}> | <{$items.branch_name}> <{else}> <{if $branch_mode=='single'}> <{else}> | <{foreach from=$items.branch item=branch key=keys}> <{$branch.branch_name}> <{/foreach}> <{/if}> <{/if}>
<{/foreach}>

<{if !$product.delivery_id}>

#### 选择收货人信息

选择 | 发货单号 | 收货人姓名 | 收货人地区 | 收货人地址
--- | --- | --- | --- | ---

<{/if}>
<{/if}> <{if $product.attachment!=''}>

#### 售后附件下载

<{if $attachment_type!='remote'}> 请点击下载该附件 <{else}> 请点击下载该附件 <{/if}>

<{/if}> <{if $product.delivery_id}> <{if $product.content!=''}>

#### 详细说明

<{$product.content}><{if $product.process_data.shipcompany || $product.process_data.logino}> 物流公司:<{$product.process_data.shipcompany}>,物流单号:<{$product.process_data.logino}><{/if}>

<{/if}>

#### 会员信息

用户名 | 会员固定电话 | 会员邮编 | Email | 会员手机
--- | --- | --- | --- | ---
<{$product.member.account.uname}> | <{$product.member.contact.tel}> | <{$product.member.contact.zip}> | <{$product.member.contact.email}> | <{$product.member.contact.mobile}>

#### 收货人信息

收货人姓名 | 收货人地区 | 收货人地址 | 收货人邮编 | 收货人固定电话 | 收货人Email | 收货人手机
--- | --- | --- | --- | --- | --- | ---
<{$product.delivery.consignee.name}> | <{$product.delivery.consignee.area|region}> | <{$product.delivery.consignee.addr}> | <{$product.delivery.consignee.zip}> | <{$product.delivery.consignee.tel}> | <{$product.delivery.consignee.email}> | <{$product.delivery.consignee.mobile}>

#### 操作日志

操作时间 | 操作员 | 操作类型 | 操作内容
--- | --- | --- | ---
<{foreach from=$product.log item=log}>
<{$log.operate_time|cdate:FDATE_STIME}> | <{$log.op_name}> | <{$log.operation}> | <{$log.memo}>
<{/foreach}>

#### 仓库收货信息

仓库 | 快递公司 | 快递单号 | 快递费用 | 是否到付 | 收货备注
--- | --- | --- | --- | --- | ---
<{$product.process_data.branch_name}> | <{$product.process_data.shipcompany}> | <{$product.process_data.shiplogino}> | <{$product.process_data.shipmoney}> | <{if $product.process_data.daofu==''}>否<{else}>是<{/if}> | <{$product.process_data.memo}>

<{if count($product.check_data)>0}>

#### 已处理的申请商品

基础物料编码 | 基础物料名称 | 数量 | 售后问题类型 | 商品入库类型 | 质检描述
--- | --- | --- | --- | --- | ---
<{foreach from=$product.check_data item=check key=key}>
<{$check.bn}> | <{$check.name|visibility:$items.product_id}> | 1 | <{$check.problem_type}> | <{$check.StoreType}> | <{$check.memo}>
<{/foreach}>

<{/if}> <{/if}>

<{if $product.status >= 2}> <{button id="x-return_status_{$product.return_id}_2" label="审核中" name="butsubmit" onclick="set_status(2)" disabled="disabled"}> <{else}> <{button id="x-return_status_{$product.return_id}_2" label="审核中" name="butsubmit" onclick="set_status(2)" }> <{/if}> | <{if $product.status != 2}> <{button id="x-return_status_{$product.return_id}_3" label="接受申请" name="butsubmit" onclick="set_status(3)" disabled="disabled"}> <{else}> <{button id="x-return_status_{$product.return_id}_3" label="接受申请" name="butsubmit" onclick="set_status(3)"}> <{/if}> | <{if $product.status != 3}> <{button id="x-return_status_{$product.return_id}_4" label="完成" name="butsubmit" onclick="set_status(4)" disabled="disabled"}> <{else}> <{button id="x-return_status_{$product.return_id}_4" label="完成" name="butsubmit" onclick="set_status(4)"}><{/if}> | 0 || $product.money <=0 || ($product.money-$product.refundmoney) <=0}>style="display:none;"<{/if}>> <{if $product.refundmoney >0 || $order.pay_status==5 || $product.money <=0 || ($product.money-$product.refundmoney) <=0}> <{button id="x-return_status_{$product.return_id}_10" label="申请退款" name="butsubmit" disabled="disabled"}> <{else}> <{button id="x-return_status_{$product.return_id}_10" label="申请退款" name="butsubmit" onclick="new Dialog('index.php?ctl=admin_refund_apply&act=request&app=ome&p[0]={$product.order_id}&finder_id={$env.get.finder_id}&p[1]={$product.return_id}&back_url={$env.get.ctl}|{$env.get.act}',{width:800,title:'订单{$order.order_bn}的退款申请'})"}> <{/if}> <{/if}> <{if $product.status eq 1 || $product.status eq 2}> | <{if $product.status >= 2}> <{button id="x-return_status_{$product.return_id}_5" label="拒绝" name="butsubmit" onclick="set_status(5)" disabled="disabled"}> <{else}> <{button id="x-return_status_{$product.return_id}_5" label="拒绝" name="butsubmit" onclick="set_status(5)"}><{/if}> <{/if}>