|
@@ -245,6 +245,7 @@ namespace WCS.Service.Works.Station
|
|
|
obj.EX(stationDeviceGroup =>
|
|
|
{
|
|
|
if (!stationDeviceGroup.BcrStationIsForbid()) return;
|
|
|
+ if(!SystemConfigHelpers.GetDeviceConfig(obj.Entity.CODE)) throw new WarnException($"已禁止{obj.Entity.CODE}入库,请联系相关人员查询");
|
|
|
|
|
|
//设备组无论单卷还是双卷都必须满足的条件
|
|
|
if (stationDeviceGroup.Items.Any(v => v.Data.VoucherNo != v.Data2.VoucherNo)) throw new WarnException($"等待任务执行--凭证号不一致");
|