Authored by 马力

网销刷新页面没保存之前的tab标签

... ... @@ -55,6 +55,19 @@ toast.prototype.inputHelper = function (id) {
}
/**
* 强制刷新缓存中的值
*/
toast.prototype.inputFocusHelper = function (id, value) {
util.__setInput(id, value);
this.cache[id] = value;
return this.cache[id];
}
/**
* 支持Select筛选项
* @param eles_id
*/
... ...
... ... @@ -112,7 +112,8 @@ var t = new common.tab2({
pageSkn = [];
g.init("/goods/netsale/getList");
$("#tab").val(activeTab);
refreshHelper.inputFocusHelper("tab", activeTab);
window.location.href = window.location.href.replace(/tab=\d/, 'tab=' + activeTab);
},
columns: [{
name: "0",
... ...