Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
@@ -80,9 +80,15 @@
                {
                    throw Oops.Bah("未查询到该出库单的信息");
                }
                if (notice.Status != "3")
                //if (notice.Status != "3")
                //{
                //    throw Oops.Bah("出库单的状态不是正在执行,不能拣货");
                //}
                //2025年12月05日甲方要求超捡,出库单调整为执行完毕也可以超捡
                List<string> statusList = new List<string>() { "3", "4" };
                if (!statusList.Contains(notice.Status))
                {
                    throw Oops.Bah("出库单的状态不是正在执行,不能拣货");
                    throw Oops.Bah("出库单的状态非正在执行,不能拣货");
                }
                //出库单明细
                var noticeDetail = await Db.Queryable<BllExportNoticeDetail>().FirstAsync(m => m.IsDel == "0" && m.Id == int.Parse(soDetailId));
@@ -1931,7 +1937,8 @@
        {
            if (type == "1")//平库出库获取单据
            {
                var allotList = await Db.Queryable<BllExportAllot>().Where(m => m.IsDel == "0" && (m.Status == "1" || m.Status == "0")).Select(m => m.SONo).Distinct().Where(m => !string.IsNullOrWhiteSpace(m)).ToListAsync();
                List<string> statusList = new List<string>() { "0", "1", "2", "3" };
                var allotList = await Db.Queryable<BllExportAllot>().Where(m => m.IsDel == "0" && statusList.Contains(m.Status)).Select(m => m.SONo).Distinct().Where(m => !string.IsNullOrWhiteSpace(m)).ToListAsync();
                return allotList;
            }
            //获取状态为待拣货或者部分拣货的出库单