Browse Source

新增招标单时,招标标题自动获取光标

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8346 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
dongbw 9 years ago
parent
commit
c45a69062e
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/main/webapp/resources/tpl/index/purc/tender.html

+ 7 - 6
src/main/webapp/resources/tpl/index/purc/tender.html

@@ -764,7 +764,7 @@ input[type="radio"], input[type="checkbox"] {
                 <div class="row base-info" style="border-bottom: none;">
                 <div class="row base-info" style="border-bottom: none;">
                     <div class = "col-xs-4">
                     <div class = "col-xs-4">
                         <div class="tender-desc">招标标题:</div>
                         <div class="tender-desc">招标标题:</div>
-                        <input class="tender-input01" type="text" name="title" ng-model="tender.title" required/>
+                        <input autofocus class="tender-input01" type="text" name="title" ng-model="tender.title" required/>
                     </div>
                     </div>
                     <div class = "col-xs-4">
                     <div class = "col-xs-4">
                         <div class="tender-desc">联系人:</div>
                         <div class="tender-desc">联系人:</div>
@@ -870,10 +870,11 @@ input[type="radio"], input[type="checkbox"] {
                         <div class="fileInputContainer">
                         <div class="fileInputContainer">
                             <input class="fileInput" type="file" ng-file-select name="file" ng-model="myFile" ng-change="upload(myFile)" />
                             <input class="fileInput" type="file" ng-file-select name="file" ng-model="myFile" ng-change="upload(myFile)" />
                             <!-- href="file/{{attach.id}}" -->
                             <!-- href="file/{{attach.id}}" -->
-                            <div class="attach-file" ng-repeat="attach in attaches">{{attach.name}}&nbsp;&nbsp;<a ng-click="removeAttach(attach.id, $index)" title="删除"><i class="fa fa-trash-o fa-lg"></i></a></div>
+                            <div class="attach-file" ng-repeat="attach in attaches">{{attach.name}}&nbsp;&nbsp;<a ng-click="removeAttach(attach.id, $index)" title="删除"><i class="fa fa-trash-o fa-lg"></i></a>
+                            </div>
                         </div>
                         </div>
-                        <div style="margin-left: 100px; color: #969595; font-size: 12px; ">
-                            提示:选择附件大小不超过5MB,可上传JPG,PNG,EXCEL,WORD,PDF
+                        <div style="margin-left: 100px; width: 100px; color: #969595; font-size: 12px; ">
+                            提示:选择附件大小不超过5MB
                         </div>
                         </div>
                     </div>
                     </div>
                    <!-- <div class="col-xs-12" style="border-bottom: 1px dashed #327ebe;">
                    <!-- <div class="col-xs-12" style="border-bottom: 1px dashed #327ebe;">
@@ -915,7 +916,7 @@ input[type="radio"], input[type="checkbox"] {
                                         </span>
                                         </span>
                                         <!--<span class="wid02"><input type="text" ng-model="prod.brand" placeholder="点击填入品牌" /></span>-->
                                         <!--<span class="wid02"><input type="text" ng-model="prod.brand" placeholder="点击填入品牌" /></span>-->
                                         <span class="input-group wid02">
                                         <span class="input-group wid02">
-                                                <input type="text" style="width: 93%; text-align: left;" ng-change="getSimilarBrands(prod.brand)" class="input01" name="brandName" ng-model="prod.brand" required  placeholder="请输入或选择品牌" spellcheck = "false" typeahead="prod.brandCn for prod in getSimilarBrands($viewValue)" autocomplete="off" typeahead-on-select="onAssociateBrandClick($item, prod)" />
+                                                <input type="text" style="width: 93%; text-align: left;" ng-change="getSimilarBrands(prod.brand)" class="input01" name="brandName" ng-model="prod.brand" placeholder="请输入或选择品牌" spellcheck = "false" typeahead="prod.brandCn for prod in getSimilarBrands($viewValue)" autocomplete="off" typeahead-on-select="onAssociateBrandClick($item, prod)" />
                                                 <div class="input-group-addon" ng-click="selectBrand(prod)">
                                                 <div class="input-group-addon" ng-click="selectBrand(prod)">
                                                     <i class="fa fa-search" aria-hidden="true"></i>
                                                     <i class="fa fa-search" aria-hidden="true"></i>
                                                 </div>
                                                 </div>
@@ -989,7 +990,7 @@ input[type="radio"], input[type="checkbox"] {
         <div class="pro-search">
         <div class="pro-search">
             <div class="search-result fl"><img src="static/img/purc/search01.png"/>搜索“{{tip}}”,为您找到<em>{{total}}</em>个结果</div>
             <div class="search-result fl"><img src="static/img/purc/search01.png"/>搜索“{{tip}}”,为您找到<em>{{total}}</em>个结果</div>
             <div class="search fr">
             <div class="search fr">
-                <input type="text" placeholder="输入物料关键字查询" ng-model="keyword" autofocus ng-search="onSearch(keyword)"/>
+                <input type="text" placeholder="输入物料关键字查询" ng-model="keyword" ng-search="onSearch(keyword)"/>
                 <a class="seek" ng-click="onSearch(keyword)">搜索</a>
                 <a class="seek" ng-click="onSearch(keyword)">搜索</a>
             </div>
             </div>
         </div>
         </div>