| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Security.Claims; |
| | | using Microsoft.Extensions.Options; |
| | | using Model.ModelVm; |
| | | using Model.ModelVm.BllQualityVm; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Drawing.Printing; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Security.Claims; |
| | | using System.Threading.Tasks; |
| | | using Wms.Tools; |
| | | using WMS.Entity.BllQualityEntity; |
| | | using WMS.IBLL.IBllQualityServer; |
| | | using Model.ModelVm.BllQualityVm; |
| | | using Model.ModelVm; |
| | | using Wms.Tools; |
| | | using Microsoft.Extensions.Options; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Threading.Tasks; |
| | | using System.Linq; |
| | | |
| | | |
| | | namespace Wms.Controllers |
| | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取需要质检的批次号 |
| | | /// </summary> |
| | | /// <param name="pageIndex">页码</param> |
| | | /// <param name="pageSize">页大小</param> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | public IActionResult GetInspectLotNoList(int pageIndex, int pageSize) |
| | | { |
| | | try |
| | | { |
| | | var data = _qualityServer.GetInspectLotNoList(pageIndex, pageSize); |
| | | |
| | | return Ok(new { code = 0, msg = "需要质检的批次号", data = data }); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | return Ok(new { code = 1, msg = e.Message }); |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 添加物料质检信息 |
| | | /// </summary> |
| | | /// <param name="model">质检信息实体模型</param> |