22 lines
630 B
C#
22 lines
630 B
C#
using YLErp.Modules.UnderlyingModule;
|
|
|
|
namespace YLErp.Web.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 专用于输出基础数据的控制器
|
|
/// </summary>
|
|
[MyAuthorizeIgnore]
|
|
public class FrontDataController : BaseController
|
|
{
|
|
/// <summary>
|
|
/// 为标的筛选条件提供选项数据
|
|
/// </summary>
|
|
public JsonResult AjaxGetUnderlyingSelect(UnderlyingSelectRequest req)
|
|
{
|
|
req = req ?? new UnderlyingSelectRequest();
|
|
var items = new UnderlyingSelectService(CurUser).GetSelectItems(req);
|
|
return JsonSuccessData(items);
|
|
}
|
|
}
|
|
}
|