...
|
...
|
@@ -34,9 +34,21 @@ |
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
var brandId;
|
|
|
function parseURL(url){
|
|
|
var url = url.split("?")[1];
|
|
|
var para = url.split("&");
|
|
|
var len = para.length;
|
|
|
var res = {};
|
|
|
var arr = [];
|
|
|
for(var i=0;i<len;i++){
|
|
|
arr = para[i].split("=");
|
|
|
res[arr[0]] = arr[1];
|
|
|
}
|
|
|
return res;
|
|
|
}
|
|
|
$(function () {
|
|
|
var productId = parseURL(window.location.href).productId;
|
|
|
|
|
|
$("#status").myCombobox({
|
|
|
prompt: "请选择",
|
|
|
width: 200,
|
...
|
...
|
@@ -62,12 +74,11 @@ |
|
|
fit: true,
|
|
|
fitColumns: true,
|
|
|
nowrap: false,
|
|
|
url: contextPath + "/brand/getBrandPageList",
|
|
|
url: contextPath + "/storage/storagePriceList",
|
|
|
method: 'POST',
|
|
|
/*queryParams: {
|
|
|
'brandName':'',
|
|
|
'status':''
|
|
|
},*/
|
|
|
queryParams: {
|
|
|
'productId': productId,
|
|
|
},
|
|
|
loadFilter: function (data) {
|
|
|
var temp = defaultLoadFilter(data);
|
|
|
temp.rows = temp.list;
|
...
|
...
|
@@ -181,7 +192,7 @@ |
|
|
var skup = $('#SKUP').textbox('getValue');
|
|
|
var sellerUid = $('#sellerUid').textbox('getValue');
|
|
|
var storageId = $('#storageId').textbox('getValue');
|
|
|
var param = {};
|
|
|
var param = {'productId': productId};
|
|
|
if (undefined !== status && null !== status && "" !== status) {
|
|
|
param.status = status;
|
|
|
}
|
...
|
...
|
|