审批单位与黑名单菜单问题
This commit is contained in:
@ -146,7 +146,7 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
|
||||
<div style={{ marginTop: 24 }}>
|
||||
<Form
|
||||
form={form}
|
||||
labelCol={{ flex: '100px' }} // label 固定宽度(也可写 'none')
|
||||
labelCol={{ flex: '140px' }} // label 固定宽度(也可写 'none')
|
||||
wrapperCol={{ flex: 1 }} // 输入框区域自适应剩余空间
|
||||
layout="horizontal"
|
||||
>
|
||||
@ -166,11 +166,11 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label="退出原因"
|
||||
label="退出黑名单原因"
|
||||
name="blacklistReason"
|
||||
rules={[{ required: true, message: '请输入退出原因' }]}
|
||||
rules={[{ required: true, message: '请输入退出黑名单原因' }]}
|
||||
>
|
||||
<Input.TextArea placeholder="请输入退出原因" rows={4} />
|
||||
<Input.TextArea placeholder="请输入退出黑名单原因" rows={4} />
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</div>
|
||||
|
@ -109,7 +109,7 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
|
||||
|
||||
return (
|
||||
<Modal
|
||||
title="供应商退出详情"
|
||||
title="供应商黑名单详情"
|
||||
visible={visible}
|
||||
onCancel={onCancel}
|
||||
width={900}
|
||||
@ -120,14 +120,14 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
|
||||
<Spin spinning={loading}>
|
||||
{detail && (
|
||||
<Descriptions
|
||||
title="退出信息"
|
||||
title="黑名单信息"
|
||||
column={1}
|
||||
labelStyle={{ width: 120 }}
|
||||
labelStyle={{ width: 160 }}
|
||||
bordered
|
||||
style={{ marginBottom: 24 }}
|
||||
>
|
||||
<Descriptions.Item label="时限类型" >{timelimitMap[detail.timelimitType] || '' }</Descriptions.Item>
|
||||
<Descriptions.Item label="退出原因" >{detail.blacklistReason}</Descriptions.Item>
|
||||
<Descriptions.Item label="退出黑名单原因" >{detail.blacklistReason}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
)}
|
||||
|
||||
|
Reference in New Issue
Block a user