|
|
|
@ -33,11 +33,11 @@ export const ConversationItemForm = ({ initialValues, onFormInstanceReady }) =>
|
|
|
|
|
return (
|
|
|
|
|
<Form layout='horizontal' form={form} name='form_in_modal' initialValues={{ ...fromCurrent, ...initialValues, wa_id: formatPhone }} onValuesChange={onValuesChange} labelCol={{span: 4}} labelWrap={true} >
|
|
|
|
|
{/* {!initialValues.is_current_order && ( */}
|
|
|
|
|
<Form.Item name={'name'} label='名称' rules={[{ required: true, message: '请输入联系人名称' }, { max: 20, message: '最长20字' }]} >
|
|
|
|
|
<Form.Item name={'name'} label='名称' rules={[{ required: true, message: '请输入联系人名称' },]} >
|
|
|
|
|
<Input placeholder='请输入联系人名称' />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
{/* )} */}
|
|
|
|
|
<Form.Item name={'remark'} label='备注' rules={[{type: 'string', max: 50, message: '备注最多50字' }]}>
|
|
|
|
|
<Form.Item name={'remark'} label='备注' rules={[{type: 'string', max: 500, message: '备注最多500字' }]}>
|
|
|
|
|
<Input />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|