<{if $order}> <{if $order.is_has_remote_pdts!=='true'}> <{include file="admin/order/order_edit.html"}> <{elseif $order.is_has_remote_pdts=='true'}> <{include file="admin/order/edit_po.html"}> <{/if}> <{else}> <{include file="admin/order/detail/detail.html"}> <{/if}>
<{capture name='footbar'}> <{assign var="message" value=$___b2c='确定退出?'|t:'b2c'}> <{assign var="closelabel" value='关 闭'}>

<{button label=$___b2c='保存并关闭窗口'|t:'b2c' class="btn-primary" onclick="subOrderForm(event,2)"}> <{button label=$___b2c='保存当前'|t:'b2c' class="btn-primary" onclick="subOrderForm(event,1)"}> <{button label=$___b2c=$closelabel|t:'b2c' class="btn-secondary" onclick="if(confirm('{$message}'))window.close()"}>

<{/capture}>