<rt-form id="{{vm.form.name}}" name="{{vm.form.name}}" novalidate>
    <div class="row rt-margin-bottom-before-box">
        <div class="col-sm-2">
            <button class="btn btn-link" type="button" id="btnClose" ng-click="vm.hide()">
                    <i class="fa fa-sign-out"></i> 关闭
                </button>
        </div>
    </div>

    <div class="box box-primary">
        <div class="nav-tabs-custom">
            <div class="tab-content">
                <rt-data-grid rt-page-record-count="vm.form.recordCount" rt-page-index="vm.page.index" rt-page-size="vm.page.size" rt-get-data="vm.form.updata()" rt-sort-field="vm.view.sortField" rt-rows="vm.data" rt-selected-ids="vm.view.selectedIds" rt-auto-height="{{vm.view.autoHeight}}">
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <th>购药时间</th>
                                <th>品种</th>
                                <th>规格</th>
                                <th>监管码</th>
                                <th>数量</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-repeat="row in vm.form.data">
                                <td>
                                    {{row.CreatedOn| date:'yyyy-MM-dd HH:mm:ss'}}
                                </td>
                                <td>
                                    {{row.productIdName}}
                                </td>
                                <td>
                                    {{row.productsize}}
                                </td>
                                <td>
                                    {{row.code}}
                                </td>
                                <td>
                                    {{row.qty}}
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </rt-data-grid>
            </div>
        </div>
    </div>

</rt-form>