<div class="checkHead" ng-class="{'default-checkHead': isDefault, 'white-checkHead': isWhite}">
    <div class="left">
        共有
        <span class="stkcodeNum">{{ stkcodeNum }}</span>
        条数据
    </div>
    <div class="center">
        <span class="text32">资金账号:</span>
        <span>{{UserInfo.USER_FUNDID}}</span>
    </div>
    <div class="right col-sm-offset-4" ng-class="{'default-query-date': isDefault, 'white-query-date': isWhite}">
        <span class="glyphicon glyphicon-search search"></span>
        <input type="text" id="stkcode-input" class="borderInput" ng-model="compcode" ng-change="stkcodeChange()" placeholder="请输入B转H权证代码" maxlength="8" oninput = "value=value.replace(/[^\d]/g,'')" />
    </div>
</div>
<!--data-ng-init="load()"表格自适应可视区域-->
<div class="container voteTable" id="voteTable" data-ng-init="load()" style="z-index: 1; position: relative;">
    <div ng-show="isAsk" class="maskBox" id="maskBox" ng-class="{'default-maskBox': isDefault, 'white-maskBox': isWhite}">
        <div class="proBox"></div>
    </div>
    <div class="tip-to-input" ng-show="ifLoad" style="width: 100%;text-align: center;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);color: #666;">请至右上角输入框中输入B转H权证代码查询投票议案~</div>
    <div class="tip-to-input null-data-tip" ng-show="nullData" style="width: 100%;text-align: center;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);color: #666;">
        <img src="../../stock/img/pic.png" alt="">
        <span style="display: block; height: 44px; line-height: 44px;">暂无此权证代码的投票议案</span>
    </div>
    <div ng-show="validShow" class="table-responsive tableResponsive" ng-class="{'default-table-scroll': isDefault, 'white-table-scroll': isWhite}" id="vote-table" style="overflow: scroll;height: 100%">
        <table class="table table-bordered text-center" ng-class="{'default-table': isDefault, 'white-table': isWhite}" style="border-left: none;">
            <thead class="tableHeader">
                <tr>
                    <th width="9%">操作</th>
                    <th width="6%">序号</th>
                    <th width="7%">证券代码</th>
                    <th width="10%">公司简称</th>
                    <th width="10%">公告编号</th>
                    <th width="22%">股东大会名称</th>
                    <th width="8%">议案编号</th>
                    <th width="17%">议案名称</th>
                    <th width="10%">议案类型</th>
                    <th width="10%">投票开始日</th>
                    <th width="10%">投票结束日</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="oVote in ordinaryVote">
                    <td style="width: 66px;">
                        <a href="javascript:void(0)" ng-click="chooseType(oVote)" class="joinVote">
                            <span class="glyphicon glyphicon-align-left"></span>&nbsp;投票
                        </a>
                    </td>
                    <td>{{$index+1}}</td>
                    <td>{{oVote.stkcode}}</td>
                    <td>{{oVote.companyinfo}}</td>
                    <td>{{oVote.meetingseq}}</td>
                    <td>{{oVote.meetingdesc}}</td>
                    <td>{{oVote.vid}}</td>
                    <td>{{oVote.vinfo}}</td>
                    <td>{{oVote.vtype | vtypeFilter}}</td>
                    <td>{{oVote.votedatebegin | dateFilter}}</td>
                    <td>{{oVote.votedateend | dateFilter}}</td>
            </tbody>
        </table>
    </div>
</div>
<!--选择投票方式-->
<div class="fy-common-dialog-mask" ng-if="vTypeshow">
    <div class="fy-common-dialog-box">
        <div class="dialog-top">
            <div class="dialog-title">
                <span>选择投票方式</span>
            </div>
            <span class="dialog-close-btn" data-role="closeBtn" ng-click="closeDialog('noBtn', 'vtype')">
                <i class="icon-close"></i>
            </span>
        </div>
        <div class="dialog-body vtype-dialog-body">
            <p>请选择您的投票方式：</p>
            <div class="radio">
                <label for="online">
                    <input type="radio" class="vote-radio" value="online" name="vote" id="online" checked>
                    <span class="radio-style">线上投票</span>
                </label>
            </div>
            <div class="radio">
                <label for="meeting">
                    <input type="radio" class="vote-radio" value="meeting" name="vote" id="meeting">
                    <span class="radio-style">现场股东大会投票</span>
                    <span class="slight-txt">(线上登记相关信息，再在投票期间现场投票)</span>
                </label>
            </div>
        </div>
        <div class="dialog-footer">
            <button id="sure" ng-click="closeDialog('yesBtn', 'vtype')" class="button sure-btn dialog-btn">
                <span>确定</span>
            </button>
            <button ng-click="closeDialog('noBtn', 'vtype')" class="button cancel-btn" >
                <span>取消</span>
            </button>
        </div>
    </div>
 </div>
 <!--现场股东大会投票信息登记-->
