3.25 黑名单等级判断修改

This commit is contained in:
jl-zhoujl2
2022-03-25 09:31:17 +08:00
parent 15fd10746d
commit acc0506342
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ const ViewBlacklistFormModal: React.FC<ViewBlacklistFormModalProps> = (props) =>
{
title: '黑名单等级', dataIndex: 'lv', render: (_, record) => {
if (record.isBlack == "1") {
return isEmpty(record.lv) || '1' ? '一级' : '二级';
return (isEmpty(record.lv) || record.lv == "1") ? '一级' : '二级';
}
return '';
}

View File

@ -32,9 +32,9 @@ const ViewInvoiceFormModal: React.FC<ViewInvoiceFormModalProps> = (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: '黑名单开始时间',