From 117c0140ebe365d3a2e0de69a4410c9be25b11ac Mon Sep 17 00:00:00 2001 From: ddlucky Date: Tue, 14 Mar 2023 13:53:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AF=BC=E5=85=A5=E7=9B=91?= =?UTF-8?q?=E7=AE=A1=E8=BD=A6=E8=BD=A6=E5=8D=95=E6=97=B6=E7=A9=BA=E6=A0=BC?= =?UTF-8?q?=E6=88=90=E4=B8=BAgid=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MsOp_SuperVision_Truck/MsOp_SuperVision_TruckDAL.cs | 9 ++++++++- .../MsOp_SuperVision_TruckModel.js | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/DSWeb/Areas/MvcShipping/DAL/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckDAL.cs b/DSWeb/Areas/MvcShipping/DAL/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckDAL.cs index 9ea5aa55..f33a9b1b 100644 --- a/DSWeb/Areas/MvcShipping/DAL/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckDAL.cs +++ b/DSWeb/Areas/MvcShipping/DAL/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckDAL.cs @@ -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; } diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckModel.js b/DSWeb/Areas/MvcShipping/Viewsjs/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckModel.js index 1259df7f..e2756825 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckModel.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/MsOp_SuperVision_Truck/MsOp_SuperVision_TruckModel.js @@ -207,5 +207,5 @@ Ext.define('MsOpSuperVisionTruckDetailModel', { { name: 'REMARK', type: 'string' }, { name: 'MBLNO', type: 'string' }, { name: 'VESSEL', type: 'string' } - ]s + ] }); \ No newline at end of file