|
@@ -82,13 +82,15 @@ var brandId = new common.dropDown({ |
|
@@ -82,13 +82,15 @@ var brandId = new common.dropDown({ |
82
|
}
|
82
|
}
|
83
|
});
|
83
|
});
|
84
|
|
84
|
|
85
|
-var editPostion = '', isInfoMiss, sortFlag;
|
85
|
+var editPostion = '', isInfoMiss, sortFlag, activeTab = 5;
|
86
|
|
86
|
|
87
|
var t = new common.tab2({
|
87
|
var t = new common.tab2({
|
88
|
el: "#basicTab",
|
88
|
el: "#basicTab",
|
89
|
- active: 5,
|
89
|
+ active: refreshHelper.inputHelper("tab"),
|
90
|
click: function () {
|
90
|
click: function () {
|
91
|
var columnname = t.options.columns[t.options.active].name;
|
91
|
var columnname = t.options.columns[t.options.active].name;
|
|
|
92
|
+ activeTab = t.options.active;
|
|
|
93
|
+
|
92
|
g.options.columns[12].hidden = true;
|
94
|
g.options.columns[12].hidden = true;
|
93
|
g.options.columns[9].hidden = true;
|
95
|
g.options.columns[9].hidden = true;
|
94
|
if (columnname == 3) {
|
96
|
if (columnname == 3) {
|
|
@@ -110,6 +112,7 @@ var t = new common.tab2({ |
|
@@ -110,6 +112,7 @@ var t = new common.tab2({ |
110
|
|
112
|
|
111
|
pageSkn = [];
|
113
|
pageSkn = [];
|
112
|
g.init("/goods/netsale/getList");
|
114
|
g.init("/goods/netsale/getList");
|
|
|
115
|
+ $("#tab").val(activeTab);
|
113
|
},
|
116
|
},
|
114
|
columns: [{
|
117
|
columns: [{
|
115
|
name: "0",
|
118
|
name: "0",
|
|
@@ -163,7 +166,7 @@ var g = new common.grid({ |
|
@@ -163,7 +166,7 @@ var g = new common.grid({ |
163
|
isOutLets: refreshHelper.inputHelper("isOutLets"),
|
166
|
isOutLets: refreshHelper.inputHelper("isOutLets"),
|
164
|
productStatus: refreshHelper.inputHelper("productStatus"),
|
167
|
productStatus: refreshHelper.inputHelper("productStatus"),
|
165
|
productStatusStr: t.options.columns[t.options.active].value,
|
168
|
productStatusStr: t.options.columns[t.options.active].value,
|
166
|
- tab: $('#basicTab').find('.active').index(),
|
169
|
+ tab: refreshHelper.inputHelper("tab"),
|
167
|
isInfoMiss: isInfoMiss,
|
170
|
isInfoMiss: isInfoMiss,
|
168
|
sortFlag: sortFlag,
|
171
|
sortFlag: sortFlag,
|
169
|
skcOnsaleStatus: refreshHelper.inputHelper("skcOnsaleStatus"),
|
172
|
skcOnsaleStatus: refreshHelper.inputHelper("skcOnsaleStatus"),
|