Authored by weiqingting

提交

... ... @@ -182,6 +182,10 @@ grid.prototype = {
g.foot.hide();
}else{
g.foot.show();
if(p.size){
$(".t_size",g.foot).val(p.size);
}
if(p.nopage){
$(".t_size",g.foot).hide();
}
... ...
... ... @@ -193,6 +193,7 @@ var t = new common.tab2({
var g = new common.grid({
el: '#basicTable',
usepagesize:true,
parms: function() {
var select = tabTree.getAddress();
... ...
... ... @@ -220,24 +220,7 @@ $('.floatnav').on('mouseenter', function() {
if (location.hash) {
var hashPos = location.hash.substring(1);
setTimeout(function() {
$('.floatnav').find('li[name="' + hashPos + '"]').trigger('click');
$('.floatnav').find('li[data-pos="' + hashPos + '"]').trigger('click');
}, 500);
}
try {
var status=window.NETSALEDATA.baseProductInfo.baseProduct.status;
if(!([8,2,3,4].indexOf(status)>-1)){
$(".floatnav li").each(function() {
var name = $.trim($(this).data('pos')),
that = this;
if (name == location.hash.replace(/^#/, '')) {
setTimeout(function() {
$(that).click();
}, 500);
}
});
}
} catch (e) {
}
\ No newline at end of file
... ...