不属于任务单的物料也可签收
This commit is contained in:
@@ -170,9 +170,9 @@ namespace Tnb.ProductionMgr
|
||||
{
|
||||
foreach (Dictionary<string, object> item in input.details)
|
||||
{
|
||||
if (!inputMaterials.Contains(item["material_id"]))
|
||||
if (!inputMaterials.Contains(item["material_id"]) && !input.sure)
|
||||
{
|
||||
throw new Exception("该物料不是生产bom投入物料,不能签收");
|
||||
throw new Exception("存在不属于生产bom的投入物料,确认签收吗");
|
||||
}
|
||||
|
||||
list.Add(new PrdMaterialReceiptD
|
||||
|
||||
Reference in New Issue
Block a user