zhao
2021-07-19 8347f2fbddbd25369359dcb2da1233ac48a19fdc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using HH.AutoBom.Core;
using HH.WMS.WebUI.Controllers;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
 
namespace HH.WMS.WebUI.Areas.Sys.Controllers
{
    public class LotInfoController : BaseController
    {
        //
        // GET: /Sys/LotInfo/
 
        public ActionResult Index()
        {
            return View();
        }
 
        #region 查询批次
        /// <summary>
        /// 查询批次
        /// </summary>
        /// <param name="pageIndex">分页索引</param>
        /// <param name="pageSize">分页大小</param>
        /// <param name="CN_S_LOT_CODE">批次编号</param>
        /// <param name="CN_S_VENDOR_NO">供应商编号</param>
        /// <returns></returns>
        /// <History>[Hanhe(XDL)] CREATED BY 2019-03-11</History>
        public string GetLotList(int pageIndex, int pageSize, string CN_S_LOT_CODE, string CN_S_VENDOR_NO)
        {
            var loginer = FormsAuth.GetUserData<LoginerBase>();
            var searchModel = new
            {
                TokenId = loginer.Extend1,
                PageIndex = pageIndex,
                PageSize = pageSize,
                SearchCondition = new
                {
                    CN_S_LOT_CODE = CN_S_LOT_CODE,
                    CN_S_VENDOR_NO = CN_S_VENDOR_NO
                }
            };
            return HttpWMS_Post("Api/LotInfo/GetLotList", JsonConvert.SerializeObject(searchModel));
        }
        #endregion
    }
}