|
@@ -34,8 +34,8 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
unitName: thisdata.unitName,
|
|
|
postalAddress: thisdata.postalAddress,
|
|
|
postcode: thisdata.postcode,
|
|
|
- contacts: thisdata.contacts,
|
|
|
- contactMobile: thisdata.contactMobile,
|
|
|
+ firstMobile: thisdata.firstMobile,
|
|
|
+ firstContacts: thisdata.firstContacts,
|
|
|
contactsFixedTel: thisdata.contactsFixedTel,
|
|
|
contactsFax: thisdata.contactsFax,
|
|
|
legalPersonTel: thisdata.legalPersonTel,
|
|
@@ -64,7 +64,7 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
techTotal: thisdata.techTotal,
|
|
|
listedDateFormattedDate: thisdata.listedDateFormattedDate,
|
|
|
registrationTimeFormattedDate: thisdata.registrationTimeFormattedDate,
|
|
|
- address: [thisdata.province, thisdata.city, thisdata.area],
|
|
|
+ address: [thisdata.licenceProvince, thisdata.licenceCity, thisdata.licenceArea],
|
|
|
field: thisdata.field ? thisdata.field.split(',') : [],
|
|
|
registerType: thisdata.registerType ? thisdata.registerType.split(',') : []
|
|
|
});
|
|
@@ -246,13 +246,13 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
uid: this.state.data.uid,
|
|
|
hid: this.state.data.hid,
|
|
|
unitName: values.unitName,
|
|
|
- province: values.address[0],
|
|
|
- city: values.address[1],
|
|
|
- area: values.address[2],
|
|
|
+ licenceProvince: values.address[0],
|
|
|
+ licenceCity: values.address[1],
|
|
|
+ licenceArea: values.address[2],
|
|
|
postalAddress: values.postalAddress,
|
|
|
postcode: values.postcode,
|
|
|
- contacts: values.contacts,
|
|
|
- contactMobile: values.contactMobile,
|
|
|
+ firstMobile: values.firstMobile,
|
|
|
+ firstContacts: values.firstContacts,
|
|
|
contactsFixedTel: values.contactsFixedTel,
|
|
|
contactsFax: values.contactsFax,
|
|
|
legalPersonTel: values.legalPersonTel,
|
|
@@ -551,7 +551,7 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
>
|
|
|
{getFieldDecorator('contacts', {
|
|
|
rules: [{ required: true, message: '此项为必填项!' }],
|
|
|
- initialValue: theData.contacts
|
|
|
+ initialValue: theData.firstContacts
|
|
|
})(
|
|
|
<Input />
|
|
|
)}
|
|
@@ -562,7 +562,7 @@ const CompanyDetail = Form.create()(React.createClass({
|
|
|
>
|
|
|
{getFieldDecorator('contactMobile', {
|
|
|
rules: [{ required: true, message: '此项为必填项!' }],
|
|
|
- initialValue: theData.contactMobile
|
|
|
+ initialValue: theData.firstMobile
|
|
|
})(
|
|
|
<Input />
|
|
|
)}
|