<div class="listview">
    <div class="viewlist">
        <rt-data-grid-no-page rt-page-record-count="vm.page.recordCount"  rt-page-index="vm.page.index" rt-page-size="vm.page.size" rt-get-data="vm.view.search()" 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 rt-field-code="RCH">降价</th>
                        <th rt-field-code="gift">赠品&礼品</th>
                        <th rt-field-code="terminatBack">终端返点</th>
                        <th rt-field-code="terminatAgio">终端折扣</th>
                        <th rt-field-code="memberSales">会员促销</th>
                        <th rt-field-code="felicitateSales">店庆促销</th>
                        <th rt-field-code="other">其他</th>
                        <th>照片</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="row in vm.data track by row.Id">
                        <!-- @@ 视图列表值 -->
                        <td>
                            {{row.RCHName}}
                        </td>
                        <td>
                            {{row.giftName}}
                        </td>
                        <td>
                            {{ row.terminatBackName}}
                        </td>
                        <td>
                            {{row.terminatAgioName}}
                        </td>
                        <td>
                            {{row.memberSalesName}}
                        </td>
                        <td>
                            {{ row.felicitateSalesName}}
                        </td>
                        <td>
                            {{row.otherName}}
                        </td>
                        <td>
                            <a href="javascript:;" ng-click="vm.showImage(row.Id)" style="color: #09f;">浏览</a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </rt-data-grid-no-page>
        <!-- rt-data-grid  -->
    </div>
    <!-- div[.panel-default] -->
</div>
<!-- div[.listview] -->

<div class="sidebar sidebar-right sidebar-animate rt-shadow-border-left content-wrapper" ng-if="vm.view.type=='default'">
    <div ui-view class="content"></div>
</div>
<!-- div[.editview] -->