| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common.MaterielEnum; |
| | | using WIDESEA_Common.StockEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | |
| | | { |
| | | return content.Error("æªæ¾å°ç©æä¿¡æ¯"); |
| | | } |
| | | |
| | | if (materielInfo.MaterielInvOrgId==MaterielInvOrgEnum.æ°å.ObjToInt() && wide<700) |
| | | { |
| | | return content.Error("ç©æå¹
宽éå¶ä¸º700-2700mm"); |
| | | } |
| | | Dt_StockInfo stockInfoOld = BaseDal.QueryFirst(x=>x.PalletCode== barcode || x.RfidCode== fridcode); |
| | | |
| | | if (stockInfoOld != null) |
| | |
| | | |
| | | return BaseDal.GetStockInfos(materielCode, width, locationCodes); |
| | | } |
| | | public List<Dt_StockInfo> GetUseableStocks(string materielCode, int warehoseId) |
| | | { |
| | | List<string> locationCodes = _basicRepository.LocationInfoRepository.GetCanOutLocationCodes(warehoseId); |
| | | |
| | | return BaseDal.GetStockInfos(materielCode, locationCodes); |
| | | } |
| | | /// <summary> |
| | | /// åé
å®é
åºå |
| | | /// </summary> |