| | |
| | | } |
| | | |
| | | |
| | | //ç®æ è´§ä½æ¥æ¾åºä½æ¯å¦æè´§ |
| | | Dt_StockInfo dt_StockCurren = _stockService.StockInfoService.Repository.QueryFirst(x => x.LocationCode == newLocation.LocationCode); |
| | | if (dt_StockCurren != null) return content = WebResponseContent.Instance.Error($"å
¥åºå¤±è´¥ï¼æçæ¡ç ï¼{dt_StockInfo.PalletCode}ï¼æ¥æ¾åºçè´§ä½ä¿¡æ¯å¯¹åºå·²æåºå"); |
| | | |
| | | Dt_Task taskcurren = BaseDal.QueryFirst(x => x.TargetAddress == newLocation.LocationCode); |
| | | if (taskcurren != null) return content = WebResponseContent.Instance.Error($"å
¥åºå¤±è´¥ï¼æçæ¡ç ï¼{dt_StockInfo.PalletCode}ï¼æ¥æ¾åºçè´§ä½ä¿¡æ¯å·²æå
¥åºä»»å¡"); |
| | | |
| | | bool crutaskthy = _taskHtyService.CrueeTaskHty(newLocation.LocationCode); |
| | | if (crutaskthy) return content = WebResponseContent.Instance.Error($"å
¥åºå¤±è´¥ï¼æçæ¡ç ï¼{dt_StockInfo.PalletCode}ï¼æ¥æ¾åºçè´§ä½å¨ä»»å¡åå²ä¿¡æ¯ä¸ï¼æå
¥åºæç§»åºä¿¡æ¯"); |
| | | |
| | | |
| | | if (newLocation != null) |
| | | { |
| | | Dt_Task dt_Task = new() |