解决导入监管车车单时空格成为gid的错误

DS7_JingHan
ddlucky 2 years ago
parent ebe7b2c410
commit 117c0140eb

@ -608,7 +608,14 @@ namespace DSWeb.MvcShipping.DAL.MsOpOtherDAL
var result = "";
if (dt.Columns.Contains(fieldname))
{
result = Convert.ToString(row[fieldname]);
result = row[fieldname].ToString();
try {
var guidstr = new Guid(result);
result = "";
}
catch (Exception e) {
}
}
return result;
}

@ -207,5 +207,5 @@ Ext.define('MsOpSuperVisionTruckDetailModel', {
{ name: 'REMARK', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'VESSEL', type: 'string' }
]s
]
});
Loading…
Cancel
Save