...
|
...
|
@@ -17,9 +17,10 @@ |
|
|
<input class="easyui-combobox" id="brand" sytle="width: 200px">
|
|
|
<input class="easyui-combobox" id="state" style="width:150px;" data-options="editable:false"/>
|
|
|
<a id="searchBtn" class="easyui-linkbutton btn-info" >查询</a>
|
|
|
<a id="addBtn" class="easyui-linkbutton btn-primary" >新增</a>
|
|
|
<a id="exportBtn" class="easyui-linkbutton btn-success" >导出</a>
|
|
|
<a id="batchImportBtn" class="easyui-linkbutton btn-success">批量导入</a>
|
|
|
<a id="addBtn" class="easyui-linkbutton btn-primary" style="margin-left: 10px">新增</a>
|
|
|
<a id="exportBtn" class="easyui-linkbutton btn-success" style="margin-left: 10px; width:54px; height:37px" >导出</a>
|
|
|
<a id="batchImportBtn" class="easyui-linkbutton btn-success" style="margin-left: 10px">批量导入</a>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -61,7 +62,7 @@ |
|
|
table.datagrid("load", {
|
|
|
skn: sknTextBox.textbox("getValue"),
|
|
|
brand: brandCombobox.combobox("getValue"),
|
|
|
state: sknTextBox.combobox("getValue")
|
|
|
state: stateCombobox.combobox("getValue")
|
|
|
});
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -70,7 +71,7 @@ |
|
|
iconCls: "icon-search",
|
|
|
onClick: function () {
|
|
|
saveShareRebateSkn(0);
|
|
|
window.self.paramObject.brandRebateData = null;
|
|
|
window.self.paramObject.sknRebateData = null;
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -81,10 +82,10 @@ |
|
|
textField: "text",
|
|
|
required: false,
|
|
|
prompt: "选择品牌",
|
|
|
url: contextPath + "/UnionShareRebateBrandRest/queryAllBrand",
|
|
|
url: contextPath + "/UnionRebateRest/queryAllBrandList",
|
|
|
panelHeight: 200,
|
|
|
loadFilter: function (data) {
|
|
|
return defaultLoadFilter(data);
|
|
|
return data;
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -220,7 +221,7 @@ |
|
|
param.name = rowData.name;
|
|
|
param.id = id;
|
|
|
}
|
|
|
param.rebatePercentStr = rebate;
|
|
|
param.rebatePercentStr = rebate == "" ? 0 : rebate;
|
|
|
return true;
|
|
|
},
|
|
|
success: function (data) {
|
...
|
...
|
@@ -270,11 +271,11 @@ |
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#exportBtn").linkbutton({
|
|
|
/*$("#exportBtn").linkbutton({
|
|
|
onClick: function () {
|
|
|
window.open(contextPath + "/batch/export.do?type=unionShareRebateSkn&queryConf=" + JSON.stringify(getParams()));
|
|
|
}
|
|
|
});
|
|
|
});*/
|
|
|
|
|
|
function getParams() {
|
|
|
var params = {};
|
...
|
...
|
|