Authored by chenchao

open in new tab

... ... @@ -33,11 +33,9 @@
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
</div>
<div class="panel-col" style="margin: 0 0 0 -5px;">
<a id="import-btn" href="javascript:;" class="btn btn-primary">批量导入</a>
<div class="panel-col" style="margin: 0 0 0 -5px;">
<a id="import-btn" href="/supplier/baseproduct/batchUpdateStudentPrice" class="btn btn-primary">批量导入</a>
</div>
</div>
</div>
... ...
... ... @@ -124,6 +124,9 @@ $(document).on('click', '#all-btn', function () {
/***********************批量功能***********************/
//批量导入按钮点击事件
$(document).on('click', '#import-btn', function () {
location.href="/supplier/baseproduct/batchUpdateStudentPrice";
});
\ No newline at end of file
jQuery(document).ready(function() {
$("#import-btn").attr('target', '_blank');
});
//$(document).on('click', '#import-btn', function () {
//location.href="/supplier/baseproduct/batchUpdateStudentPrice";
//});
\ No newline at end of file
... ...