Commit 03880015 by guanzhenshan

增加获取仓库列表接口

parent def71bbe
...@@ -919,6 +919,27 @@ namespace Bailun.DC.Web.Controllers ...@@ -919,6 +919,27 @@ namespace Bailun.DC.Web.Controllers
}); });
} }
/// <summary>
/// 获取仓库列表
/// </summary>
/// <returns></returns>
[HttpPost]
public JsonResult GetWarehouseInfo()
{
var obj = new Services.WareHouseServices().List("", null);
return Json(new {
success = true,
msg = "",
data = obj.Select(a=> new {
a.warehouse_code,
a.warehouse_name,
warehouse_type = a.hq_type,
a.area_id,
a.area_name
})
});
}
///// <summary> ///// <summary>
///// 首次入库时间 ///// 首次入库时间
......
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