Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
@@ -2530,9 +2530,15 @@ } else { var sd2 = Db.Queryable<DataStockDetail>().Where(m => m.PalletNo == palletNo && m.IsDel == "0" && !string.IsNullOrWhiteSpace(m.AreaNo)); if (sd2.Count(m=>m.AreaNo!= areaNo) > 0) { throw new Exception("当前托盘位置与选择的不同,请核实"); } // 库存不存在 插入数据 sd1 = new DataStockDetail() { ASNNo = "", LotNo = boxInfoOne.LotNo, LotText = boxInfoOne.LotText, SupplierLot = boxInfoOne.SupplierLot,