<div class="fy-common-dialog-mask" ng-if="meetingVoteShow">
    <div class="fy-common-dialog-box">
        <div class="dialog-top">
            <div class="dialog-title">
                <span>现场股东大会投票信息登记</span>
            </div>
            <span class="dialog-close-btn" data-role="closeBtn" ng-click="closeDialog('noBtn', 'meeting')">
                <i class="icon-close"></i>
            </span>
        </div>
        <div class="dialog-body meeting-dialog-body">
            <ul>
                <li>
                    <span class="field">公司简称:</span>
                    <span>{{rowInfo.companyinfo}}</span>
                </li>
                <li>
                    <span class="field">股东大会名称:</span>
                    <span>{{rowInfo.meetingdesc}}</span>
                </li>
                <li>
                    <span class="field">股东账号:</span>
                    <span>{{rowInfo.secuid}}</span>
                </li>
                <li>
                    <span class="field">持有人名称<i class="required-sign">*</i>:</span>
                    <input type="text" class="hodername-input" ng-model="meeting.hodername" ng-change="valueChange('hodername')">
                    &nbsp;&nbsp;<span class="slight-txt">{{meeting.hodername.length}}/{{hodername_maxlen}}</span>
                    &nbsp;&nbsp;<span class="required-sign">{{hodername_check}}</span>
                </li>
                <li class="input-bottom slight-txt">
                    英文格式，姓在前、名在后，姓与名之间空格隔开，只可输入大写英文字母和空格，最长{{hodername_maxlen}}个英文字符
                </li>
                <li>
                    <span class="field">性别<i class="required-sign">*</i>:</span>
                    <div class="radio gender-radio-group">
                        <label>
                            <input type="radio" class="gender-radio" value="MS" name="gender">
                            <span class="radio-style">女士MS</span>
                        </label>&nbsp;&nbsp;
                        <label>
                            <input type="radio" class="gender-radio" value="MR" name="gender">
                            <span class="radio-style">男士MR</span>
                        </label>
                    </div>
                </li>
                <li class="address-li">
                    <span class="field">通讯地址<i class="required-sign">*</i>:</span>
                    <div class="address-div">
                        <ul>
                            <li>
                                <span class="address-field">街道、门牌:</span>
                                <input type="text" class="street-input" ng-model="meeting.street" ng-change="valueChange('street')">
                                &nbsp;&nbsp;<span class="slight-txt">{{meeting.street.length}}/{{street_maxlen}}</span>
                                &nbsp;&nbsp;<span class="required-sign">{{street_check}}</span>
                            </li>
                            <li>
                                <span class="address-field">区:</span>
                                <input type="text" class="district-input" ng-model="meeting.district" ng-change="valueChange('district')">
                                &nbsp;&nbsp;<span class="slight-txt">{{meeting.district.length}}/{{street_maxlen}}</span>
                                &nbsp;&nbsp;<span class="required-sign">{{district_check}}</span>
                            </li>
                            <li>
                                <span class="address-field">市:</span>
                                <input type="text" class="district-input" ng-model="meeting.city" ng-change="valueChange('city')">
                                &nbsp;&nbsp;<span class="slight-txt">{{meeting.city.length}}/{{street_maxlen}}</span>
                                &nbsp;&nbsp;<span class="required-sign">{{city_check}}</span>
                            </li>
                            <li>
                                <span class="address-field">国:</span>
                                <input type="text" class="district-input" ng-model="meeting.country" ng-change="valueChange('country')">
                                &nbsp;&nbsp;<span class="slight-txt">{{meeting.country.length}}/{{country_maxlen}}</span>
                                &nbsp;&nbsp;<span class="required-sign">{{country_check}}</span>
                            </li>
                            <li class="slight-txt" style="width: 370px;">通讯地址各项输入框仅支持英文格式，只允许大写字母、空格、数字</li>
                        </ul>
                    </div>
                </li>
            </ul>
        </div>
        <div class="dialog-footer">
            <button id="sure" ng-click="closeDialog('yesBtn', 'meeting')" class="button sure-btn dialog-btn">
                <span>提交</span>
            </button>
            <button ng-click="closeDialog('noBtn', 'meeting')" class="button cancel-btn" >
                <span>取消</span>
            </button>
        </div>
    </div>
</div>
<!-- 提示框 -->
<tip-dir></tip-dir>

