Browse Source

供应商零件接口修改

master
lvzb 4 years ago
parent
commit
fce6d20473
  1. 8
      Controller/SCP_DC_UNI_CONTROLLER.cs

8
Controller/SCP_DC_UNI_CONTROLLER.cs

@ -1692,10 +1692,10 @@ namespace CK.SCP.Controller
var _supplierpart = scpdb.TA_VEND_PART.SingleOrDefault(p => p.VendId == supplierpart.Supplier && p.PartCode == supplierpart.PartCode && p.VendPartCode == supplierpart.SupplierPart && p.Site == supplierpart.Domain );
if (_supplierpart == null)
{
var _pack = dc.TS_PACK.SingleOrDefault(p => p.PartCode == supplierpart.PartCode && p.Site == supplierpart.Domain && p.Site == supplierpart.Site);
if (_pack != null)
{
}
// var _pack = dc.TS_PACK.SingleOrDefault(p => p.PartCode == supplierpart.PartCode && p.Site == supplierpart.Domain && p.Site == supplierpart.Site);
//if (_pack != null)
//{
//}
_supplierpart = new TA_VEND_PART
{
VendId = supplierpart.Supplier.ToUpper(),//供应商编号

Loading…
Cancel
Save