#### <{$product.title}>

订单编号 | 订单状态 | 申请的时间
--- | --- | ---
<{$order.order_bn}> | <{$product.status_value}> | <{$product.add_time|cdate:FDATE_STIME}>

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

<{if $product.status>3}>

基础物料编码 | 基础物料名称 | 规格 | 申请数量 | 剩余数量 | 价格 | 所属仓库
--- | --- | --- | --- | --- | --- | ---
<{foreach from=$product.items item=items}> <{if $items.disabled=='false'}>
<{$items.bn}> | <{$items.name|visibility:$items.product_id}> | <{$items.spec_info}> | <{$items.num}> | <{$items.effective}> | <{$items.price}> | <{$items.branch_name}>
<{/if}> <{/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}> <{if $items.disabled=='false'}>
<{$items.bn}> | <{$items.name|visibility:$items.product_id}> | <{$items.spec_info}> | <{$items.num}> <{if $product.delivery_id}> | <{$items.num}> <{/if}> | <{$items.effective}> | <{$items.price}> <{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}>
<{/if}> <{/foreach}>

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

#### 售后附件下载

<{if $attachment_type!='remote'}> 请点击下载该附件 <{else}> <{foreach from=$product.attachment item=check key=key}> 附件<{$key+1}> <{/foreach}> <{/if}>

<{/if}>
<{$plugin_html_show}>
<{if $product.delivery_id}>

申请原因:<{$product.content}>
申请备注:<{$product.comment}>
售后答复:<{$product.memo}>

#### 退回物流信息

快递公司 | 快递单号
--- | ---
<{$product.process_data.shipcompany}> | <{$product.process_data.shiplogino}>

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

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

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

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

<{if $product.status >= 2}> <{button_permission id="x-return_status_{$product.return_id}_2" label="审核中" permission='aftersale_return_check' name="butsubmit" onclick="set_status(2)" disabled="disabled"}> <{else}> <{button_permission id="x-return_status_{$product.return_id}_2" label="审核中" permission='aftersale_return_check' name="butsubmit" onclick="set_status(2)" }> <{/if}> | <{if $product.status != 2}> <{button_permission id="x-return_status_{$product.return_id}_3" label="接受申请" permission='aftersale_return_accept' name="butsubmit" onclick="set_status(3)" disabled="disabled"}> <{else}> <{button_permission id="x-return_status_{$product.return_id}_3" label="接受申请" permission='aftersale_return_accept' name="butsubmit" onclick="set_status(3)"}> <{/if}> <{if $product.status eq 1 || $product.status eq 2}> | <{if $product.status >= 2}> <{button_permission id="x-return_status_{$product.return_id}_5" label="拒绝" permission='aftersale_return_refuse' name="butsubmit" onclick="set_status(5)" disabled="disabled"}> <{else}> <{button_permission id="x-return_status_{$product.return_id}_5" label="拒绝" permission='aftersale_return_refuse' name="butsubmit" onclick="set_status(5)"}> <{/if}> <{/if}>