| | |
| | | using System.Transactions; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Common.LocationEnum; |
| | | using WIDESEA_Common.MaterielEnum; |
| | | using WIDESEA_Common.OrderEnum; |
| | | using WIDESEA_Common.StockEnum; |
| | | using WIDESEA_Common.TaskEnum; |
| | |
| | | if (cabinOrderDetail.Order_Inqty > cabinOrderDetail.Order_qty) |
| | | return WebResponseContent.Instance.Error($"å
¥åºæ°éä¸å¯è¶
åºåæ®æ°é"); |
| | | //å¤§ä»¶åºæ´ç®±æ ¡éª |
| | | if (warehouseCode == WarehouseEnum.大件åº.ObjToInt().ToString("000")) |
| | | { |
| | | if (warehouseCode == WarehouseEnum.大件åº.ObjToInt().ToString("000")&& (materielInfo.MaterielSourceType==MaterielSourceTypeEnum.SelfMadePart)) |
| | | { |
| | | var BoxRule = materielInfo.BoxQty; |
| | | if (BoxRule > 0 && Inqty % BoxRule != 0) |
| | | { |