|
|
|
@ -143,7 +143,7 @@
|
|
|
|
|
datagrid1.AllowPaging2 = true;
|
|
|
|
|
datagrid1.ShowIndexColumn = true;
|
|
|
|
|
datagrid1.Width = "100%";
|
|
|
|
|
datagrid1.SelectMode = nblf.ui.SelectMode.CheckBox;
|
|
|
|
|
datagrid1.SelectMode = nblf.ui.SelectMode.None;
|
|
|
|
|
datagrid1.Init();
|
|
|
|
|
datagrid1.Sorting(function () {
|
|
|
|
|
ReadData();
|
|
|
|
@ -177,7 +177,26 @@
|
|
|
|
|
//#endregion
|
|
|
|
|
|
|
|
|
|
//#region 读取数据
|
|
|
|
|
function ExportData(){
|
|
|
|
|
function ExportData() {
|
|
|
|
|
var param = {
|
|
|
|
|
GoodsCode: $('#txt_GoodsCode').val() || null,
|
|
|
|
|
}
|
|
|
|
|
WindowLoadModel.Show();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "../SysManageServiceNew.asmx/GetExcelTemuSKUData",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
async: false,
|
|
|
|
|
success: function (data) {
|
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
if (data.d == "") {
|
|
|
|
|
alert("没有数据");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
params = { FilePath: data.d, FileName: "TemuSKU.xls" };
|
|
|
|
|
|
|
|
|
|
window.location = "../GlobalAshx/DownFile.ashx?" + jQuery.param(params);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
//#endregion
|
|
|
|
|
</script>
|
|
|
|
@ -196,7 +215,7 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="btn_sch" class="btnClass btnClassFind" type="button" value="查询" onclick="ReadData();" />  
|
|
|
|
|
<%--<input id="btn_dc3" onclick="ExportData();" class="btnClass btnClassExcelTemplate" type="button" value="导出" />--%>
|
|
|
|
|
<input id="btn_dc3" onclick="ExportData();" class="btnClass btnClassExcelTemplate" type="button" value="导出" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|