投料暂时去掉校验

This commit is contained in:
2024-09-14 17:05:59 +08:00
parent 5689b57b79
commit 2da4652a9c

View File

@@ -412,10 +412,10 @@ namespace Tnb.ProductionMgr
{ {
foreach (var item in input.details) foreach (var item in input.details)
{ {
if (!inputMaterials.Contains(item.material_id)) // if (!inputMaterials.Contains(item.material_id))
{ // {
throw new Exception("该物料不是生产bom投入物料不能签收"); // throw new Exception("该物料不是生产bom投入物料不能签收");
} // }
PrdMaterialReceiptD? detail = null; PrdMaterialReceiptD? detail = null;
if (carry.carrystd_id == WmsWareHouseConst.CARRY_ZYXCSTD_ID || carry.carrystd_id == WmsWareHouseConst.CARRY_ZYLJSTD_ID) if (carry.carrystd_id == WmsWareHouseConst.CARRY_ZYXCSTD_ID || carry.carrystd_id == WmsWareHouseConst.CARRY_ZYLJSTD_ID)