| | |
| | | throw new Exception($"æªæ¾å°æ¡ç {stockInfoOld.PalletCode}䏿ERPåºåä¸åå¨"); |
| | | } |
| | | BSTStockInfoDTO bSTStockInfoDTO = bSTResponse.Data ?? throw new Exception($"䏿ERPæªè¿å{stockInfoOld.PalletCode}çåºåä¿¡æ¯"); |
| | | if (stockInfoOld.StockLength <= 0 || bSTStockInfoDTO.StockMeter<=0) |
| | | { |
| | | throw new Exception($"{stockInfoOld.RfidCode}ç»å®æ¡ç {stockInfoOld.PalletCode}åºå为0"); |
| | | } |
| | | stockInfoOld.IsPick = WhetherEnum.False.ObjToInt(); |
| | | decimal stockLength = bSTStockInfoDTO.StockMeter; |
| | | decimal errWeight = Math.Abs(weight - bSTStockInfoDTO.Qty); |