<!-- 操作栏 -->
{{if AdminIsPower('warehousegoods', 'detail')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/warehousegoods/detail', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('detail_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('detail_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('warehousegoods', 'inventoryinfo')}}
    <button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/warehousegoods/inventoryinfo', ['id'=>$module_data['id']])}}" data-class="warehouse-goods-popup" data-title="{{:MyLang('inventory_title')}}">
        <i class="am-icon-square-o"></i>
        <span>{{:MyLang('inventory_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('warehousegoods', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/warehousegoods/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}