|
@@ -61,6 +61,24 @@ export default class MerchantInfo extends PureComponent {
|
|
<Spin spinning={loading}>
|
|
<Spin spinning={loading}>
|
|
<Card>
|
|
<Card>
|
|
<Form layout="horizontal" onSubmit={this.handlePageSubmit}>
|
|
<Form layout="horizontal" onSubmit={this.handlePageSubmit}>
|
|
|
|
+ <Form.Item label="厂商名称" hasFeedback {...formItemLayout}>
|
|
|
|
+ {getFieldDecorator('name', {
|
|
|
|
+ rules: [{ required: true, type: 'string', message: '名称为必填项!' }],
|
|
|
|
+ initialValue: item.name,
|
|
|
|
+ })(<Input />)}
|
|
|
|
+ </Form.Item>
|
|
|
|
+ <Form.Item label="联系人" hasFeedback {...formItemLayout}>
|
|
|
|
+ {getFieldDecorator('contactName', {
|
|
|
|
+ rules: [{ required: true, type: 'string', message: '联系人为必填项!' }],
|
|
|
|
+ initialValue: item.contactName,
|
|
|
|
+ })(<Input />)}
|
|
|
|
+ </Form.Item>
|
|
|
|
+ <Form.Item label="联系电话" hasFeedback {...formItemLayout}>
|
|
|
|
+ {getFieldDecorator('mobile', {
|
|
|
|
+ rules: [{ required: true, type: 'string', message: '联系电话为必填项!' }],
|
|
|
|
+ initialValue: item.mobile,
|
|
|
|
+ })(<Input />)}
|
|
|
|
+ </Form.Item>
|
|
<Form.Item label="开户银行" hasFeedback {...formItemLayout}>
|
|
<Form.Item label="开户银行" hasFeedback {...formItemLayout}>
|
|
{getFieldDecorator('depositBank', {
|
|
{getFieldDecorator('depositBank', {
|
|
rules: [{ required: true, type: 'string', message: '开户银行为必填项!' }],
|
|
rules: [{ required: true, type: 'string', message: '开户银行为必填项!' }],
|