<{capture name="header"}> <{/capture}>

<{if $po.po_species == 2}>采购补货单详情<{else}>采购单详情<{/if}>

<{if $po.po_type=='credit'}> <{else}> <{/if}> <{if $po.po_species==2}> <{else}> <{/if}>
<{if $po.po_species==2}>采购补货单编号<{else}>采购单编号<{/if}>: <{$po.po_bn}> 供应商: <{$po.supplier_name}> 采购员: <{$po.operator}> 仓库: <{$po.branch_name}>
金额总计: <{if $po.po_type=='cash' or $eo>=1}> <{help}><{t}>金额总计=商品总额+物流费用<{/t}><{/help}> <{/if}> <{if $show_purchase_price}><{$po.amount|cur}><{else}>-<{/if}> 物料总额: <{if $show_purchase_price}><{$po.product_cost|cur}><{else}>-<{/if}> 物流费用: <{if $po.po_type=='credit'}> <{help}><{t}> <{if count($emslist)>1 }> 物流费用= <{/if}> <{foreach from=$emslist item=items key=keys}> 物流费用(入库时间:<{$items.entry_time|date_format:"%Y-%m-%d"}>) <{if count($emslist)>1 and ($keys+1) < count($emslist) }>+<{/if}> <{/foreach}> <{/t}><{/help}> <{/if}> <{if $po.po_type=='credit'}> <{if $show_purchase_price}><{$delivery_cost}><{else}>-<{/if}>  <{else}> <{if $show_purchase_price}><{$po.delivery_cost}><{else}>-<{/if}>  <{/if}> 单次物流费用 <{$po.delivery_cost|cur}>   
采购日期: <{$po.purchase_time|date_format:"%Y-%m-%d"}> 到货日期: <{$po.arrive_time|date_format:"%Y-%m-%d"}> <{if $po.deposit!=0}>预付款:<{/if}>  <{if $po.deposit!=0}><{$po.deposit}><{/if}>     
采购方式: <{if $po.po_type=='cash'}>现购<{else}>赊购<{/if}> 采购总数 <{$po.total_num}>原采购单号 <{$po.accos_po_bn}>      
<{if $po.memo}> <{/if}>
备注:
<{foreach from=$po.memo item=items}>
<{$items.op_content|escape:"HTML"}> <{$items.op_time}> by <{$items.op_name}>
<{/foreach}>
追加:
<{button type="submit" id="append_memo" label="追加备注" class="btn btn-primary" }>