|
@ -217,7 +217,8 @@ namespace SCP.SupplierData |
|
|
_entity.PartDesc1 = rowDataKeys[23] as string; |
|
|
_entity.PartDesc1 = rowDataKeys[23] as string; |
|
|
_entity.CurrencyDesc = rowDataKeys[24] as string; |
|
|
_entity.CurrencyDesc = rowDataKeys[24] as string; |
|
|
_entity.Site = rowDataKeys[25] as string; |
|
|
_entity.Site = rowDataKeys[25] as string; |
|
|
_entity.VendName = rowDataKeys[26] as string; |
|
|
_entity.SubSite = rowDataKeys[36] as string; |
|
|
|
|
|
_entity.VendName = rowDataKeys[26] as string; |
|
|
_entity.PartDesc2 = rowDataKeys[27] as string; |
|
|
_entity.PartDesc2 = rowDataKeys[27] as string; |
|
|
_entity.AskBillNum = rowDataKeys[28] as string; |
|
|
_entity.AskBillNum = rowDataKeys[28] as string; |
|
|
_entity.AskQty = ConvertHelper.To<Decimal>(rowDataKeys[29]); |
|
|
_entity.AskQty = ConvertHelper.To<Decimal>(rowDataKeys[29]); |
|
@ -240,26 +241,6 @@ namespace SCP.SupplierData |
|
|
var _Batch1 = modifyValue.Keys.Contains("Batch") ? modifyValue["Batch"] : _entity.Batch; |
|
|
var _Batch1 = modifyValue.Keys.Contains("Batch") ? modifyValue["Batch"] : _entity.Batch; |
|
|
var _VendBatch = modifyValue.Keys.Contains("VendBatch") ? modifyValue["VendBatch"].ToString() : _entity.Batch; |
|
|
var _VendBatch = modifyValue.Keys.Contains("VendBatch") ? modifyValue["VendBatch"].ToString() : _entity.Batch; |
|
|
var _ProduceDate = modifyValue.Keys.Contains("ProduceDate") ? modifyValue["ProduceDate"].ToString() : _entity.ProduceDate.ToString(); |
|
|
var _ProduceDate = modifyValue.Keys.Contains("ProduceDate") ? modifyValue["ProduceDate"].ToString() : _entity.ProduceDate.ToString(); |
|
|
if (modifyValue.Keys.Contains("SubSite")) |
|
|
|
|
|
{ |
|
|
|
|
|
_entity.SubSite = modifyValue["SubSite"].ToString(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (modifyValue.Keys.Contains("Extend1")) |
|
|
|
|
|
{ |
|
|
|
|
|
_entity.Extend1 = modifyValue["Extend1"].ToString(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (modifyValue.Keys.Contains("Extend2")) |
|
|
|
|
|
{ |
|
|
|
|
|
_entity.Extend2 = modifyValue["Extend2"].ToString(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (modifyValue.Keys.Contains("Extend3")) |
|
|
|
|
|
{ |
|
|
|
|
|
_entity.Extend3 = modifyValue["Extend3"].ToString(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(_VendBatch) || string.IsNullOrEmpty(_ProduceDate)) |
|
|
if (string.IsNullOrEmpty(_VendBatch) || string.IsNullOrEmpty(_ProduceDate)) |
|
|
{ |
|
|
{ |
|
|