<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
    <tr>
        <td width="50" align="center" class="bg_tr" nowrap>序号</td>
        <td width="80" align="center" class="bg_tr" nowrap>快递公司</td>
        <td width="80" align="center" class="bg_tr" nowrap>快递单号</td>
        <td width="80" align="center" class="bg_tr" nowrap>配送员电话</td>
        <td width="50%" align="center" class="bg_tr" nowrap>描述</td>
        <td width="50" align="center" class="bg_tr" nowrap>送单时间</td>
        <td width="50" align="center" class="bg_tr" nowrap>操作员</td>
    </tr>
    <?php
    foreach($items as $index => $item) {
        ?>
        <tr>
            <td align="center" class="td_bg"nowrap ><?=$index+1?></td>
            <td class="td_bg" nowrap><?=$item->ems_company?></td>
            <td align="center" class="td_bg" nowrap><?=$item->ems_no?></td>
            <td class="td_bg" nowrap><?=$item->ems_phone?></td>
            <td class="td_bg" nowrap><?=$item->ems_remark?></td>
            <td align="center" class="td_bg" nowrap><?=$item->updated_at?></td>
            <td class="td_bg" nowrap><?=$item->user?$item->user->getShowName():''?></td>
        </tr>
        <?php
    }
    ?>
</table>
