<!-- 操作栏 -->
<a href="{{:MyUrl('admin/orderaftersale/detail', ['id'=>$module_data['id']])}}" target="_blank" rel="noopener noreferrer" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block">
    <i class="am-icon-eye"></i>
    <span>{{:MyLang('detail_title')}}</span>
</a>
{{if $module_data['status'] eq 1 and $module_data['type'] eq 1}}
    <a href="{{:MyUrl('index/orderaftersale/detail', ['id'=>$module_data['id'], 'isautodelivery'=>1])}}" target="_blank" rel="noopener noreferrer" class="am-btn am-btn-primary am-btn-xs am-radius am-btn-block">
        <i class="am-icon-send"></i>
        <span>{{:MyLang('retreat_goods_title')}}</span>
    </a>
{{/if}}
{{if !in_array($module_data['status'], [3,5])}}
    <button type="button" class="am-btn am-btn-warning am-btn-xs am-radius am-btn-block submit-ajax submit-cancel" data-url="{{:MyUrl('index/orderaftersale/cancel')}}" data-id="{{$module_data.id}}" data-view="reload">
        <i class="am-icon-paint-brush"></i>
        <span>{{:MyLang('cancel_title')}}</span>
    </button>
{{/if}}