From acc050634205ea741c4ffac43c8a1e5ce3ddf0d3 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Fri, 25 Mar 2022 09:31:17 +0800 Subject: [PATCH] =?UTF-8?q?3.25=20=E9=BB=91=E5=90=8D=E5=8D=95=E7=AD=89?= =?UTF-8?q?=E7=BA=A7=E5=88=A4=E6=96=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BidControlManager/components/ViewBlacklistFormModal.tsx | 2 +- .../BidControlManager/components/ViewInvoiceFormModal.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx index ff40425..6203217 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx @@ -71,7 +71,7 @@ const ViewBlacklistFormModal: React.FC = (props) => { title: '黑名单等级', dataIndex: 'lv', render: (_, record) => { if (record.isBlack == "1") { - return isEmpty(record.lv) || '1' ? '一级' : '二级'; + return (isEmpty(record.lv) || record.lv == "1") ? '一级' : '二级'; } return ''; } diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx index e498ac5..951eb09 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx @@ -32,9 +32,9 @@ const ViewInvoiceFormModal: React.FC = (props) => { dataIndex: 'ouName', }, { title: '黑名单等级', - dataIndex: 'lv', + dataIndex: 'reserved5', render: (_: any, record: any) => { - return isEmpty(record.lv) || '1' ? '一级' : '二级'; + return (isEmpty(record.reserved5) || record.reserved5 == "1") ? '一级' : '二级'; } }, { title: '黑名单开始时间',