| | |
| | | { |
| | | return _taskService.MaterielCarry(startPoint); |
| | | } |
| | | /// <summary> |
| | | /// 人工ç»çå
¥åº |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InMateriel")] |
| | | public WebResponseContent InMateriel([FromBody] SaveModel saveModel) |
| | | { |
| | | return _taskService.InMateriel(saveModel); |
| | | } |
| | | |
| | | [HttpPost, Route("MaterielGroup")] |
| | | public WebResponseContent MaterielGroup([FromBody] MaterielGroupDTO materielGroupDTO) |
| | |
| | | { |
| | | return _inboundService.InbounOrderService.PdaAddStockInfo(materielGroupDTO); |
| | | } |
| | | /// <summary> |
| | | /// ä¿®æ¹æçå· |
| | | /// </summary> |
| | | /// <param name="barcode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("ModifyBarcode")] |
| | | public WebResponseContent ModifyBarcode(string barcode, string newBarcode) |
| | | { |
| | | return _taskService.ModifyBarcode(barcode, newBarcode); |
| | | } |
| | | /// <summary> |
| | | /// ä¿®æ¹æçä¸è¢æ° |
| | | /// </summary> |
| | | /// <param name="palletCode"></param> |
| | | /// <param name="qty"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("ModifyQty")] |
| | | public WebResponseContent ModifyQty(string palletCode, int qty) |
| | | { |
| | | return _taskService.ModifyQty(palletCode, qty); |
| | | } |
| | | /// <summary> |
| | | /// è´¨æ£åºåº |
| | | /// </summary> |
| | | /// <param name="batchNo"></param> |
| | | /// <param name="qty"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("OutQC")] |
| | | public WebResponseContent OutQC(string batchNo, int qty) |
| | | { |
| | | return _taskService.OutQC(batchNo, qty); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 空æå
¥åº |
| | |
| | | /// <param name="materielGroupDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InEmpty")] |
| | | public WebResponseContent InEmpty(string barcode) |
| | | public WebResponseContent InEmpty(string barcode, string station) |
| | | { |
| | | return _inboundService.InbounOrderService.PdaAddEmptyStockInfo(barcode); |
| | | return WebResponseContent.Instance.Error("æ ä½¿ç¨æé"); |
| | | //return _inboundService.InbounOrderService.PdaAddEmptyStockInfo(barcode, station); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | [HttpPost, Route("OutEmpty")] |
| | | public WebResponseContent OutEmpty() |
| | | { |
| | | return _outboundService.OutboundOrderService.PdaOutEmpty(); |
| | | return WebResponseContent.Instance.Error("æ ä½¿ç¨æé"); |
| | | //return _outboundService.OutboundOrderService.PdaOutEmpty(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥è¯¢å
¥åºå |
| | | /// </summary> |
| | | /// <param name="pageNo"></param> |
| | | /// <param name="orderNo"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("QueryOrderInfo")] |
| | | public WebResponseContent QueryOrderInfo(int pageNo, string orderNo) |
| | | public WebResponseContent QueryOrderInfo(int pageNo, string orderNo, int orderType) |
| | | { |
| | | return _inboundService.InbounOrderService.QueryOrderInfo(pageNo, orderNo); |
| | | return _inboundService.InbounOrderService.QueryOrderInfo(pageNo, orderNo, orderType); |
| | | } |
| | | /// <summary> |
| | | /// æ¥è¯¢å
¥åºå详æ
|
| | | /// </summary> |
| | | /// <param name="pageNo"></param> |
| | | /// <param name="orderNo"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("QueryOrderDetailInfo")] |
| | | public WebResponseContent QueryOrderDetailInfo(int pageNo, string orderNo) |
| | | { |
| | | return _inboundService.InbounOrderService.QueryOrderDetailInfo(pageNo, orderNo); |
| | | } |
| | | } |
| | | } |