<{if $reship_data.return_id}> <{/if}>
<{if $reship_data.return_id}>

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

<{/if}>

退换货类型: |  | 销售单: | <{if $reship_data.reship_id}><{$reship_data.order_bn}> <{else}> <{img class="pointer btn_supplier" title="查看销售订单列表" app="desktop" src="bundle/zoom_btn.gif"}> <{/if}> | 会员名: | <{$reship_data.member_id|default:'-'}> | 退回物流公司: | <{input type="object" name="return_logi_name" value=$reship_data.return_logi_name mdl_object="ome_mdl_dly_corp" cols="name" object="dly_corp" app="ome" filter="d_type=1" style="width:120px" }>
创建日期: | <{if $reship_data.createtime!=''}><{$reship_data.createtime|cdate}><{else}>-<{/if}> | 物流公司: | <{$reship_data.logi_name|default:'-'}> | 物流单号: | <{$reship_data.logi_no|default:'-'}> | 退回物流单号: |
收货人姓名: |  | 收货人地区: | <{input app=eccommon class="x-input" type="region" name="ship_area" id="region" value="{$reship_data.ship_area}" }> | 收货人地址: |  | 收货人邮编: |
收货人固定电话: |  | 收货人Email: |  | 收货人手机: |  | 配送方式: | <{$reship_data.delivery|default:'-'}>
仓库: | <{if $branchtype=='branch'}> <{if $reship_data.is_check=='11'}> <{$reship_data.branch_name}> <{else}> <{/if}> <{else}> <{$reship_data.branch_name}> <{/if}> |  |  |  |  |
售后服务类型: | <{foreach from=$problem_type item=item key=key}> checked<{elseif $key eq 0}>checked<{/if}> value="<{$item.problem_id}>"><{$item.problem_name}> <{/foreach}>
<{t}>备注:<{/t}> | <{$reship_data.memo}>

订单信息: | 物料总额: | <{$order.cost_item|cur}> | 配送费用: | <{$order.shipping.cost_shipping|cur}> | 保价费用: | <{$order.shipping.cost_protect|cur}> | 支付费用 | <{$order.payinfo.cost_payment|cur}> | 税金: | <{$order.cost_tax|cur}>
| 折扣: | <{$order.discount|cur}> | 商品促销优惠: | <{$order.pmt_goods|cur}> | 订单促销优惠: | <{$order.pmt_order|cur}> | 订单总额: | <{$order.total_amount|cur}> | 已支付金额: | <{$order.payed|cur}>

style='padding-bottom:5px;display:none;color:#cc6600;'<{else}>style='padding-bottom:5px;color:#cc6600;'<{/if}> id='change-formula'>公式计算: 合计退款金额=应退商品金额 + 补偿费用 + 补差价费用 - 换出商品金额 - 折旧(其他费用) - 买家承担的邮费
style='padding-bottom:5px;display:none;color:#cc6600;'<{else}>style='padding-bottom:5px;color:#cc6600;'<{/if}> id='return-formula'>公式计算: 合计退款金额=应退商品金额 + 补偿费用 - 折旧(其他费用) - 买家承担的邮费

应退商品金额 | 补偿费用 | style='display:none;'<{/if}> class='change-money-info'>换出商品金额 | 折旧(其他费用) | 买家承担的邮费 | style='display:none;'<{/if}> class='change-money-info diff-order-info'> 补差价费用
<{$reship_data.tmoney|cur}> |  | style='display:none;'<{/if}> class='change-money-info'> <{$reship_data.change_amount|cur}> | <{input type="text" name="bmoney" size=5 value=$reship_data.bmoney id="bmoney" }> | <{input type="text" name="cost_freight_money" size=5 value=$reship_data.cost_freight_money id="cost_freight_money" vtype='unsigned'}> | style='display:none;'<{/if}> class='change-money-info diff-order-info'> style="display:none;"<{/if}> > <{button label='添加补差价订单' id='select-diff-order'}> style="display:none;"<{/if}> > 订单：<{$reship_data.diff_order_bn}> 金额：<{$reship_data.diff_money|cur}> 取消
合计退款金额: <{$reship_data.totalmoney|cur}> <{button type='button' label='计算差价' onclick="calculate();"}> <{help}> 说明: 1.'合计金额'如果大于0,表示系统需要退还给用户的金额; 2.如果等于0,表示彼此不用退还. 3.售后服务如果包含捆绑商品请重新核对退款金额 <{/help}>

