|
|
|
@ -1004,7 +1004,7 @@ namespace VOL.WMS.Services
|
|
|
|
|
//此逻辑在add和update中实现
|
|
|
|
|
|
|
|
|
|
//2 如果有某明细未选择品名 返回错误
|
|
|
|
|
var inplangoods = OP_WMS_IN_PLAN _GOODSRepository.Instance.FindAsIQueryable(x => x.WMSPLANID == head.WMSPLANID).ToList();
|
|
|
|
|
var inplangoods = OP_WMS_IN_PLAN_GOODSRepository.Instance.FindAsIQueryable(x => x.WMSPLANID == head.WMSPLANID).ToList();
|
|
|
|
|
if (inplangoods.Exists(x => x.GOODSNAME == "" || x.GOODSNAME == null)) {
|
|
|
|
|
return _r1.Error("有计划明细未正确选择商品名称!");
|
|
|
|
|
}
|
|
|
|
|