<div>
    <table class="table table-hover table-responsive" id="enterStoreTr">
        <thead>
        <th><input id="checkCkAllCountyBox" value="0" style="zoom:180%;vertical-align: bottom;" type="checkbox"
                   ng-click="getAllCkCountyBox()"/>全选
        </th>
        <th>循环单编号</th>
        <th>区县</th>
        <th>证件数量</th>
        <th>已出库数量</th>
        <th>出库数量</th>
        <th></th>
        </thead>
        <tbody>
        <tr ng-repeat="county in countyList | orderBy:countyCode">
            <td><input type="checkbox" class="checkCkCountyBox"
                       value="{{county.cycleSheetId}}_{{county.countyCode}}_0_0_{{county.electricSum - county.numberOfOutbound}}_0"
                       style="zoom:180%;"/></td>
            <td>{{county.cycleSheetId}}</td>
            <td>{{county.countyName}}</td>
            <td>{{county.electricSum}}</td>
            <td>
                {{county.numberOfOutbound}}
            </td>
            <td>{{county.electricSum - county.numberOfOutbound}}<i style="padding-left:15px;cursor: pointer;"
                                                                   class="glyphicon glyphicon-pencil"
                                                                   ng-click="updateLeaveSum(county.countyCode)"></i>
            </td>
            <td ng-show="showSum == county.countyCode">
                <input type="text" ng-model="leaveStoreSum">
                <i style="cursor: pointer;" class="glyphicon glyphicon-ok"
                   ng-click="saveLeaveStoreSum(leaveStoreSum,0,county.cycleSheetId,county.countyCode)">修改</i>
                <i style="cursor: pointer;" class="glyphicon glyphicon-remove" ng-click="cancelLeaveStoreSum()">取消</i>
            </td>
        </tr>
        </tbody>
    </table>
    <div style="text-align: right;">
        <div style="color: red;padding: 5px;" ng-if="showAlertCk">{{alertCk}}</div>
        <div style="color: red;padding: 5px;" ng-if="showUpdateSuccessMsg">{{updateSuccessMsg}}</div>
        <button class="btn btn-info" ng-click="saveTheseCountySum()">更新</button>
        <button class="btn btn-info" ng-click="closeThisDialog()">关闭</button>
    </div>
</div>