|
@@ -21,7 +21,7 @@ var ENUM = { |
|
@@ -21,7 +21,7 @@ var ENUM = { |
21
|
tab: {
|
21
|
tab: {
|
22
|
"1": 100,
|
22
|
"1": 100,
|
23
|
"2": 300,
|
23
|
"2": 300,
|
24
|
- "all": 400
|
24
|
+ "all": 'all'
|
25
|
}
|
25
|
}
|
26
|
};
|
26
|
};
|
27
|
|
27
|
|
|
@@ -46,7 +46,7 @@ var t = new common.tab({ |
|
@@ -46,7 +46,7 @@ var t = new common.tab({ |
46
|
click: function() {
|
46
|
click: function() {
|
47
|
var columnname = $(this).find('a').attr('columnname');
|
47
|
var columnname = $(this).find('a').attr('columnname');
|
48
|
currentTab = ENUM.tab[columnname];
|
48
|
currentTab = ENUM.tab[columnname];
|
49
|
- layoutGridCloum(columnname);
|
49
|
+ layoutGridCloum(currentTab);
|
50
|
g.init('/payDelivery/queryTotalBrandPayDelivery');
|
50
|
g.init('/payDelivery/queryTotalBrandPayDelivery');
|
51
|
},
|
51
|
},
|
52
|
columns: [{
|
52
|
columns: [{
|
|
@@ -146,7 +146,7 @@ function layoutGridCloum(tabname) { |
|
@@ -146,7 +146,7 @@ function layoutGridCloum(tabname) { |
146
|
g.options.columns[5].hidden = false;
|
146
|
g.options.columns[5].hidden = false;
|
147
|
g.options.columns[6].hidden = true;
|
147
|
g.options.columns[6].hidden = true;
|
148
|
|
148
|
|
149
|
- } else if(tabname == 1) {
|
149
|
+ } else if(tabname == 100) {
|
150
|
g.options.columns[1].hidden = true;
|
150
|
g.options.columns[1].hidden = true;
|
151
|
g.options.columns[2].hidden = false;
|
151
|
g.options.columns[2].hidden = false;
|
152
|
g.options.columns[3].hidden = false;
|
152
|
g.options.columns[3].hidden = false;
|