Browse Source

暂时屏蔽零件号,原材物料号之间是否有bom关系

SCP_CYJ
qian 1 week ago
parent
commit
e19742cce8
  1. 12
      Controller/SCP_PO_CONTROLLER.cs

12
Controller/SCP_PO_CONTROLLER.cs

@ -2524,12 +2524,12 @@ namespace CK.SCP.Controller
ErrorList.Add(string.Format("供应商编号{0}不正确!", p_excel.)); ErrorList.Add(string.Format("供应商编号{0}不正确!", p_excel.));
} }
} }
BomList1.JsonService bomVersionRe = new BomList1.JsonService(); //BomList1.JsonService bomVersionRe = new BomList1.JsonService();
var _ReturnRelust = bomVersionRe.GetBom(p_excel., p_excel.); //var _ReturnRelust = bomVersionRe.GetBom(p_excel.零件号, p_excel.原材物料号);
if (_ReturnRelust == "[null]") //if (_ReturnRelust == "[null]")
{ //{
ErrorList.Add(string.Format("零件号{0}与原材物料号{1}不存在BOM关系!", p_excel., p_excel.)); // ErrorList.Add(string.Format("零件号{0}与原材物料号{1}不存在BOM关系!", p_excel.零件号, p_excel.原材物料号));
} //}
if ( if (
string.IsNullOrEmpty(p_excel.) || string.IsNullOrEmpty(p_excel.) ||
string.IsNullOrEmpty(p_excel.) || string.IsNullOrEmpty(p_excel.) ||

Loading…
Cancel
Save