|
|
@ -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(),//供应商编号
|
|
|
|