|
@@ -1,5 +1,24 @@
|
|
import React from 'react';
|
|
import React from 'react';
|
|
-import { Radio, Icon, Button, AutoComplete,Cascader,Input, Select, Spin, Popconfirm, Table, Switch, message, DatePicker, Upload, Form ,Modal,Tabs} from 'antd';
|
|
|
|
|
|
+import {
|
|
|
|
+ Radio,
|
|
|
|
+ Icon,
|
|
|
|
+ Button,
|
|
|
|
+ AutoComplete,
|
|
|
|
+ Cascader,
|
|
|
|
+ Input,
|
|
|
|
+ Select,
|
|
|
|
+ Spin,
|
|
|
|
+ Popconfirm,
|
|
|
|
+ Table,
|
|
|
|
+ Switch,
|
|
|
|
+ message,
|
|
|
|
+ DatePicker,
|
|
|
|
+ Upload,
|
|
|
|
+ Form,
|
|
|
|
+ Modal,
|
|
|
|
+ Tabs,
|
|
|
|
+ Tag, Tooltip
|
|
|
|
+} from 'antd';
|
|
import ajax from 'jquery/src/ajax/xhr.js';
|
|
import ajax from 'jquery/src/ajax/xhr.js';
|
|
import $ from 'jquery/src/ajax';
|
|
import $ from 'jquery/src/ajax';
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
@@ -362,7 +381,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
title: '资料完整度',
|
|
title: '资料完整度',
|
|
dataIndex: 'dataGrade',
|
|
dataIndex: 'dataGrade',
|
|
key: 'dataGrade',
|
|
key: 'dataGrade',
|
|
-
|
|
|
|
|
|
+
|
|
}, {
|
|
}, {
|
|
title: '客户资料所属人',
|
|
title: '客户资料所属人',
|
|
dataIndex: 'iname',
|
|
dataIndex: 'iname',
|
|
@@ -373,13 +392,15 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
dataIndex: 'industry',
|
|
dataIndex: 'industry',
|
|
key: 'industry'
|
|
key: 'industry'
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
key: 'createTime',
|
|
key: 'createTime',
|
|
}
|
|
}
|
|
],
|
|
],
|
|
|
|
+ businessScope:[],
|
|
|
|
+ salesTarget: [],
|
|
data: [],
|
|
data: [],
|
|
dataSource: [],
|
|
dataSource: [],
|
|
columnsDate: [
|
|
columnsDate: [
|
|
@@ -405,7 +426,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
dataIndex: 'auditStatus',
|
|
dataIndex: 'auditStatus',
|
|
key: 'auditStatus',
|
|
key: 'auditStatus',
|
|
render: text => { return getTechAuditStatus(text) }
|
|
render: text => { return getTechAuditStatus(text) }
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '是否精品',
|
|
title: '是否精品',
|
|
dataIndex: 'boutique',
|
|
dataIndex: 'boutique',
|
|
@@ -456,7 +477,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
title: '年份',
|
|
title: '年份',
|
|
dataIndex: 'year',
|
|
dataIndex: 'year',
|
|
key: 'year',
|
|
key: 'year',
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '项目状态',
|
|
title: '项目状态',
|
|
dataIndex: 'status',
|
|
dataIndex: 'status',
|
|
@@ -569,7 +590,8 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
international:thisDetail.international,//是否国际化
|
|
international:thisDetail.international,//是否国际化
|
|
orgCode:thisDetail.orgCode,//社会统一机构
|
|
orgCode:thisDetail.orgCode,//社会统一机构
|
|
orgCodeUrl:thisDetail.orgCodeUrl? splitUrl(thisDetail.orgCodeUrl, ',', globalConfig.avatarHost + '/upload') : [],//社会统一机构地址
|
|
orgCodeUrl:thisDetail.orgCodeUrl? splitUrl(thisDetail.orgCodeUrl, ',', globalConfig.avatarHost + '/upload') : [],//社会统一机构地址
|
|
- businessScope:thisDetail.businessScope,//业务范围
|
|
|
|
|
|
+ businessScope: thisDetail.businessScope ? thisDetail.businessScope.split(',').filter((v)=> v) : [],//业务范围
|
|
|
|
+ salesTarget:thisDetail.salesTarget ? thisDetail.salesTarget.split(',').filter((v)=> v) : [],//销售目标企业
|
|
contacts:thisDetail.contacts,//主要联系人姓名
|
|
contacts:thisDetail.contacts,//主要联系人姓名
|
|
contactMobile:thisDetail.contactMobile,//主要联系人电话
|
|
contactMobile:thisDetail.contactMobile,//主要联系人电话
|
|
investment:thisDetail.investment,//投资机构
|
|
investment:thisDetail.investment,//投资机构
|
|
@@ -733,7 +755,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
this.details(record.id);
|
|
this.details(record.id);
|
|
},
|
|
},
|
|
//指定转交人自动补全
|
|
//指定转交人自动补全
|
|
- supervisor(e){
|
|
|
|
|
|
+ supervisor(e){
|
|
$.ajax({
|
|
$.ajax({
|
|
method: "get",
|
|
method: "get",
|
|
dataType: "json",
|
|
dataType: "json",
|
|
@@ -742,23 +764,23 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
data:{
|
|
data:{
|
|
adminName:e
|
|
adminName:e
|
|
},
|
|
},
|
|
- success: function (data) {
|
|
|
|
|
|
+ success: function (data) {
|
|
let thedata=data.data;
|
|
let thedata=data.data;
|
|
if (!thedata) {
|
|
if (!thedata) {
|
|
if (data.error && data.error.length) {
|
|
if (data.error && data.error.length) {
|
|
message.warning(data.error[0].message);
|
|
message.warning(data.error[0].message);
|
|
- };
|
|
|
|
- thedata = {};
|
|
|
|
- };
|
|
|
|
|
|
+ };
|
|
|
|
+ thedata = {};
|
|
|
|
+ };
|
|
this.setState({
|
|
this.setState({
|
|
- customerArr:thedata,
|
|
|
|
|
|
+ customerArr:thedata,
|
|
});
|
|
});
|
|
}.bind(this),
|
|
}.bind(this),
|
|
}).always(function () {
|
|
}).always(function () {
|
|
this.setState({
|
|
this.setState({
|
|
loading: false
|
|
loading: false
|
|
});
|
|
});
|
|
- }.bind(this));
|
|
|
|
|
|
+ }.bind(this));
|
|
},
|
|
},
|
|
//输入转交人输入框失去焦点是判断客户是否存在
|
|
//输入转交人输入框失去焦点是判断客户是否存在
|
|
selectAuto(value,options){
|
|
selectAuto(value,options){
|
|
@@ -774,7 +796,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
if (item.name == e.toString()) {
|
|
if (item.name == e.toString()) {
|
|
theType = item.id;
|
|
theType = item.id;
|
|
}
|
|
}
|
|
- });
|
|
|
|
|
|
+ });
|
|
}
|
|
}
|
|
this.setState({
|
|
this.setState({
|
|
theTypes:theType
|
|
theTypes:theType
|
|
@@ -783,8 +805,8 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
//值改变时请求客户名称
|
|
//值改变时请求客户名称
|
|
httpChange(e){
|
|
httpChange(e){
|
|
if(e.length>=1){
|
|
if(e.length>=1){
|
|
- this.supervisor(e);
|
|
|
|
- }
|
|
|
|
|
|
+ this.supervisor(e);
|
|
|
|
+ }
|
|
this.setState({
|
|
this.setState({
|
|
auto:e
|
|
auto:e
|
|
})
|
|
})
|
|
@@ -809,8 +831,8 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
url: globalConfig.context + "/api/admin/customer/updateInformationMaintainerr",
|
|
url: globalConfig.context + "/api/admin/customer/updateInformationMaintainerr",
|
|
data: {
|
|
data: {
|
|
id: id, //客户ID
|
|
id: id, //客户ID
|
|
- aid: this.state.theTypes, //指定转交人的ID
|
|
|
|
-
|
|
|
|
|
|
+ aid: this.state.theTypes, //指定转交人的ID
|
|
|
|
+
|
|
}
|
|
}
|
|
}).done(function(data) {
|
|
}).done(function(data) {
|
|
if(!data.error.length) {
|
|
if(!data.error.length) {
|
|
@@ -952,7 +974,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
const intentionState = this.props.intentionState ||'';
|
|
const intentionState = this.props.intentionState ||'';
|
|
return(
|
|
return(
|
|
<div className="user-content" >
|
|
<div className="user-content" >
|
|
- <div className="content-title">
|
|
|
|
|
|
+ <div className="content-title">
|
|
<span>客户资料管理</span>
|
|
<span>客户资料管理</span>
|
|
</div>
|
|
</div>
|
|
<Tabs
|
|
<Tabs
|
|
@@ -1006,24 +1028,24 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
? this.state.changeList
|
|
? this.state.changeList
|
|
: this.state.columns
|
|
: this.state.columns
|
|
}
|
|
}
|
|
- dataSource={this.state.dataSource}
|
|
|
|
|
|
+ dataSource={this.state.dataSource}
|
|
rowSelection={rowSelection}
|
|
rowSelection={rowSelection}
|
|
- pagination={this.state.pagination}
|
|
|
|
|
|
+ pagination={this.state.pagination}
|
|
onRowClick={this.tableRowClick}
|
|
onRowClick={this.tableRowClick}
|
|
bordered
|
|
bordered
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
</Spin>
|
|
</Spin>
|
|
- </div>
|
|
|
|
- <Modal
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <Modal
|
|
className="customeDetails"
|
|
className="customeDetails"
|
|
footer=''
|
|
footer=''
|
|
title="客户资料"
|
|
title="客户资料"
|
|
width='1000px'
|
|
width='1000px'
|
|
visible={this.state.visitModul}
|
|
visible={this.state.visitModul}
|
|
onOk={this.visitOk}
|
|
onOk={this.visitOk}
|
|
- onCancel={this.visitCancel}
|
|
|
|
- >
|
|
|
|
|
|
+ onCancel={this.visitCancel}
|
|
|
|
+ >
|
|
<Tabs onChange={this.callback} activeKey={this.state.callnub}>
|
|
<Tabs onChange={this.callback} activeKey={this.state.callnub}>
|
|
<TabPane tab="基本信息" key="0">
|
|
<TabPane tab="基本信息" key="0">
|
|
<div>
|
|
<div>
|
|
@@ -1045,7 +1067,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
<div className="clearfix" >
|
|
<div className="clearfix" >
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="企业行业">
|
|
label="企业行业">
|
|
<Select placeholder="选择行业" value={this.state.industry} style={{width:'95%'}}
|
|
<Select placeholder="选择行业" value={this.state.industry} style={{width:'95%'}}
|
|
@@ -1058,29 +1080,29 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
</Select>
|
|
</Select>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="社会属性"
|
|
label="社会属性"
|
|
- >
|
|
|
|
|
|
+ >
|
|
<Select placeholder="客户社会属性" value={this.state.societyTag} style={{width:'95%'}}
|
|
<Select placeholder="客户社会属性" value={this.state.societyTag} style={{width:'95%'}}
|
|
- onChange={(e)=>{this.setState({societyTag:e})}} disabled={true}>
|
|
|
|
|
|
+ onChange={(e)=>{this.setState({societyTag:e})}} disabled={true}>
|
|
{
|
|
{
|
|
socialAttribute.map(function (item) {
|
|
socialAttribute.map(function (item) {
|
|
return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- </Select>
|
|
|
|
|
|
+ </Select>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="省-市-区"
|
|
label="省-市-区"
|
|
- >
|
|
|
|
|
|
+ >
|
|
<Cascader options={areaSelect()} value={this.state.ProvinceCity} placeholder="选择城市" style={{width:'95%'}}
|
|
<Cascader options={areaSelect()} value={this.state.ProvinceCity} placeholder="选择城市" style={{width:'95%'}}
|
|
onChange={(e,pre) => { this.setState({ ProvinceCity: e }) }} disabled={true}/>
|
|
onChange={(e,pre) => { this.setState({ ProvinceCity: e }) }} disabled={true}/>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="注册资本"
|
|
label="注册资本"
|
|
>
|
|
>
|
|
@@ -1093,71 +1115,93 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
labelCol={{ span:4 }}
|
|
labelCol={{ span:4 }}
|
|
wrapperCol={{ span: 20 }}
|
|
wrapperCol={{ span: 20 }}
|
|
label="主营产品" >
|
|
label="主营产品" >
|
|
- <Input type="textarea" rows={2} value={this.state.businessScope} style={{width:'95%'}}
|
|
|
|
- onChange={(e,pre) => { this.setState({ businessScope: e.target.value })}} disabled={true}/>
|
|
|
|
- <span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
|
|
|
|
+ {this.state.businessScope.map((tag) => {
|
|
|
|
+ const isLongTag = tag.length > 20;
|
|
|
|
+ const tagElem = (
|
|
|
|
+ <Tag key={tag}>
|
|
|
|
+ {isLongTag ? `${tag.slice(0, 20)}...` : tag}
|
|
|
|
+ </Tag>
|
|
|
|
+ );
|
|
|
|
+ return isLongTag ? <Tooltip title={tag} key={tag}>{tagElem}</Tooltip> : tagElem;
|
|
|
|
+ })}
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+ <div className='clearfix'>
|
|
|
|
+ <FormItem
|
|
|
|
+ labelCol={{ span:4 }}
|
|
|
|
+ wrapperCol={{ span: 20 }}
|
|
|
|
+ label="销售目标企业" >
|
|
|
|
+ {this.state.salesTarget.map((tag) => {
|
|
|
|
+ const isLongTag = tag.length > 20;
|
|
|
|
+ const tagElem = (
|
|
|
|
+ <Tag key={tag}>
|
|
|
|
+ {isLongTag ? `${tag.slice(0, 20)}...` : tag}
|
|
|
|
+ </Tag>
|
|
|
|
+ );
|
|
|
|
+ return isLongTag ? <Tooltip title={tag} key={tag}>{tagElem}</Tooltip> : tagElem;
|
|
|
|
+ })}
|
|
|
|
+ </FormItem>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div style={{fontSize:'18px',marginLeft:'50px',marginTop:'15px',marginBottom:'10px',color:"red",fontWeight:"bold"}}>企业资料</div>
|
|
<div style={{fontSize:'18px',marginLeft:'50px',marginTop:'15px',marginBottom:'10px',color:"red",fontWeight:"bold"}}>企业资料</div>
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="通信地址"
|
|
label="通信地址"
|
|
>
|
|
>
|
|
- <Input placeholder="客户通信地址" value={this.state.postalAddress}
|
|
|
|
|
|
+ <Input placeholder="客户通信地址" value={this.state.postalAddress}
|
|
onChange={(e,pre) => { this.setState({ postalAddress: e.target.value }) }} disabled={true}/>
|
|
onChange={(e,pre) => { this.setState({ postalAddress: e.target.value }) }} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="固定电话"
|
|
label="固定电话"
|
|
>
|
|
>
|
|
- <Input placeholder="客户固定电话" value={this.state.contactsFixedTel}
|
|
|
|
|
|
+ <Input placeholder="客户固定电话" value={this.state.contactsFixedTel}
|
|
onChange={(e) => { this.setState({ contactsFixedTel: e.target.value }) }} disabled={true}/>
|
|
onChange={(e) => { this.setState({ contactsFixedTel: e.target.value }) }} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="客户传真"
|
|
label="客户传真"
|
|
>
|
|
>
|
|
- <Input placeholder="客户传真" value={this.state.contactsFax}
|
|
|
|
|
|
+ <Input placeholder="客户传真" value={this.state.contactsFax}
|
|
onChange={(e) => { this.setState({ contactsFax: e.target.value })}} disabled={true}/>
|
|
onChange={(e) => { this.setState({ contactsFax: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
-
|
|
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="企业人数"
|
|
label="企业人数"
|
|
>
|
|
>
|
|
<Input placeholder="单位规模" value={this.state.enterpriseScale} onChange={(e) => {
|
|
<Input placeholder="单位规模" value={this.state.enterpriseScale} onChange={(e) => {
|
|
this.setState({ enterpriseScale: e.target.value })}} disabled={true}/>
|
|
this.setState({ enterpriseScale: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="法人名称"
|
|
label="法人名称"
|
|
>
|
|
>
|
|
<Input placeholder="法人名称" value={this.state.legalPerson} onChange={(e) => {
|
|
<Input placeholder="法人名称" value={this.state.legalPerson} onChange={(e) => {
|
|
this.setState({ legalPerson: e.target.value })}} disabled={true}/>
|
|
this.setState({ legalPerson: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="法人身份证"
|
|
label="法人身份证"
|
|
>
|
|
>
|
|
<Input placeholder="法人身份证" value={this.state.legalPersonIdCard} onChange={(e) => {
|
|
<Input placeholder="法人身份证" value={this.state.legalPersonIdCard} onChange={(e) => {
|
|
this.setState({ legalPersonIdCard: e.target.value })}} disabled={true}/>
|
|
this.setState({ legalPersonIdCard: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="联系人"
|
|
label="联系人"
|
|
>
|
|
>
|
|
<Input placeholder="主要联系人" value={this.state.contacts} onChange={(e) => {
|
|
<Input placeholder="主要联系人" value={this.state.contacts} onChange={(e) => {
|
|
this.setState({ contacts: e.target.value })}} disabled={true}/>
|
|
this.setState({ contacts: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="联系人号码"
|
|
label="联系人号码"
|
|
>
|
|
>
|
|
<Input placeholder="主要联系人号码" value={this.state.contactMobile} onChange={(e) => {
|
|
<Input placeholder="主要联系人号码" value={this.state.contactMobile} onChange={(e) => {
|
|
this.setState({ contactMobile: e.target.value })}} disabled={true}/>
|
|
this.setState({ contactMobile: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="法人电话"
|
|
label="法人电话"
|
|
>
|
|
>
|
|
@@ -1168,10 +1212,10 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="法人邮箱"
|
|
label="法人邮箱"
|
|
>
|
|
>
|
|
- <Input placeholder="法人电子邮箱" value={this.state.legalPersonEmail}
|
|
|
|
|
|
+ <Input placeholder="法人电子邮箱" value={this.state.legalPersonEmail}
|
|
onChange={(e) => {this.setState({legalPersonEmail: e.target.value })}} disabled={true}/>
|
|
onChange={(e) => {this.setState({legalPersonEmail: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="社会统一信用机构代码"
|
|
label="社会统一信用机构代码"
|
|
>
|
|
>
|
|
@@ -1183,11 +1227,11 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
labelCol={{ span:4 }}
|
|
labelCol={{ span:4 }}
|
|
wrapperCol={{ span: 18 }}
|
|
wrapperCol={{ span: 18 }}
|
|
label="客户简介" >
|
|
label="客户简介" >
|
|
- <Input type="textarea" rows={3} value={this.state.introduction}
|
|
|
|
|
|
+ <Input type="textarea" rows={3} value={this.state.introduction}
|
|
onChange={(e,pre) => { this.setState({ introduction: e.target.value })}} disabled={true}/>
|
|
onChange={(e,pre) => { this.setState({ introduction: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div className="clearfix pictures">
|
|
<div className="clearfix pictures">
|
|
<FormItem style={{display:'inline-block',width:'350px',marginTop:'20px',marginLeft:'95px'}}
|
|
<FormItem style={{display:'inline-block',width:'350px',marginTop:'20px',marginLeft:'95px'}}
|
|
labelCol={{ span: 8 }}
|
|
labelCol={{ span: 8 }}
|
|
@@ -1202,35 +1246,35 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
<FormItem style={{display:'inline-block',width:'350px',marginTop:'20px',marginTop:'20px'}}
|
|
<FormItem style={{display:'inline-block',width:'350px',marginTop:'20px',marginTop:'20px'}}
|
|
labelCol={{ span: 8 }}
|
|
labelCol={{ span: 8 }}
|
|
wrapperCol={{ span: 10 }}
|
|
wrapperCol={{ span: 10 }}
|
|
- label="单位LOGO" >
|
|
|
|
|
|
+ label="单位LOGO" >
|
|
<PicturesWall
|
|
<PicturesWall
|
|
domId={'crmAll2'}
|
|
domId={'crmAll2'}
|
|
fileList={this.getCompanyLogoUrl}
|
|
fileList={this.getCompanyLogoUrl}
|
|
pictureUrl={this.state.companyLogoUrl} />
|
|
pictureUrl={this.state.companyLogoUrl} />
|
|
<p>建议:图片要清晰。</p>
|
|
<p>建议:图片要清晰。</p>
|
|
</FormItem>
|
|
</FormItem>
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
<div style={{fontSize:'18px',marginLeft:'50px',marginTop:'15px',marginBottom:'10px',color:"red",fontWeight:"bold"}}>重要资料</div>
|
|
<div style={{fontSize:'18px',marginLeft:'50px',marginTop:'15px',marginBottom:'10px',color:"red",fontWeight:"bold"}}>重要资料</div>
|
|
<div className='clearfix' >
|
|
<div className='clearfix' >
|
|
- <FormItem className="half-item"
|
|
|
|
|
|
+ <FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="客户信用等级"
|
|
label="客户信用等级"
|
|
- >
|
|
|
|
- <Select placeholder="客户信用等级" value={this.state.creditRating}
|
|
|
|
- onChange={(e)=>{this.setState({creditRating:e})}} disabled={true}>
|
|
|
|
|
|
+ >
|
|
|
|
+ <Select placeholder="客户信用等级" value={this.state.creditRating}
|
|
|
|
+ onChange={(e)=>{this.setState({creditRating:e})}} disabled={true}>
|
|
{
|
|
{
|
|
slcRedit.map(function (item) {
|
|
slcRedit.map(function (item) {
|
|
return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- </Select>
|
|
|
|
|
|
+ </Select>
|
|
</FormItem>
|
|
</FormItem>
|
|
<div className='clearfix'>
|
|
<div className='clearfix'>
|
|
<FormItem
|
|
<FormItem
|
|
labelCol={{ span:4 }}
|
|
labelCol={{ span:4 }}
|
|
wrapperCol={{ span: 19 }}
|
|
wrapperCol={{ span: 19 }}
|
|
label="企业核心技术" >
|
|
label="企业核心技术" >
|
|
- <Input type="textarea" rows={3} value={this.state.coreTechnology}
|
|
|
|
|
|
+ <Input type="textarea" rows={3} value={this.state.coreTechnology}
|
|
onChange={(e,pre) => { this.setState({ coreTechnology: e.target.value })}} disabled={true}/>
|
|
onChange={(e,pre) => { this.setState({ coreTechnology: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
@@ -1248,15 +1292,15 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
labelCol={{ span:4 }}
|
|
labelCol={{ span:4 }}
|
|
wrapperCol={{ span: 19 }}
|
|
wrapperCol={{ span: 19 }}
|
|
label="高企合作情况" >
|
|
label="高企合作情况" >
|
|
- <Input type="textarea" rows={3} value={this.state.cooperationSituation}
|
|
|
|
|
|
+ <Input type="textarea" rows={3} value={this.state.cooperationSituation}
|
|
onChange={(e,pre) => { this.setState({ cooperationSituation: e.target.value })}} disabled={true}/>
|
|
onChange={(e,pre) => { this.setState({ cooperationSituation: e.target.value })}} disabled={true}/>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
</Spin>
|
|
</Spin>
|
|
- </Form>
|
|
|
|
-
|
|
|
|
|
|
+ </Form>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</TabPane>
|
|
</TabPane>
|
|
<TabPane tab="知识产权列表" key="1">
|
|
<TabPane tab="知识产权列表" key="1">
|
|
@@ -1285,20 +1329,20 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
</Spin>
|
|
</Spin>
|
|
</TabPane>
|
|
</TabPane>
|
|
</Tabs>
|
|
</Tabs>
|
|
- </Modal>
|
|
|
|
|
|
+ </Modal>
|
|
<TechAchievementDesc
|
|
<TechAchievementDesc
|
|
data={this.state.RowData}
|
|
data={this.state.RowData}
|
|
detailApiUrl={this.props['data-detailApiUrl']}
|
|
detailApiUrl={this.props['data-detailApiUrl']}
|
|
achievementCategoryOption={this.state.achievementCategoryOption}
|
|
achievementCategoryOption={this.state.achievementCategoryOption}
|
|
showDesc={this.state.showDesc}
|
|
showDesc={this.state.showDesc}
|
|
uid={this.state.uid}
|
|
uid={this.state.uid}
|
|
- closeDesc={this.closeDesc}
|
|
|
|
|
|
+ closeDesc={this.closeDesc}
|
|
loadDatas={this.loadDatas}
|
|
loadDatas={this.loadDatas}
|
|
/>
|
|
/>
|
|
-
|
|
|
|
|
|
+
|
|
</div >
|
|
</div >
|
|
-
|
|
|
|
|
|
+
|
|
);
|
|
);
|
|
}
|
|
}
|
|
}));
|
|
}));
|
|
-export default IntentionCustomer;
|
|
|
|
|
|
+export default IntentionCustomer;
|