<{tabber}> <{tab name="退入商品"}>

<{t}>选择<{/t}> | <{t}>基础物料编码<{/t}> | <{t}>基础物料名称<{/t}> | <{t}>规格<{/t}> | <{t}>价格<{/t}> | <{t}>可退入数量<{/t}> | <{t}>申请数量<{/t}> | <{t}>良品<{/t}> | <{t}>不良品<{/t}> | <{t}>仓库<{/t}>
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
<{foreach from=$reship_data.return item=aGoods name="item" key=key}>
<{if $reship_data.is_check=='10' || $reship_data.is_check=='11' || $reship_data.is_check=='9'}> <{else}> <{/if}> | <{$aGoods.bn}> | <{$aGoods.product_name}> | <{$aGoods.spec_info}> | <{if $reship_data.is_check=='10' || $reship_data.is_check=='11' || $reship_data.is_check=='9'}> <{$aGoods.price}> <{else}> <{/if}> | <{$aGoods.effective}> | <{if $reship_data.is_check=='10' || $reship_data.is_check=='11' || $reship_data.is_check=='9'}> <{$aGoods.num}> <{else}> <{/if}> | <{$aGoods.normal_num}> | <{$aGoods.defective_num}> <{if $branch_mode=='single'}> <{$aGoods.branch_name}> <{else}> | <{$aGoods.branch_name}> <{/if}>
<{/foreach}> <{if $order_item}> <{foreach from=$order_item item=aGoods name="item" key=key}> <{if $aGoods.sendnum > '0'}>
onmouseover='showtips(this,event,"<{$aGoods.ref}>");' > <{if $aGoods.effective>0}><{/if}> | <{$aGoods.bn}> | <{if $aGoods.obj_type=='pkg'}> 捆绑 <{$aGoods.name|visibility:$aGoods.product_id}> <{else}> <{$aGoods.name}> <{/if}> | <{$aGoods.spec_value}> |  | <{$aGoods.effective}> | <{if $aGoods.effective>0}><{/if}> |  | <{if $branch_mode=='single'}> <{$aGoods.branch.0.branch_name}> <{else}> | <{foreach from=$aGoods.branch item=branch key=keys}> <{$branch.branch_name}> <{/foreach}> <{/if}>
<{/if}> <{/foreach}> <{/if}>

#### 优惠方案

<{if $pmts}>

<{t}>优惠方案<{/t}> | <{t}>优惠金额<{/t}>
--- | ---
<{foreach from=$pmts item=pmt}>
<{$pmt.pmt_describe}> | <{$pmt.pmt_amount}>
<{/foreach}>

<{/if}>
<{/tab}> <{tab name="换出商品" class="is_display"}>

#### <{if $not_edit == true}> <{else}> <{button label="新增换出销售物料" id="change-find-btn" rtype="change" }> 选择换货仓库:
<{/if}>

操作 | <{t}>销售物料编码<{/t}> | <{t}>销售物料名称<{/t}> | <{t}>销售物料类型<{/t}> | <{t}>库存数量<{/t}> | <{t}>申请数量<{/t}> | <{t}>销售物料售价<{/t}>
--- | --- | --- | --- | --- | --- | ---

<{/tab}> <{tab name="支付/退款明细" class='is_display bill-info'}>
<{include file="admin/return_product/rchange/paydetail.html" app="ome"}>
<{/tab}> <{/tabber}>
<{if $not_edit}> <{button_permission label="确认收货" permission='aftersale_rchange_check' type="button" id="reship-check"}> <{button label="取消" class="btn-secondary" isCloseDialogBtn="true" onclick="this.getParent('.dialog').retrieve('instance').close();"}> <{else}> <{button_permission label="确认并审核" permission='aftersale_rchange_check' type="button" id="reship-check"}> <{button_permission label="确定并保存" permission='aftersale_rchange_edit' class="btn-primary" type="button"}> <{button label="取消" class="btn-secondary" isCloseDialogBtn="true" onclick="this.getParent('.dialog').retrieve('instance').close();"}> <{/if}>