供应商消息以及代码优化
This commit is contained in:
@ -64,7 +64,7 @@ const SupplierMessage: React.FC = () => {
|
||||
dataIndex: 'index',
|
||||
key: 'index',
|
||||
align: 'center',
|
||||
width: 60,
|
||||
width: 80,
|
||||
render: (_: any, __: any, idx: number) => ((pagination.current! - 1) * pagination.pageSize!) + idx + 1,
|
||||
},
|
||||
{
|
||||
@ -115,10 +115,10 @@ const SupplierMessage: React.FC = () => {
|
||||
<>
|
||||
<Form form={form} layout="inline" style={{ marginBottom: 12 }}>
|
||||
<Form.Item name="content" label="消息内容">
|
||||
<Input placeholder="请输入消息内容" style={{ width: 220 }} maxLength={50} />
|
||||
<Input placeholder="请输入消息内容" style={{ width: 220 }} maxLength={50} allowClear />
|
||||
</Form.Item>
|
||||
<Form.Item name="type" label="业务类型">
|
||||
<Select style={{ width: 200 }} placeholder="请选择业务类型">
|
||||
<Select style={{ width: 200 }} placeholder="请选择业务类型" allowClear>
|
||||
{messageTypeOptions.map(opt => (
|
||||
<Select.Option key={opt.value} value={opt.value}>{opt.label}</Select.Option>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user