| | |
| | | //çäº§æ¥æ |
| | | string ProductDate = saveModel.MainData["ProductDate"].ToString(); |
| | | |
| | | // æ åå¼ |
| | | string Standard_value = saveModel.MainData["Standard_value"].ToString(); |
| | | |
| | | if (string.IsNullOrEmpty(madeUnit) || string.IsNullOrEmpty(materielId) || string.IsNullOrEmpty(materielType) || string.IsNullOrEmpty(NewOrOld)) |
| | | throw new Exception($"åå®¶/轮对/åå·/æ£ä¿®ç±»åé½ä¸è½ä¸ºç©º"); |
| | | |
| | |
| | | throw new Exception($"æçç :ã{rfid}ãå·²ç»åå¨äºç©ºæçåºåä¸,è´§ä½å·:{conInfoEmpty.location_id}"); |
| | | |
| | | //æ¥æ¾è¯¥æçæ¯å¦ä¹åå
¥è¿åºï¼ç»çè¿åºçæçä¹åå¿
须已ç»å
¥è¿åºç |
| | | Dt_EmptyPallet dt_EmptyPallet = Dt_EmptyPalletRepository.Instance.Find(x => x.EmptyPallet_name == rfid).First(); |
| | | Dt_EmptyPallet dt_EmptyPallet = Dt_EmptyPalletRepository.Instance.Find(x => x.EmptyPallet_name == rfid).FirstOrDefault(); |
| | | if (dt_EmptyPallet == null) |
| | | throw new Exception($"æçç :ã{rfid}ã,卿ç管çä¸ï¼æ 该æçï¼è¯·å
æ·»å æçä¿¡æ¯"); |
| | | |
| | |
| | | info.mesInfo_createType = "mes"; |
| | | info.mesInfo_qrCode = qrCode; |
| | | info.mesInfo_createDate = DateTime.Now; |
| | | info.mesInfo_bak_3 = Standard_value; // ä»¥åæ åå¼ä»è¿éè·å èä½¼æ°å¢ |
| | | |
| | | Dt_mes_goods_infoRepository.Instance.Add(info, true); |
| | | |
| | | |
| | | |
| | | |
| | | //è·åç©ºè´§ä½ |
| | | Dt_locationinfo emptyLocation = CommonFunction.GetEmptyLocationAction(); |
| | | //è·åä»»å¡ |