...
|
...
|
@@ -20,9 +20,8 @@ |
|
|
<div style="margin-left: 30px;" class="div_search">
|
|
|
<input id="status" type="text"/>
|
|
|
<input id="SKUP" type="text">
|
|
|
<input id="preSaleFlag" type="text">
|
|
|
<input id="region" type="text">
|
|
|
<input id="sellerUid" type="text">
|
|
|
<input id="attribute" type="text">
|
|
|
<input id="bidUid" type="text">
|
|
|
<input id="storageId" type="text">
|
|
|
<input id="sizeId" type="text">
|
|
|
|
...
|
...
|
@@ -85,31 +84,24 @@ |
|
|
$("#status").myCombobox({
|
|
|
prompt: "状态",
|
|
|
width: 200,
|
|
|
data: [{id: '0',text: '待付保证金'}, {id: '2',text: '卖家取消支付'}, {id: '3',text: '卖家支付超时'}, {id: '1',text: '出售中'},
|
|
|
{id: '4',text: '卖家取消出售'}, {id: '200',text: '平台取消出售'}, {id: '100',text: '已出售'}, {id: '10',text: '待审核'},
|
|
|
{id: '11',text: '审核不通过'}, /*{id: '201',text: '鉴定失败'}*/],
|
|
|
data: [{id: '10',text: '求购中'}, {id: '60',text: '求购成功'}, {id: '71',text: '求购关闭(买家取消求购)'}, {id: '72',text: '求购关闭(买家求购超时)'},
|
|
|
{id: '73',text: '求购关闭(平台取消求购)'}],
|
|
|
valueField: "id",
|
|
|
textField: "text"
|
|
|
});
|
|
|
|
|
|
$("#preSaleFlag").myCombobox({
|
|
|
$("#attribute").myCombobox({
|
|
|
prompt: "SKU_P类型",
|
|
|
width: 200,
|
|
|
data: [{id: '0',text: '现货'}, {id: '1',text: '预售'}, {id: '5',text: '全新瑕疵'}, {id: '6',text: '二手'}, {id: '3',text: '闪购'}, {id: '9',text: '极速'}],
|
|
|
valueField: "id",
|
|
|
textField: "text"
|
|
|
});
|
|
|
$("#region").myCombobox({
|
|
|
prompt: "地域",
|
|
|
width: 200,
|
|
|
data: [{id: '-1',text: '全部'}, {id: '0',text: '大陆'}, {id: '1',text: '香港'}],
|
|
|
data: [{id: '1',text: '现货'}],
|
|
|
valueField: "id",
|
|
|
textField: "text"
|
|
|
});
|
|
|
|
|
|
$("#SKUP").textbox({
|
|
|
prompt: "SKU_P"
|
|
|
});
|
|
|
$("#sellerUid").textbox({
|
|
|
$("#bidUid").textbox({
|
|
|
prompt: "卖家UID"
|
|
|
});
|
|
|
|
...
|
...
|
@@ -241,11 +233,10 @@ |
|
|
onClick: function () {
|
|
|
$('#status').combobox('clear');
|
|
|
$('#SKUP').textbox('clear');
|
|
|
$('#preSaleFlag').combobox('clear');
|
|
|
$('#sellerUid').textbox('clear');
|
|
|
$('#attribute').combobox('clear');
|
|
|
$('#bidUid').textbox('clear');
|
|
|
$('#storageId').textbox('clear');
|
|
|
$('#sizeId').combobox('clear');
|
|
|
$('#region').textbox('clear');
|
|
|
var param = {};
|
|
|
$("#skupTable").myDatagrid("load", param);
|
|
|
}
|
...
|
...
|
@@ -255,32 +246,29 @@ |
|
|
* 提取出搜索参数
|
|
|
* <input id="status" type="text"/>
|
|
|
<input id="SKUP" type="text">
|
|
|
<input id="sellerUid" type="text">
|
|
|
<input id="bidUid" type="text">
|
|
|
<input id="storageId" type="text">
|
|
|
*/
|
|
|
function getParams() {
|
|
|
var status = $('#status').combobox('getValue');
|
|
|
var skup = $('#SKUP').textbox('getValue');
|
|
|
var preSaleFlag = $('#preSaleFlag').combobox('getValue');
|
|
|
var sellerUid = $('#sellerUid').textbox('getValue');
|
|
|
var attribute = $('#attribute').combobox('getValue');
|
|
|
var bidUid = $('#bidUid').textbox('getValue');
|
|
|
var storageId = $('#storageId').textbox('getValue');
|
|
|
var sizeId = $('#sizeId').combobox('getValue');
|
|
|
var region = $('#region').textbox('getValue');
|
|
|
var param = {'id': productId};
|
|
|
if (undefined !== region && null !== region && "-1" !== region) {
|
|
|
param.region = region;
|
|
|
}
|
|
|
var param = {'productId': productId};
|
|
|
|
|
|
if (undefined !== status && null !== status && "" !== status) {
|
|
|
param.status = status;
|
|
|
}
|
|
|
if (undefined !== skup && null !== skup && "" !== skup) {
|
|
|
param.skup = skup;
|
|
|
}
|
|
|
if (undefined !== preSaleFlag && null !== preSaleFlag && "" !== preSaleFlag) {
|
|
|
param.preSaleFlag = preSaleFlag;
|
|
|
if (undefined !== attribute && null !== attribute && "" !== attribute) {
|
|
|
param.attribute = attribute;
|
|
|
}
|
|
|
if (undefined !== sellerUid && null !== sellerUid && "" !== sellerUid) {
|
|
|
param.sellerUid = sellerUid;
|
|
|
if (undefined !== bidUid && null !== bidUid && "" !== bidUid) {
|
|
|
param.bidUid = bidUid;
|
|
|
}
|
|
|
if (undefined !== storageId && null !== storageId && "" !== storageId) {
|
|
|
param.storageId = storageId;
|
...
|
...
|
|