|
|
@@ -26,33 +26,27 @@ const CreateForm = (props) => { |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="companyName" label="企业名称" rules={[{ required: true, max: 30 }]}> |
|
|
|
<Input placeholder="请输入企业名称" /> |
|
|
|
<Input placeholder="请输入企业名称" disabled={true} /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="userName" label="联系人" rules={[{ required: true, max: 20 }]}> |
|
|
|
<Input placeholder="请输入联系人" /> |
|
|
|
<Input placeholder="请输入联系人" disabled={true} /> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item name="phone" label="电话" rules={[{ max: 20,pattern: /0?(13|14|15|18|17)[0-9]{9}$/, |
|
|
|
message: '手机号格式不正确' }]}> |
|
|
|
<Input placeholder="请输入电话" /> |
|
|
|
<Form.Item name="phone" label="电话" rules={[{ |
|
|
|
max: 20, pattern: /0?(13|14|15|18|17)[0-9]{9}$/, |
|
|
|
message: '手机号格式不正确' |
|
|
|
}]}> |
|
|
|
<Input placeholder="请输入电话" disabled={true} /> |
|
|
|
</Form.Item> |
|
|
|
{/* <Form.Item name="StoreNum" label="结算周期" rules={[{ required: true}]}> |
|
|
|
<InputNumber step={1} min={1} max={100} precision={0} /> |
|
|
|
</Form.Item> */} |
|
|
|
<Form.Item name="TMCDeviceNum" label="味魔方设备数量" rules={[{ required: true}]}> |
|
|
|
<InputNumber step={1} min={1} max={100} precision={10} /> |
|
|
|
<Form.Item name="TMCDeviceNum" label="设备数量" rules={[{ required: true }]}> |
|
|
|
<InputNumber step={1} min={1} max={1000} precision={10} /> |
|
|
|
</Form.Item> |
|
|
|
{/* <Form.Item name="UserNum" label="结算周期" rules={[{ required: true}]}> |
|
|
|
<InputNumber step={1} min={1} max={100} precision={0} /> |
|
|
|
</Form.Item> */} |
|
|
|
<Form.Item label={'审核状态'} name="status" rules={[{ required: true }]}> |
|
|
|
<Select placeholder="请选择审核状态"> |
|
|
|
<OptGroup> |
|
|
|
<Select.Option value={0}>拒绝</Select.Option> |
|
|
|
<Select.Option value={1}>通过</Select.Option> |
|
|
|
</OptGroup> |
|
|
|
</Select> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item> |
|
|
|
<Button type="primary" htmlType="submit"> |
|
|
|
审核通过 |
|
|
|