| | |
| | | result.Data = ship.BusinessDate.Date == DateTime.Now.Date ? new() |
| | | { |
| | | ShipDoc = ship.ShipDoc, |
| | | ShippingQty = ship.ShipQty, |
| | | ShippingQty = ship.ShipQty.ToDouble(), |
| | | Tag = "Customer" |
| | | } : new() |
| | | { |
| | | ShipDoc = ship.ShipDoc, |
| | | ShippingQty = ship.ShipQty, |
| | | ShippingQty = ship.ShipQty.ToDouble(), |
| | | Tag = "InStoreLabel" |
| | | }; |
| | | result.LocaleMsg = new($"出货信息存在!"); |
| | |
| | | |
| | | //获取出货状态 |
| | | var ship = U9CDB.Queryable<mes_ShipList>().Where(q => q.MoDoc == CurBatch.WO.ORDER_NO && q.Status == 2 && SqlFunc.DateIsSame(q.BusinessDate, DateTime.Now)).First(); |
| | | int CurShipQty = 0; |
| | | decimal CurShipQty = 0; |
| | | int WaitShipmentCarton = 0; |
| | | int WaitShipment = 0; |
| | | if (ship.IsNullOrEmpty()) { IsPrintCustomerLabel = false; } |