|
@@ -1,5 +1,5 @@
|
|
|
import React from 'react';
|
|
|
-import {Button, Input, Spin, Table, message, DatePicker, Upload, Form, Modal, Tabs, Select, Tag, Tooltip} from 'antd';
|
|
|
+import { Button, Input, Spin, Table, message, DatePicker, Upload, Form, Modal, Tabs, Select, Tag, Tooltip } from 'antd';
|
|
|
import $ from 'jquery/src/ajax';
|
|
|
import moment from 'moment';
|
|
|
import {
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
import ShowModalDiv from "@/showModal.jsx";
|
|
|
import ResolutionDetail from "@/resolutionDetail";
|
|
|
import OrderRiZi from "@/orderRiZi.jsx";
|
|
|
-import {ChooseList} from "../../order/orderNew/chooseList";
|
|
|
+import { ChooseList } from "../../order/orderNew/chooseList";
|
|
|
import PatentSchedule from './patentSchedule';
|
|
|
import DeclarationProgress from "../../../common/declarationProgress";
|
|
|
import ProjectDetailsReadOnly from "../../../common/projectDetailsReadOnly";
|
|
|
import OrderItemStatus from "../../../common/orderItemStatus";
|
|
|
import EnterpriseNameChange from "../../../common/enterpriseNameChange";
|
|
|
|
|
|
-const {TabPane} = Tabs
|
|
|
+const { TabPane } = Tabs
|
|
|
|
|
|
const IntentionCustomer = Form.create()(
|
|
|
React.createClass({
|
|
@@ -59,7 +59,7 @@ const IntentionCustomer = Form.create()(
|
|
|
depId: this.state.departmenttList, //部门ID
|
|
|
outsource: this.state.outsourceSearch
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
if (data.error.length || data.data.list == "") {
|
|
|
if (data.error && data.error.length) {
|
|
@@ -108,7 +108,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loadingA: false
|
|
|
});
|
|
@@ -132,7 +132,7 @@ const IntentionCustomer = Form.create()(
|
|
|
depId: this.state.departmenttList, //部门ID
|
|
|
outsource: this.state.outsourceSearch
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
if (data.error.length || data.data.list == "") {
|
|
|
if (data.error && data.error.length) {
|
|
@@ -158,7 +158,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loadingA: false
|
|
|
});
|
|
@@ -172,7 +172,7 @@ const IntentionCustomer = Form.create()(
|
|
|
page: 1,
|
|
|
releaseDate: [],
|
|
|
selectedRowKeys: [],
|
|
|
- timeRecordparse:{},
|
|
|
+ timeRecordparse: {},
|
|
|
orgCodeUrl: [],
|
|
|
declarationBatch: 1,
|
|
|
dataInfor: {},
|
|
@@ -183,10 +183,10 @@ const IntentionCustomer = Form.create()(
|
|
|
defaultPageSize: 10,
|
|
|
showQuickJumper: true,
|
|
|
pageSize: 10,
|
|
|
- onChange: function(page) {
|
|
|
+ onChange: function (page) {
|
|
|
this.loadData(page);
|
|
|
}.bind(this),
|
|
|
- showTotal: function(total) {
|
|
|
+ showTotal: function (total) {
|
|
|
return "共" + total + "条数据";
|
|
|
}
|
|
|
},
|
|
@@ -219,14 +219,14 @@ const IntentionCustomer = Form.create()(
|
|
|
key: "userName",
|
|
|
render: text => {
|
|
|
return (
|
|
|
- <Tooltip title={text}>
|
|
|
- <div style={{
|
|
|
- maxWidth:'150px',
|
|
|
- overflow:'hidden',
|
|
|
- textOverflow: "ellipsis",
|
|
|
- whiteSpace:'nowrap',
|
|
|
- }}>{text}</div>
|
|
|
- </Tooltip>
|
|
|
+ <Tooltip title={text}>
|
|
|
+ <div style={{
|
|
|
+ maxWidth: '150px',
|
|
|
+ overflow: 'hidden',
|
|
|
+ textOverflow: "ellipsis",
|
|
|
+ whiteSpace: 'nowrap',
|
|
|
+ }}>{text}</div>
|
|
|
+ </Tooltip>
|
|
|
)
|
|
|
}
|
|
|
},
|
|
@@ -339,9 +339,9 @@ const IntentionCustomer = Form.create()(
|
|
|
key: "commodityName",
|
|
|
render: (text, record) => {
|
|
|
return (
|
|
|
- <span>{text}<span style={{ color: "red" }}>{record.patentTypeName}</span></span>
|
|
|
+ <span>{text}<span style={{ color: "red" }}>{record.patentTypeName}</span></span>
|
|
|
)
|
|
|
- }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: "项目类别",
|
|
@@ -397,11 +397,54 @@ const IntentionCustomer = Form.create()(
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ title: "总年限",
|
|
|
+ dataIndex: "yearSum",
|
|
|
+ key: "yearSum",
|
|
|
+ render: (text, record) => {
|
|
|
+ return (
|
|
|
+ <div>{["", "一年", "二年", "三年", "四年", "五年"][text]}</div>
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "年限",
|
|
|
+ dataIndex: "serviceLife",
|
|
|
+ key: "serviceLife",
|
|
|
+ render: (text, record) => {
|
|
|
+ return (
|
|
|
+ !!text && JSON.parse(text).map(item =>
|
|
|
+ <div>{item}</div>
|
|
|
+ )
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "本次派单",
|
|
|
+ dataIndex: "serviceYear",
|
|
|
+ key: "serviceYear",
|
|
|
+ render: (text, record) => {
|
|
|
+ return (
|
|
|
+ <div>{!text ? "" : text}</div>
|
|
|
+ );
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
title: "项目说明",
|
|
|
dataIndex: "taskComment",
|
|
|
key: "taskComment",
|
|
|
render: text => {
|
|
|
- return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
|
|
|
+ return (
|
|
|
+ <Tooltip title={text}>
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ width: 100,
|
|
|
+ overflow: "hidden",
|
|
|
+ whiteSpace: "nowrap",
|
|
|
+ textOverflow: "ellipsis",
|
|
|
+ }}
|
|
|
+ >{text}</div>
|
|
|
+ </Tooltip>
|
|
|
+ )
|
|
|
}
|
|
|
}
|
|
|
],
|
|
@@ -462,7 +505,7 @@ const IntentionCustomer = Form.create()(
|
|
|
crossDomain: false,
|
|
|
url: globalConfig.context + "/api/admin/organization/selectSuperId",
|
|
|
data: {},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let thedata = data.data;
|
|
|
let theArr = [];
|
|
|
if (!thedata) {
|
|
@@ -470,7 +513,7 @@ const IntentionCustomer = Form.create()(
|
|
|
message.warning(data.error[0].message);
|
|
|
}
|
|
|
} else {
|
|
|
- thedata.map(function(item, index) {
|
|
|
+ thedata.map(function (item, index) {
|
|
|
theArr.push({
|
|
|
key: index,
|
|
|
name: item.name,
|
|
@@ -483,7 +526,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -530,7 +573,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
id: id
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
if (data.error.length || data.data.list == "") {
|
|
|
if (data.error && data.error.length) {
|
|
|
message.warning(data.error[0].message);
|
|
@@ -553,10 +596,10 @@ const IntentionCustomer = Form.create()(
|
|
|
taskComment: thisdata.taskComment, //说明
|
|
|
attachmentUrl: thisdata.attachmentUrl
|
|
|
? splitUrl(
|
|
|
- thisdata.attachmentUrl,
|
|
|
- ",",
|
|
|
- globalConfig.avatarHost + "/upload"
|
|
|
- )
|
|
|
+ thisdata.attachmentUrl,
|
|
|
+ ",",
|
|
|
+ globalConfig.avatarHost + "/upload"
|
|
|
+ )
|
|
|
: [], //图片地址
|
|
|
salesmanName: thisdata.salesmanName, //订单负责人
|
|
|
startDate: thisdata.startDate, //启动日期
|
|
@@ -586,7 +629,7 @@ const IntentionCustomer = Form.create()(
|
|
|
splitSuper: thisdata.splitSuper,
|
|
|
splitId: thisdata.splitId,
|
|
|
declarationBatch: thisdata.declarationBatch,
|
|
|
- bpType:thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新 6商标
|
|
|
+ bpType: thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新 6商标
|
|
|
cSort: thisdata.sort,
|
|
|
specialComment: thisdata.specialComment,
|
|
|
urgentDay: thisdata.urgentDay, //有无材料
|
|
@@ -595,16 +638,16 @@ const IntentionCustomer = Form.create()(
|
|
|
setUpStatus: thisdata.setUpStatus,
|
|
|
setUpTime: thisdata.setUpTime,
|
|
|
highTechStatus: thisdata.highTechStatus,
|
|
|
- acceptCount:thisdata.acceptCount, //受理数
|
|
|
- certificatesCount:thisdata.certificatesCount, //授权数
|
|
|
- rejectCount:thisdata.rejectCount, //驳回数
|
|
|
- commodityQuantity:thisdata.commodityQuantity, //派单项目数
|
|
|
+ acceptCount: thisdata.acceptCount, //受理数
|
|
|
+ certificatesCount: thisdata.certificatesCount, //授权数
|
|
|
+ rejectCount: thisdata.rejectCount, //驳回数
|
|
|
+ commodityQuantity: thisdata.commodityQuantity, //派单项目数
|
|
|
timeRecordparse: thisdata.timeRecord ? JSON.parse(thisdata.timeRecord) : {},//项目状态JSON
|
|
|
});
|
|
|
}
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -622,7 +665,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
orderNo: orderNos
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let thisdata = data.data;
|
|
|
let ProvinceCityArr = [];
|
|
|
let ProvinceS = thisdata.locationProvince; //省
|
|
@@ -655,12 +698,12 @@ const IntentionCustomer = Form.create()(
|
|
|
ProvinceCity: ProvinceCityArr,
|
|
|
postalAddress: thisdata.postalAddress, //详细地址
|
|
|
outsource: thisdata.outsource,
|
|
|
- deleteSign:thisdata.deleteSign,
|
|
|
+ deleteSign: thisdata.deleteSign,
|
|
|
});
|
|
|
}
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -679,7 +722,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
tid: record.id
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
let thisData = [];
|
|
|
if (!thisData) {
|
|
@@ -706,7 +749,7 @@ const IntentionCustomer = Form.create()(
|
|
|
}
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -726,7 +769,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
id: this.state.id
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
|
|
|
if (data.error.length || data.data.list == "") {
|
|
@@ -751,7 +794,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -775,7 +818,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
orderNo: orderNos
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
|
|
|
if (data.error.length || data.data.list == "") {
|
|
@@ -794,7 +837,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -896,7 +939,7 @@ const IntentionCustomer = Form.create()(
|
|
|
taskComment: record.taskComment, //备注
|
|
|
main: record.main.toString(), //是否为主要
|
|
|
addnextVisible: true,
|
|
|
- dataInfor:record,
|
|
|
+ dataInfor: record,
|
|
|
addState: 0
|
|
|
});
|
|
|
},
|
|
@@ -954,7 +997,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
flag: 0
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
let thedata = data.data;
|
|
|
if (!thedata) {
|
|
@@ -979,7 +1022,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.loadData(this.state.ispage);
|
|
|
this.setState({
|
|
|
loading: false
|
|
@@ -999,7 +1042,7 @@ const IntentionCustomer = Form.create()(
|
|
|
data: {
|
|
|
orderNo: this.state.orderNo
|
|
|
},
|
|
|
- success: function(data) {
|
|
|
+ success: function (data) {
|
|
|
let theArr = [];
|
|
|
let thisData = data.data;
|
|
|
if (!thisData.length) {
|
|
@@ -1023,7 +1066,7 @@ const IntentionCustomer = Form.create()(
|
|
|
});
|
|
|
}.bind(this)
|
|
|
}).always(
|
|
|
- function() {
|
|
|
+ function () {
|
|
|
this.setState({
|
|
|
loading: false
|
|
|
});
|
|
@@ -1060,7 +1103,7 @@ const IntentionCustomer = Form.create()(
|
|
|
wrapperCol: { span: 14 }
|
|
|
};
|
|
|
const utils = {
|
|
|
- getSatisfaction: function(num) {
|
|
|
+ getSatisfaction: function (num) {
|
|
|
switch (num) {
|
|
|
case 0:
|
|
|
return "未收回";
|
|
@@ -1070,7 +1113,7 @@ const IntentionCustomer = Form.create()(
|
|
|
return "其它";
|
|
|
}
|
|
|
},
|
|
|
- getChargeback: function(num) {
|
|
|
+ getChargeback: function (num) {
|
|
|
switch (num) {
|
|
|
case 0:
|
|
|
return "已完成";
|
|
@@ -1233,11 +1276,11 @@ const IntentionCustomer = Form.create()(
|
|
|
<TabPane tab="更改表格显示数据" key="3">
|
|
|
<div style={{ marginLeft: 10 }}>
|
|
|
<ChooseList
|
|
|
- columns={this.state.columns}
|
|
|
- changeFn={this.changeList}
|
|
|
- changeList={this.state.changeList}
|
|
|
- top={55}
|
|
|
- margin={11}
|
|
|
+ columns={this.state.columns}
|
|
|
+ changeFn={this.changeList}
|
|
|
+ changeList={this.state.changeList}
|
|
|
+ top={55}
|
|
|
+ margin={11}
|
|
|
/>
|
|
|
</div>
|
|
|
</TabPane>
|
|
@@ -1247,8 +1290,8 @@ const IntentionCustomer = Form.create()(
|
|
|
<Table
|
|
|
columns={
|
|
|
this.state.changeList
|
|
|
- ? this.state.changeList
|
|
|
- : this.state.columns
|
|
|
+ ? this.state.changeList
|
|
|
+ : this.state.columns
|
|
|
}
|
|
|
dataSource={this.state.dataSource}
|
|
|
pagination={this.state.pagination}
|
|
@@ -1277,21 +1320,21 @@ const IntentionCustomer = Form.create()(
|
|
|
>
|
|
|
<Spin spinning={this.state.loading}>
|
|
|
<div className="clearfix">
|
|
|
- <div style={{position:"absolute",top:'-52px',left:'81px',zIndex:10000}}>
|
|
|
- <OrderItemStatus deleteSign={this.state.deleteSign}/>
|
|
|
+ <div style={{ position: "absolute", top: '-52px', left: '81px', zIndex: 10000 }}>
|
|
|
+ <OrderItemStatus deleteSign={this.state.deleteSign} />
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="项目状态"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="项目状态"
|
|
|
>
|
|
|
<span>{getProjectName(parseInt(this.state.projectStatus))}</span>
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- style={{ marginTop: '5px', position: 'absolute' }}
|
|
|
- onClick={this.caozuorizhi}
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ style={{ marginTop: '5px', position: 'absolute' }}
|
|
|
+ onClick={this.caozuorizhi}
|
|
|
>
|
|
|
操作日志
|
|
|
</Button>
|
|
@@ -1348,9 +1391,9 @@ const IntentionCustomer = Form.create()(
|
|
|
</FormItem>
|
|
|
{
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="(满意度)备注"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="(满意度)备注"
|
|
|
>
|
|
|
<span>{this.state.retrieveContent}</span>
|
|
|
</FormItem>
|
|
@@ -1367,14 +1410,14 @@ const IntentionCustomer = Form.create()(
|
|
|
<div style={{
|
|
|
paddingLeft: '8%',
|
|
|
}}>
|
|
|
- <div style={{color:'#000',fontWeight:500}}>
|
|
|
+ <div style={{ color: '#000', fontWeight: 500 }}>
|
|
|
特别说明
|
|
|
- <span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
|
|
|
+ <span style={{ color: '#58a3ff', }}>(针对项目的特殊情况说明)</span>
|
|
|
</div>
|
|
|
<div style={{
|
|
|
- display:'flex',
|
|
|
+ display: 'flex',
|
|
|
}}>
|
|
|
- <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
|
|
|
+ <span style={{ paddingRight: '10px', whiteSpace: "nowrap" }}>备注:</span>
|
|
|
<span style={{
|
|
|
flex: 1,
|
|
|
wordBreak: 'break-all',
|
|
@@ -1397,44 +1440,44 @@ const IntentionCustomer = Form.create()(
|
|
|
{/*贯标需要显示*/}
|
|
|
{
|
|
|
this.state.isIso ?
|
|
|
- <div>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="认证费"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {
|
|
|
- this.state.ifCertificationFee === 1 ? '包含' : '不包含'
|
|
|
- }
|
|
|
- </span>
|
|
|
- </FormItem>
|
|
|
- {this.state.ifCertificationFee === 1 ?<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="认证费(万元)"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {
|
|
|
- this.state.certificationFee
|
|
|
- }
|
|
|
- </span>
|
|
|
- </FormItem> : null}
|
|
|
- {this.state.ifCertificationFee === 1 ? <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label=""
|
|
|
- /> : null}
|
|
|
- {this.state.ifCertificationFee === 1 ? <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="付款公司名称"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {this.state.certificationCorporate}
|
|
|
- </span>
|
|
|
- </FormItem>:null}
|
|
|
- </div> : null
|
|
|
+ <div>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="认证费"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {
|
|
|
+ this.state.ifCertificationFee === 1 ? '包含' : '不包含'
|
|
|
+ }
|
|
|
+ </span>
|
|
|
+ </FormItem>
|
|
|
+ {this.state.ifCertificationFee === 1 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="认证费(万元)"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {
|
|
|
+ this.state.certificationFee
|
|
|
+ }
|
|
|
+ </span>
|
|
|
+ </FormItem> : null}
|
|
|
+ {this.state.ifCertificationFee === 1 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label=""
|
|
|
+ /> : null}
|
|
|
+ {this.state.ifCertificationFee === 1 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="付款公司名称"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {this.state.certificationCorporate}
|
|
|
+ </span>
|
|
|
+ </FormItem> : null}
|
|
|
+ </div> : null
|
|
|
}
|
|
|
<FormItem
|
|
|
className="half-item"
|
|
@@ -1507,9 +1550,9 @@ const IntentionCustomer = Form.create()(
|
|
|
>
|
|
|
<span>{this.state.userName}</span>
|
|
|
<EnterpriseNameChange
|
|
|
- type='journal'
|
|
|
- style={{ marginLeft: 10 }}
|
|
|
- enterpriseId={this.state.orderUid}/>
|
|
|
+ type='journal'
|
|
|
+ style={{ marginLeft: 10 }}
|
|
|
+ enterpriseId={this.state.orderUid} />
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
|
className="half-item"
|
|
@@ -1673,94 +1716,94 @@ const IntentionCustomer = Form.create()(
|
|
|
<div className="clearfix">
|
|
|
<h3 className="sub-title">项目申报进度</h3>
|
|
|
<DeclarationProgress
|
|
|
- timeRecordparse={this.state.timeRecordparse}
|
|
|
- startDate={this.state.startDate}
|
|
|
- taskDate={this.state.taskDate}
|
|
|
- list={[
|
|
|
- {id:4,name:'完成时间',value:this.state.endDate},
|
|
|
- {id:6,name:'受理时间',value:this.state.acceptDate},
|
|
|
- {id:8,name:'公示时间',value:this.state.publicityDate},
|
|
|
- {id:10,name:'发证时间',value:this.state.licenceDate},
|
|
|
- {id:15,name:'立项金额',value:this.state.setUpAmount}
|
|
|
- ]}/>
|
|
|
+ timeRecordparse={this.state.timeRecordparse}
|
|
|
+ startDate={this.state.startDate}
|
|
|
+ taskDate={this.state.taskDate}
|
|
|
+ list={[
|
|
|
+ { id: 4, name: '完成时间', value: this.state.endDate },
|
|
|
+ { id: 6, name: '受理时间', value: this.state.acceptDate },
|
|
|
+ { id: 8, name: '公示时间', value: this.state.publicityDate },
|
|
|
+ { id: 10, name: '发证时间', value: this.state.licenceDate },
|
|
|
+ { id: 15, name: '立项金额', value: this.state.setUpAmount }
|
|
|
+ ]} />
|
|
|
{/*专利显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
{
|
|
|
this.state.bpType === 1 || this.state.bpType === 6 ?
|
|
|
- <div>
|
|
|
- <FormItem
|
|
|
- labelCol={{ span: 3 }}
|
|
|
- wrapperCol={{ span: 16 }}
|
|
|
- label="是否高新企业"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {
|
|
|
- this.state.highTechStatus === 1 ? '是':
|
|
|
- this.state.highTechStatus === 0 ? '否' : ''
|
|
|
- }
|
|
|
- </span>
|
|
|
- </FormItem>
|
|
|
- <FormItem/>
|
|
|
- <PatentSchedule
|
|
|
- readOnly
|
|
|
- bpType={this.state.bpType}
|
|
|
- taskId={this.state.id}
|
|
|
- acceptCount={this.state.acceptCount}
|
|
|
- certificatesCount={this.state.certificatesCount}
|
|
|
- rejectCount={this.state.rejectCount}
|
|
|
- commodityQuantity={this.state.commodityQuantity}
|
|
|
- />
|
|
|
- </div> :
|
|
|
- <div>
|
|
|
- {/*高新显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
- {this.state.bpType === 5 ? <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="是否抽查">
|
|
|
- {
|
|
|
- this.state.spotCheckStatus === 0 ? '否':
|
|
|
- this.state.spotCheckStatus === 1 ? '是,未通过':
|
|
|
- this.state.spotCheckStatus === 2 ? '是,通过': ''
|
|
|
- }
|
|
|
- </FormItem> : null}
|
|
|
- <FormItem/>
|
|
|
- {this.state.bpType === 5 ? <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="是否立项"
|
|
|
- >
|
|
|
+ <div>
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 3 }}
|
|
|
+ wrapperCol={{ span: 16 }}
|
|
|
+ label="是否高新企业"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
{
|
|
|
- this.state.setUpStatus === 1 ? '是' :
|
|
|
- this.state.setUpStatus === 0 ? '否' : ''
|
|
|
+ this.state.highTechStatus === 1 ? '是' :
|
|
|
+ this.state.highTechStatus === 0 ? '否' : ''
|
|
|
}
|
|
|
- </FormItem> : null}
|
|
|
- {this.state.bpType === 5 ? <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label={this.state.setUpStatus === 1 ? "立项时间" : ''}
|
|
|
- >
|
|
|
- {this.state.setUpStatus === 1 ?this.state.setUpTime : null }
|
|
|
- </FormItem> : null}
|
|
|
- {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
- {/*cSort: 3 科技项目 6: 会员*/}
|
|
|
- {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="申报批次"
|
|
|
- >
|
|
|
- <span>{this.state.declarationBatch}</span>
|
|
|
- </FormItem>}
|
|
|
- {/*只有科技项目才有是否到款*/}
|
|
|
- {/*cSort: 3 科技项目 6: 会员*/}
|
|
|
- {this.state.cSort === 3 && <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="是否到款"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {this.state.arrivalMoney ? "已到企业" : "未到企业"}
|
|
|
- </span>
|
|
|
- </FormItem>}
|
|
|
- </div>}
|
|
|
+ </span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem />
|
|
|
+ <PatentSchedule
|
|
|
+ readOnly
|
|
|
+ bpType={this.state.bpType}
|
|
|
+ taskId={this.state.id}
|
|
|
+ acceptCount={this.state.acceptCount}
|
|
|
+ certificatesCount={this.state.certificatesCount}
|
|
|
+ rejectCount={this.state.rejectCount}
|
|
|
+ commodityQuantity={this.state.commodityQuantity}
|
|
|
+ />
|
|
|
+ </div> :
|
|
|
+ <div>
|
|
|
+ {/*高新显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否抽查">
|
|
|
+ {
|
|
|
+ this.state.spotCheckStatus === 0 ? '否' :
|
|
|
+ this.state.spotCheckStatus === 1 ? '是,未通过' :
|
|
|
+ this.state.spotCheckStatus === 2 ? '是,通过' : ''
|
|
|
+ }
|
|
|
+ </FormItem> : null}
|
|
|
+ <FormItem />
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否立项"
|
|
|
+ >
|
|
|
+ {
|
|
|
+ this.state.setUpStatus === 1 ? '是' :
|
|
|
+ this.state.setUpStatus === 0 ? '否' : ''
|
|
|
+ }
|
|
|
+ </FormItem> : null}
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label={this.state.setUpStatus === 1 ? "立项时间" : ''}
|
|
|
+ >
|
|
|
+ {this.state.setUpStatus === 1 ? this.state.setUpTime : null}
|
|
|
+ </FormItem> : null}
|
|
|
+ {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
+ {/*cSort: 3 科技项目 6: 会员*/}
|
|
|
+ {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="申报批次"
|
|
|
+ >
|
|
|
+ <span>{this.state.declarationBatch}</span>
|
|
|
+ </FormItem>}
|
|
|
+ {/*只有科技项目才有是否到款*/}
|
|
|
+ {/*cSort: 3 科技项目 6: 会员*/}
|
|
|
+ {this.state.cSort === 3 && <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否到款"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {this.state.arrivalMoney ? "已到企业" : "未到企业"}
|
|
|
+ </span>
|
|
|
+ </FormItem>}
|
|
|
+ </div>}
|
|
|
</div>
|
|
|
{this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
|
|
|
<FormItem
|
|
@@ -1864,20 +1907,20 @@ const IntentionCustomer = Form.create()(
|
|
|
className="admin-desc-content"
|
|
|
>
|
|
|
<div className="clearfix">
|
|
|
- <div style={{position:"absolute",top:'-52px',left:'81px',zIndex:10000}}>
|
|
|
- <OrderItemStatus deleteSign={this.state.deleteSign}/>
|
|
|
+ <div style={{ position: "absolute", top: '-52px', left: '81px', zIndex: 10000 }}>
|
|
|
+ <OrderItemStatus deleteSign={this.state.deleteSign} />
|
|
|
</div>
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="项目状态"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="项目状态"
|
|
|
>
|
|
|
<span>{getProjectName(parseInt(this.state.projectStatus))}</span>
|
|
|
<Button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- style={{ marginTop: '5px', position: 'absolute' }}
|
|
|
- onClick={this.caozuorizhi}
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ style={{ marginTop: '5px', position: 'absolute' }}
|
|
|
+ onClick={this.caozuorizhi}
|
|
|
>
|
|
|
操作日志
|
|
|
</Button>
|
|
@@ -1932,9 +1975,9 @@ const IntentionCustomer = Form.create()(
|
|
|
</FormItem>
|
|
|
{
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="(满意度)备注"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="(满意度)备注"
|
|
|
>
|
|
|
<span>{this.state.retrieveContent}</span>
|
|
|
</FormItem>
|
|
@@ -1946,23 +1989,23 @@ const IntentionCustomer = Form.create()(
|
|
|
{/*软著显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
{this.state.bpType === 2 ? <div className="clearfix">
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="加急天数"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="加急天数"
|
|
|
>
|
|
|
{
|
|
|
this.state.urgentDay === 1 ? '是' :
|
|
|
- this.state.urgentDay === 0 ? '否' : ''
|
|
|
+ this.state.urgentDay === 0 ? '否' : ''
|
|
|
}
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="有无材料"
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="有无材料"
|
|
|
>
|
|
|
{
|
|
|
- this.state.ifMaterial === 1 ? '是':
|
|
|
- this.state.ifMaterial === 0 ? '否': ''
|
|
|
+ this.state.ifMaterial === 1 ? '是' :
|
|
|
+ this.state.ifMaterial === 0 ? '否' : ''
|
|
|
}
|
|
|
</FormItem>
|
|
|
</div> : null}
|
|
@@ -1970,14 +2013,14 @@ const IntentionCustomer = Form.create()(
|
|
|
<div style={{
|
|
|
paddingLeft: '8%',
|
|
|
}}>
|
|
|
- <div style={{color:'#000',fontWeight:500}}>
|
|
|
+ <div style={{ color: '#000', fontWeight: 500 }}>
|
|
|
特别说明
|
|
|
- <span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
|
|
|
+ <span style={{ color: '#58a3ff', }}>(针对项目的特殊情况说明)</span>
|
|
|
</div>
|
|
|
<div style={{
|
|
|
- display:'flex',
|
|
|
+ display: 'flex',
|
|
|
}}>
|
|
|
- <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
|
|
|
+ <span style={{ paddingRight: '10px', whiteSpace: "nowrap" }}>备注:</span>
|
|
|
<span style={{
|
|
|
flex: 1,
|
|
|
wordBreak: 'break-all',
|
|
@@ -2046,9 +2089,9 @@ const IntentionCustomer = Form.create()(
|
|
|
>
|
|
|
<span>{this.state.userName}</span>
|
|
|
<EnterpriseNameChange
|
|
|
- type='journal'
|
|
|
- style={{ marginLeft: 10 }}
|
|
|
- enterpriseId={this.state.orderUid}/>
|
|
|
+ type='journal'
|
|
|
+ style={{ marginLeft: 10 }}
|
|
|
+ enterpriseId={this.state.orderUid} />
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
|
className="half-item"
|
|
@@ -2195,19 +2238,19 @@ const IntentionCustomer = Form.create()(
|
|
|
<div className="clearfix">
|
|
|
<h3 className="sub-title">项目申报进度</h3>
|
|
|
<DeclarationProgress
|
|
|
- timeRecordparse={this.state.timeRecordparse}
|
|
|
- startDate={this.state.startDate}
|
|
|
- taskDate={this.state.taskDate}
|
|
|
- list={[
|
|
|
- {id:4,name:'完成时间',value:this.state.endDate},
|
|
|
- {id:6,name:'受理时间',value:this.state.acceptDate},
|
|
|
- {id:8,name:'公示时间',value:this.state.publicityDate},
|
|
|
- {id:10,name:'发证时间',value:this.state.licenceDate},
|
|
|
- {id:15,name:'立项金额',value:this.state.setUpAmount}
|
|
|
- ]}/>
|
|
|
+ timeRecordparse={this.state.timeRecordparse}
|
|
|
+ startDate={this.state.startDate}
|
|
|
+ taskDate={this.state.taskDate}
|
|
|
+ list={[
|
|
|
+ { id: 4, name: '完成时间', value: this.state.endDate },
|
|
|
+ { id: 6, name: '受理时间', value: this.state.acceptDate },
|
|
|
+ { id: 8, name: '公示时间', value: this.state.publicityDate },
|
|
|
+ { id: 10, name: '发证时间', value: this.state.licenceDate },
|
|
|
+ { id: 15, name: '立项金额', value: this.state.setUpAmount }
|
|
|
+ ]} />
|
|
|
{/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
|
|
|
{/*cSort: 3 科技项目 6: 会员*/}
|
|
|
- {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
|
|
|
+ {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
|
|
|
className="half-item"
|
|
|
{...formItemLayout}
|
|
|
label="申报批次"
|
|
@@ -2264,9 +2307,9 @@ const IntentionCustomer = Form.create()(
|
|
|
</div>
|
|
|
</Modal>
|
|
|
{this.state.addnextVisible && <ProjectDetailsReadOnly
|
|
|
- infor={this.state.dataInfor}
|
|
|
- visible={this.state.addnextVisible}
|
|
|
- onCancel={this.nextCancel}
|
|
|
+ infor={this.state.dataInfor}
|
|
|
+ visible={this.state.addnextVisible}
|
|
|
+ onCancel={this.nextCancel}
|
|
|
/>}
|
|
|
</div>
|
|
|
);
|