| | |
| | | data.Standard = asnDetail.Standard; |
| | | data.SupplierLot = asnDetail.SupplierLot; |
| | | data.PackageStandard = str; |
| | | data.SupplierLot = asnDetail.SupplierLot; |
| | | return data; |
| | | } |
| | | catch (Exception e) |
| | |
| | | { |
| | | throw new Exception("未查询到单据明细信息"); |
| | | } |
| | | if (asnList.LotNo.Length != 10 && asnList.LotNo.Length != 11 && asnList.LotNo.Length != 12) |
| | | { |
| | | throw new Exception("单据进厂编号位数长度错误"); |
| | | } |
| | | //if (asnList.LotNo.Length != 10 && asnList.LotNo.Length != 11 && asnList.LotNo.Length != 12) |
| | | //{ |
| | | // throw new Exception("单据进厂编号位数长度错误"); |
| | | //} |
| | | var asn = Db.Queryable<BllArrivalNotice>().First(m => m.ASNNo == asnList.ASNNo && m.IsDel == "0"); |
| | | if (asn == null) |
| | | { |