<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html ng-app="app">
<head>
    <title>信用投票委托查询</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/vote.css">
    <script src="../lib/jquery-1.11.3.min.js"></script>
    <script src="../lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="../lib/angular/angular.js"></script>
    <script src="../lib/angular/angular-sanitize.js"></script>
    <script src="../lib/angular/angular-ui-router.js"></script>
    <!-- angularjs modules -->
    <script src="../_common/service_fcfg.js"></script>
    <script src="../_common/fy_client.js"></script>
    <script src="../_common/service_fql.js"></script>
    <script src="../_common/service_fql_exports.js"></script>
</head>
<body style="overflow:hidden;" ng-cloak ng-controller="creVotequery.ctrl" ng-class="{'default': isDefault, 'white': isWhite}" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onbeforecopy="return false" oncopy=document.selection.empty() onselect=document.selection.empty()>
<!--请求数据前loading框==开始-->
<div ng-show="isAsk" class="maskBox" id="maskBox" ng-class="{'default-maskBox': isDefault, 'white-maskBox': isWhite}">
    <div class="proBox"></div>
</div>
<!--请求数据前loading框==结束-->

<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_CREDITFUNDID}}</span>
    </div>
    <div class="right queryRight col-sm-offset-5" ng-class="{'default-query-date': isDefault, 'white-query-date': isWhite}">
        <span class="glyphicon glyphicon-search searchQuery"></span>
        <input type="text" class="borderInput creditInput" ng-model="compcode" placeholder="请输入投票代码" maxlength="6" onkeyup='this.value=this.value.replace(/\D/gi,"")'>
    </div>
</div>
<!--data-ng-init="load()"表格自适应可视区域-->
<div class="container voteTable" id="voteTable" data-ng-init="load()">
    <div class="table-responsive tableResponsive cre-query" 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="3%">序号</th>
                    <th width="7%">投票代码</th>
                    <th width="7%">投票名称</th>
                    <th width="7%">关联证券代码</th>
                    <th width="7%">关联证券名称</th>
                    <th width="7%">投票议案</th>
                    <th width="6%">投票意见</th>
                    <th width="6%">投票数量</th>
                    <th width="10%" ng-if="meetingseq">股东大会编码</th>
                    <th width="12%" ng-if="meetingdesc">股东大会名称</th>
                    <th width="8%">议案类型</th>
                    <th width="14%" ng-if="vinfo">议案名称</th>
                    <th width="6%">投票日期</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="vquery in crevotequery| filter:{'stkcode':compcode}">
                    <td>{{$index+1}}</td>
                    <td>{{vquery.stkcode}}</td>
                    <td>{{vquery.stkname}}</td>
                    <td>{{vquery.linkstk}}</td>
                    <td>{{vquery.linkname}}</td>
                    <td>{{vquery.orderprice}}</td>
                    <td>{{vquery.orderqty | orderFilter : vquery.vtype}}</td>
                    <td>{{vquery.orderqty | orderqtyFilter : vquery.vtype}}</td>
                    <td ng-if="meetingseq">{{vquery.meetingseq}}</td>
                    <td ng-if="meetingdesc">{{vquery.meetingdesc}}</td>
                    <td>{{vquery.vtype | chinese : vquery.orderqty}}</td>
                    <td ng-if="vinfo">{{vquery.vinfo}}</td>
                    <td>{{vquery.operdate}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<!--Modal-->
<prompt-dir></prompt-dir>
<script src="controllers/creditvote.js"></script>
<script src="directives/directive.js"></script>
</body>
</html>
