|
@@ -34,9 +34,21 @@ |
|
@@ -34,9 +34,21 @@ |
34
|
</div>
|
34
|
</div>
|
35
|
|
35
|
|
36
|
<script type="text/javascript">
|
36
|
<script type="text/javascript">
|
37
|
-
|
|
|
38
|
- var brandId;
|
37
|
+ function parseURL(url){
|
|
|
38
|
+ var url = url.split("?")[1];
|
|
|
39
|
+ var para = url.split("&");
|
|
|
40
|
+ var len = para.length;
|
|
|
41
|
+ var res = {};
|
|
|
42
|
+ var arr = [];
|
|
|
43
|
+ for(var i=0;i<len;i++){
|
|
|
44
|
+ arr = para[i].split("=");
|
|
|
45
|
+ res[arr[0]] = arr[1];
|
|
|
46
|
+ }
|
|
|
47
|
+ return res;
|
|
|
48
|
+ }
|
39
|
$(function () {
|
49
|
$(function () {
|
|
|
50
|
+ var productId = parseURL(window.location.href).productId;
|
|
|
51
|
+
|
40
|
$("#status").myCombobox({
|
52
|
$("#status").myCombobox({
|
41
|
prompt: "请选择",
|
53
|
prompt: "请选择",
|
42
|
width: 200,
|
54
|
width: 200,
|
|
@@ -62,12 +74,11 @@ |
|
@@ -62,12 +74,11 @@ |
62
|
fit: true,
|
74
|
fit: true,
|
63
|
fitColumns: true,
|
75
|
fitColumns: true,
|
64
|
nowrap: false,
|
76
|
nowrap: false,
|
65
|
- url: contextPath + "/brand/getBrandPageList",
|
77
|
+ url: contextPath + "/storage/storagePriceList",
|
66
|
method: 'POST',
|
78
|
method: 'POST',
|
67
|
- /*queryParams: {
|
|
|
68
|
- 'brandName':'',
|
|
|
69
|
- 'status':''
|
|
|
70
|
- },*/
|
79
|
+ queryParams: {
|
|
|
80
|
+ 'productId': productId,
|
|
|
81
|
+ },
|
71
|
loadFilter: function (data) {
|
82
|
loadFilter: function (data) {
|
72
|
var temp = defaultLoadFilter(data);
|
83
|
var temp = defaultLoadFilter(data);
|
73
|
temp.rows = temp.list;
|
84
|
temp.rows = temp.list;
|
|
@@ -181,7 +192,7 @@ |
|
@@ -181,7 +192,7 @@ |
181
|
var skup = $('#SKUP').textbox('getValue');
|
192
|
var skup = $('#SKUP').textbox('getValue');
|
182
|
var sellerUid = $('#sellerUid').textbox('getValue');
|
193
|
var sellerUid = $('#sellerUid').textbox('getValue');
|
183
|
var storageId = $('#storageId').textbox('getValue');
|
194
|
var storageId = $('#storageId').textbox('getValue');
|
184
|
- var param = {};
|
195
|
+ var param = {'productId': productId};
|
185
|
if (undefined !== status && null !== status && "" !== status) {
|
196
|
if (undefined !== status && null !== status && "" !== status) {
|
186
|
param.status = status;
|
197
|
param.status = status;
|
187
|
}
|
198
|
}
|