...
|
...
|
@@ -21,9 +21,10 @@ |
|
|
<input id="channelSourceCombobox" name="channelSource" class="easyui-combobox" data-options="
|
|
|
valueField: 'id',
|
|
|
editable: false,
|
|
|
multiple: true,
|
|
|
textField: 'text',
|
|
|
prompt:'选择泛渠道来源',
|
|
|
data: [
|
|
|
{ id: '', text: '选择泛渠道来源' },
|
|
|
{ id: '5', text: '淘宝B店订单' },
|
|
|
{ id: '8', text: '淘宝C店订单' },
|
|
|
{ id: '9', text: '淘宝LAL店订单' },
|
...
|
...
|
@@ -228,11 +229,18 @@ |
|
|
|
|
|
function getParams() {
|
|
|
var paramsArray = $("#searchForm").serializeArray();
|
|
|
console.log(paramsArray);
|
|
|
var params = {};
|
|
|
var channelSource = "";
|
|
|
for (var i = 0; i < paramsArray.length; i++ ) {
|
|
|
if (paramsArray[i].name == "channelSource") {
|
|
|
channelSource += paramsArray[i].value + ",";
|
|
|
} else {
|
|
|
params[paramsArray[i].name] = paramsArray[i].value;
|
|
|
}
|
|
|
}
|
|
|
if (channelSource.length != 0) {
|
|
|
params["channelSource"] = channelSource.substring(0, channelSource.length -1);
|
|
|
}
|
|
|
return params;
|
|
|
}
|
|
|
|
...
|
...
|
|