...
|
...
|
@@ -22,6 +22,7 @@ |
|
|
<input id="SKUP" type="text">
|
|
|
<input id="sellerUid" type="text">
|
|
|
<input id="storageId" type="text">
|
|
|
<input id="sizeId" type="text">
|
|
|
|
|
|
<a id="searchLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">筛选</a>
|
|
|
<a id="searchAllLinkButton" class="easyui-linkbutton btn-info" data-options="iconCls:'icon-search'">全部</a>
|
...
|
...
|
@@ -49,15 +50,16 @@ |
|
|
}
|
|
|
$(function () {
|
|
|
var productId = parseURL(window.location.href).productId;
|
|
|
var midSortId = parseURL(window.location.href).midSortId;
|
|
|
|
|
|
$('#returnList').linkbutton({
|
|
|
onClick: function () {
|
|
|
location.href = contextPath + "/html/goods/storage/storageList.html";
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// /** 1:可售,2卖出,3鉴定失败,4卖家取消, 5客服取消. */
|
|
|
$("#status").myCombobox({
|
|
|
prompt: "请选择",
|
|
|
prompt: "状态",
|
|
|
width: 200,
|
|
|
data: [{id: '1',text: '待付保证金'}, {id: '2',text: '卖家取消支付'}, {id: '2',text: '卖家支付超时'}, {id: '2',text: '出售中'}
|
|
|
, {id: '2',text: '卖家取消出售'}, {id: '2',text: '平台取消出售'}, {id: '2',text: '已出售'}],
|
...
|
...
|
@@ -76,6 +78,24 @@ |
|
|
prompt: "SKU"
|
|
|
});
|
|
|
|
|
|
$.ajax({
|
|
|
contentType: "application/json",
|
|
|
dataType: "json",
|
|
|
type: "GET",
|
|
|
url: contextPath + '/size/queryAllSize4Goods?sortId=' + midSortId,
|
|
|
success: function (data) {
|
|
|
if (data.code != 200 || !data.data || data.data.length == 0) {
|
|
|
return;
|
|
|
}
|
|
|
$("#sizeId").myCombobox({
|
|
|
prompt: "尺码",
|
|
|
width: 200,
|
|
|
data: data.data,
|
|
|
valueField: "id",
|
|
|
textField: "text"
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#skupTable").myDatagrid({
|
|
|
fit: true,
|
...
|
...
|
@@ -185,6 +205,7 @@ |
|
|
$('#SKUP').combobox('clear');
|
|
|
$('#sellerUid').textbox('clear');
|
|
|
$('#storageId').textbox('clear');
|
|
|
$('#sizeId').combobox('clear');
|
|
|
var param = {};
|
|
|
$("#skupTable").myDatagrid("load", param);
|
|
|
}
|
...
|
...
|
@@ -202,7 +223,8 @@ |
|
|
var skup = $('#SKUP').textbox('getValue');
|
|
|
var sellerUid = $('#sellerUid').textbox('getValue');
|
|
|
var storageId = $('#storageId').textbox('getValue');
|
|
|
var param = {'productId': productId};
|
|
|
var sizeId = $('#sizeId').textbox('getValue');
|
|
|
var param = {'id': productId};
|
|
|
if (undefined !== status && null !== status && "" !== status) {
|
|
|
param.status = status;
|
|
|
}
|
...
|
...
|
@@ -211,9 +233,13 @@ |
|
|
}
|
|
|
if (undefined !== sellerUid && null !== sellerUid && "" !== sellerUid) {
|
|
|
param.sellerUid = sellerUid;
|
|
|
}if (undefined !== storageId && null !== storageId && "" !== storageId) {
|
|
|
}
|
|
|
if (undefined !== storageId && null !== storageId && "" !== storageId) {
|
|
|
param.storageId = storageId;
|
|
|
}
|
|
|
if (undefined !== sizeId && null !== sizeId && "" !== sizeId) {
|
|
|
param.sizeId = sizeId;
|
|
|
}
|
|
|
return param;
|
|
|
}
|
|
|
|
...
|
...
|
|