合并发货单操作

(注意:如果勾选合并的发货单,此大发货单将消失,所属的发货单将与其他勾选的发货单合并为一张新的发货单)

<{foreach from=$dly item=item}> <{/foreach}>
来源发货单号:<{$olddly.delivery_bn}> 是否合并:<{if $olddly.is_bind=='true'}>
子ID:<{foreach from=$olddly.ids item=i}>
<{$i.delivery_bn}><{/foreach}><{else}>否<{/if}>
订单状态:<{if $olddly.order_status=='ERROR'}>异常<{else}>正常<{/if}>
<{if $item.order_status=='ERROR'}>--<{else}><{/if}> 发货单号:<{$item.delivery_bn}> 是否合并:<{if $item.is_bind=='true'}>
子ID:<{foreach from=$item.ids item=i}>
<{$i.delivery_bn}><{/foreach}><{else}>否<{/if}>
订单状态:<{if $item.order_status=='ERROR'}>异常<{else}>正常<{/if}>
请选择物流公司:<{input type="select" name="logi_id" rows=$dly_corp valueColumn="corp_id" labelColumn="name" value=''}>
<{capture name="footbar"}>
<{button label="合并" class="btn-primary" type="submit" id="confirm_btn" onClick="do_action()"}>
<{/capture}>