|
@@ -46,7 +46,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
|
|
|
contacts:values.content,
|
|
|
contactMobile:values.telnum,
|
|
|
societyTag:values.societyTagt,
|
|
|
- source:values.customerSource,
|
|
|
+ //source:values.customerSource,
|
|
|
province:(values.ProvinceCity)[0],//省
|
|
|
city:(values.ProvinceCity)[1],//市
|
|
|
area:(values.ProvinceCity)[2],//区
|
|
@@ -166,25 +166,6 @@ const AchievementDetailForm = Form.create()(React.createClass({
|
|
|
)}
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <div className="clearfix">
|
|
|
- <FormItem className="mid-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="客户来源"
|
|
|
- >
|
|
|
- {getFieldDecorator('customerSource', {
|
|
|
- rules: [{ required: true, message: '此项为必填项!' }],
|
|
|
- initialValue: this.state.customerSource
|
|
|
- })(
|
|
|
- <Select placeholder="客户来源">
|
|
|
- {
|
|
|
- customerSource.map(function (item) {
|
|
|
- return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
- })
|
|
|
- }
|
|
|
- </Select>
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- </div>
|
|
|
</div>
|
|
|
<FormItem wrapperCol={{ span: 12, offset: 6 }}>
|
|
|
<Button type="primary" htmlType="submit" style={{marginRight:'50px'}}>保存</Button>
|