From 3d7aef676aea715491ea3c249c4498d787840e65 Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 26 Sep 2023 13:00:23 +0800 Subject: [PATCH] update ui --- src/pages/PublicNoticeSearch_GLD/DataGrid.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/PublicNoticeSearch_GLD/DataGrid.js b/src/pages/PublicNoticeSearch_GLD/DataGrid.js index 16dccd4..9486974 100644 --- a/src/pages/PublicNoticeSearch_GLD/DataGrid.js +++ b/src/pages/PublicNoticeSearch_GLD/DataGrid.js @@ -59,6 +59,8 @@ export default function SearchPublicNoticeTable({ recordList }) { headerName: 'Contact Person', flex: 2, renderCell: (params) => { + let company = params.row.enCompanyName!= null ?" ("+(params.row.enCompanyName)+")":""; + let phone = JSON.parse(params.row.contactTelNo); let faxNo = JSON.parse(params.row.contactFaxNo); @@ -74,7 +76,7 @@ export default function SearchPublicNoticeTable({ recordList }) { } return (<> - {params?.value}
+ {params?.value + company}
{contact} ); }