个人类型供应商注册、黑名单退出】文字都改为【黑名单】、打分改为年审

This commit is contained in:
孙景学
2025-08-06 14:56:40 +08:00
parent f45c15731a
commit 709e00e156
7 changed files with 23 additions and 22 deletions

View File

@ -78,8 +78,8 @@ export default {
'menu.supplierBlacklist': '供应商黑名单管理',
'menu.blacklistManage': '供应商黑名单管理',
'menu.blacklistAudit': '供应商黑名单审批管理',
'menu.supplierExit': '供应商退出管理',
'menu.supplierExitManage': '供应商退出管理',
'menu.supplierExitAudit': '供应商退出审批管理',
'menu.supplierExit': '供应商黑名单管理',
'menu.supplierExitManage': '供应商黑名单管理',
'menu.supplierExitAudit': '供应商黑名单审批管理',
'menu.supplierMessage': '消息通知',
};

View File

@ -10,7 +10,7 @@ export default {
'supplierAnnualReview.common.submit': '提交',
'supplierAnnualReview.common.save': '保存',
'supplierAnnualReview.common.view': '查看',
'supplierAnnualReview.common.score': '打分',
'supplierAnnualReview.common.score': '年审',
'supplierAnnualReview.common.unknown': '未知',
'supplierAnnualReview.common.unknownStatus': '未知状态',
'supplierAnnualReview.common.pleaseInput': '请输入',

View File

@ -220,7 +220,8 @@ const SupplierRegister: React.FC<supplierWithInputProps> = (props) => {
>
<Radio.Button value="dvs">/</Radio.Button>
<Radio.Button value="ovs"></Radio.Button>
{supplierWithInput && <Radio.Button value="pe"></Radio.Button>}
<Radio.Button value="pe"></Radio.Button>
{/* {supplierWithInput && <Radio.Button value="pe">个人</Radio.Button>} */}
</Radio.Group>
</Form.Item>

View File

@ -109,7 +109,7 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
return (
<>
<Modal
title="供应商退出"
title="供应商黑名单"
visible={visible}
onCancel={onCancel}
width={900}
@ -157,11 +157,11 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
</Form.Item>
<Form.Item
label="退出原因"
label="加入黑名单原因"
name="exitReason"
rules={[{ required: true, message: '请输入退出原因' }]}
rules={[{ required: true, message: '请输入加入黑名单原因' }]}
>
<Input.TextArea placeholder="请输入退出原因" rows={4} />
<Input.TextArea placeholder="请输入黑名单原因" rows={4} />
</Form.Item>
</Form>
</div>

View File

@ -93,13 +93,13 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
},
{ title: "发起单位", dataIndex: "orgName", align: "center", ellipsis: true, width: 160 },
{ title: "发起部门", dataIndex: "deptName", align: "center", ellipsis: true, width: 160 },
{ title: "退出品类", dataIndex: "categoryName", align: "center", ellipsis: true, width: 160 },
{ title: "退出时间", dataIndex: "createTime", align: "center", width: 180 },
// { title: "黑名单品类", dataIndex: "categoryName", align: "center", ellipsis: true, width: 160 },
{ title: "加入黑名单时间", dataIndex: "createTime", align: "center", width: 180 },
];
return (
<Modal
title="供应商退出详情"
title="供应商黑名单详情"
visible={visible}
onCancel={onCancel}
width='80%'
@ -115,7 +115,7 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
<Form.Item name="deptId" label="发起单位">
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
</Form.Item>
<Form.Item name="time" label="退出时间">
<Form.Item name="time" label="加入黑名单时间">
<DatePicker.RangePicker style={{ width: 220 }} allowClear />
</Form.Item>
<Form.Item>

View File

@ -124,7 +124,7 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
return (
<>
<Modal
title="供应商退出"
title="供应商黑名单"
visible={visible}
onCancel={onCancel}
width={900}
@ -147,7 +147,7 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
<div style={{ marginTop: 24 }}>
<Form
form={form}
labelCol={{ flex: '100px' }}
labelCol={{ flex: '140px' }}
wrapperCol={{ flex: 1 }}
layout="horizontal"
>
@ -168,11 +168,11 @@ const CreateBlacklistModal: React.FC<CreateBlacklistModalProps> = ({
</Form.Item>
<Form.Item
label="退出原因"
label="加入黑名单原因"
name="exitReason"
rules={[{ required: true, message: '请输入退出原因' }]}
rules={[{ required: true, message: '请输入黑名单原因' }]}
>
<Input.TextArea placeholder="请输入退出原因" rows={4} />
<Input.TextArea placeholder="请输入加入黑名单原因" rows={4} />
</Form.Item>
</Form>
</div>

View File

@ -93,13 +93,13 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
},
{ title: "发起单位", dataIndex: "orgName", align: "center", ellipsis: true, width: 160 },
{ title: "发起部门", dataIndex: "deptName", align: "center", ellipsis: true, width: 160 },
{ title: "退出品类", dataIndex: "categoryName", align: "center", ellipsis: true, width: 160 },
{ title: "退出时间", dataIndex: "createTime", align: "center", width: 180 },
// { title: "黑名单品类", dataIndex: "categoryName", align: "center", ellipsis: true, width: 160 },
{ title: "加入黑名单时间", dataIndex: "createTime", align: "center", width: 180 },
];
return (
<Modal
title="供应商退出详情"
title="供应商黑名单详情"
visible={visible}
onCancel={onCancel}
width='80%'
@ -115,7 +115,7 @@ const ViewBlacklistModal: React.FC<ViewBlacklistModalProps> = ({
<Form.Item name="deptId" label="发起单位">
<AccessDepartmentSelect placeholder={'请选择发起单位'} />
</Form.Item>
<Form.Item name="time" label="退出时间">
<Form.Item name="time" label="加入黑名单时间">
<DatePicker.RangePicker style={{ width: 220 }} allowClear />
</Form.Item>
<Form.Item>