Commit 13ff601f by xin.yang

fix bug

parent 0d23be4e
......@@ -425,7 +425,13 @@ export default {
});
},
Export() {
this.request("/wms/Location/ExportLocation", "", "get").then(
let data = {
page: this.page,
pageSize: this.pagesize,
id: this.whid, // 仓库id
isWavehouse: 1,
};
this.request("/wms/Location/ExportLocation", data, "get").then(
(res) => {
if (res.data.ret === 1) {
window.location.href =
......
......@@ -690,9 +690,9 @@ namespace Siger.ApiWMS.Controllers
/// </summary>
/// <returns></returns>
[HttpGet]
public IActionResult ExportLocation()
public IActionResult ExportLocation(int id = 0, int isWavehouse = 0)
{
var data = SearchLocation(0, 0, out int count, false);
var data = SearchLocation(0, 0, out int count, false, id, isWavehouse);
var titleData = new List<string>()
{
"仓库名称"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment