projectDetails.jsx 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  1. import React,{Component} from 'react';
  2. import {Button, Form, Input, message, Modal, Spin, Table, Tabs, Tag,Tooltip} from "antd";
  3. import PatentSchedule from "../task/patentSchedule";
  4. import ImgList from "../../../common/imgList";
  5. import OrderDetail from "../../order/orderNew/changeComponent/orderDetail";
  6. import {
  7. getProcessStatus,
  8. getApproval,
  9. getTaskStatus,
  10. getLiquidationStatus,
  11. splitUrl,
  12. getProjectStatus,
  13. getboutique,
  14. getprovince,
  15. ShowModal,
  16. getProjectName
  17. } from "@/tools";
  18. import OrderRiZi from "@/orderRiZi.jsx";
  19. import $ from "jquery";
  20. import DeclarationProgress from "../../../common/declarationProgress";
  21. import OrderItemStatus from "../../../common/orderItemStatus";
  22. import EnterpriseNameChange from "../../../common/enterpriseNameChange";
  23. const FormItem =Form.Item;
  24. const {TabPane} = Tabs;
  25. const formItemLayout = {
  26. labelCol: { span: 8 },
  27. wrapperCol: { span: 14 },
  28. };
  29. const utils = {
  30. getSatisfaction: function (num) {
  31. switch (num) {
  32. case 0:
  33. return "未收回";
  34. case 1:
  35. return "已收回";
  36. default:
  37. return "其它";
  38. }
  39. },
  40. getChargeback: function (num) {
  41. switch (num) {
  42. case 0:
  43. return "已完成";
  44. case 1:
  45. return "未完成";
  46. default:
  47. return "其它";
  48. }
  49. },
  50. };
  51. class ProjectDetails extends Component{
  52. constructor(props) {
  53. super(props);
  54. this.state={
  55. timeRecordparse:{},
  56. activeKey: '1',
  57. loading: false,
  58. orderData: [],
  59. orderNo: "",
  60. jiedian: [],
  61. jiedianNew: [],
  62. searchMore: true,
  63. assignVisible: false,
  64. releaseDate: [],
  65. roleName: "",
  66. testFlag: true,
  67. departmentArr: [],
  68. boHuivisible: false,
  69. selectedRowKeys: [],
  70. selectedRows: [],
  71. paginations: false,
  72. pagination: {
  73. defaultCurrent: 1,
  74. defaultPageSize: 10,
  75. showQuickJumper: true,
  76. pageSize: 10,
  77. onChange: function (page) {
  78. this.loadData(page);
  79. }.bind(this),
  80. showTotal: function (total) {
  81. return "共" + total + "条数据";
  82. },
  83. },
  84. columns: [
  85. {
  86. title: "项目编号",
  87. dataIndex: "id",
  88. key: "id",
  89. render: (text, record) => {
  90. if (record.splitStatus == 2) {
  91. return <span>{record.splitSuper + "-" + record.splitId}</span>;
  92. } else {
  93. return text;
  94. }
  95. },
  96. },
  97. {
  98. title: "任务名称",
  99. dataIndex: "taskName",
  100. key: "taskName",
  101. className: "taskName",
  102. },
  103. {
  104. title: "订单编号",
  105. dataIndex: "orderNo",
  106. key: "orderNo",
  107. },
  108. {
  109. title: "业务类别",
  110. dataIndex: "cname",
  111. key: "cname",
  112. },
  113. {
  114. title: "客户名称",
  115. dataIndex: "userName",
  116. key: "userName",
  117. className: "userName",
  118. width: 150,
  119. render: (text) => {
  120. return (
  121. <Tooltip title={text}>
  122. <div style={{
  123. maxWidth:'150px',
  124. overflow:'hidden',
  125. textOverflow: "ellipsis",
  126. whiteSpace:'nowrap',
  127. }}>{text}</div>
  128. </Tooltip>
  129. )
  130. },
  131. },
  132. {
  133. title: "任务状态",
  134. dataIndex: "taskStatus",
  135. key: "taskStatus",
  136. render: (text) => {
  137. return getTaskStatus(text);
  138. },
  139. },
  140. {
  141. title: "项目状态",
  142. dataIndex: "projectStatus",
  143. key: "projectStatus",
  144. render: (text) => {
  145. return getProjectStatus(text);
  146. },
  147. },
  148. {
  149. title: "分配时间",
  150. dataIndex: "taskDate",
  151. key: "taskDate",
  152. },
  153. {
  154. title: "任务数量",
  155. dataIndex: "commodityQuantity",
  156. key: "commodityQuantity",
  157. },
  158. {
  159. title: "任务责任人",
  160. dataIndex: "receiverName",
  161. key: "receiverName",
  162. },
  163. {
  164. title: "订单部门",
  165. dataIndex: "depName",
  166. key: "depName",
  167. },
  168. ],
  169. dataSource: [],
  170. searchTime: [],
  171. columnsX: [
  172. {
  173. title: "业务项目名称",
  174. dataIndex: "commodityName",
  175. key: "commodityName",
  176. },
  177. {
  178. title: "项目类别",
  179. dataIndex: "cname",
  180. key: "cname",
  181. },
  182. {
  183. title: "项目数量",
  184. dataIndex: "commodityQuantity",
  185. key: "commodityQuantity",
  186. render: (text, record) => {
  187. if (record.splitStatus == 1) {
  188. return (
  189. <span>
  190. {text}{" "}
  191. <Tag
  192. color="#108ee9"
  193. onClick={(e) => {
  194. e.stopPropagation();
  195. this.showRes(record);
  196. }}
  197. >
  198. 已拆
  199. </Tag>
  200. </span>
  201. );
  202. } else {
  203. return text;
  204. }
  205. },
  206. },
  207. {
  208. title: "金额(万元)",
  209. dataIndex: "commodityPrice",
  210. key: "commodityPrice",
  211. render: (text, record) => {
  212. return (
  213. <span>
  214. {this.props.isZxs || text === -1 ? '***' : text}
  215. </span>
  216. )
  217. }
  218. },
  219. {
  220. title: "负责人",
  221. dataIndex: "contacts",
  222. key: "contacts",
  223. },
  224. {
  225. title: "负责人电话",
  226. dataIndex: "contactsMobile",
  227. key: "contactsMobile",
  228. },
  229. {
  230. title: "主要项目",
  231. dataIndex: "main",
  232. key: "main",
  233. render: (text) => {
  234. return text ? "是" : "否";
  235. },
  236. },
  237. {
  238. title: "项目说明",
  239. dataIndex: "taskComment",
  240. key: "taskComment",
  241. render: (text) => {
  242. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  243. },
  244. },
  245. ],
  246. columnsA: [
  247. {
  248. title: "流程",
  249. dataIndex: "content",
  250. key: "content",
  251. align: "center",
  252. },
  253. {
  254. title: "操作人",
  255. dataIndex: "aName",
  256. key: "aName",
  257. align: "center",
  258. },
  259. {
  260. title: "时间",
  261. dataIndex: "createTimes",
  262. key: "createTimes",
  263. align: "center",
  264. },
  265. ],
  266. dataSourceX: [],
  267. dataSourceA: [],
  268. ContactsLists: [
  269. {
  270. title: "批次",
  271. dataIndex: "num",
  272. key: "num",
  273. },
  274. {
  275. title: "下证时间",
  276. dataIndex: "licenceTimes",
  277. key: "licenceTimes",
  278. },
  279. {
  280. title: "下证数量",
  281. dataIndex: "alreadyNumber",
  282. key: "alreadyNumber",
  283. },
  284. {
  285. title: "未下证数量",
  286. dataIndex: "notCount",
  287. key: "notCount",
  288. },
  289. ],
  290. displayFees: "none",
  291. costReduction: '',
  292. officialCost: '',
  293. isSoftware: false,
  294. }
  295. this.orderChange = this.orderChange.bind(this);
  296. this.caozuorizhi = this.caozuorizhi.bind(this);
  297. this.getOrderLog = this.getOrderLog.bind(this);
  298. this.rizhi = this.rizhi.bind(this);
  299. }
  300. orderChange(key){
  301. this.setState({
  302. activeKey: key,
  303. });
  304. if (key === '2') {
  305. this.orderDetailData(this.props.orderNo);
  306. this.xiangmu(this.props.orderNo);
  307. this.jiedian(this.props.orderNo);
  308. this.jiedianNew(this.props.orderNo);
  309. }
  310. }
  311. caozuorizhi(){
  312. this.setState({
  313. visibleA: true,
  314. });
  315. $.ajax({
  316. method: "get",
  317. dataType: "json",
  318. crossDomain: false,
  319. url: globalConfig.context + "/api/admin/orderProject/TaskLogList",
  320. data: {
  321. id: this.props.id,
  322. },
  323. success: function (data) {
  324. let theArr = [];
  325. if (data.error.length || data.data.list == "") {
  326. if (data.error && data.error.length) {
  327. message.warning(data.error[0].message);
  328. }
  329. } else {
  330. for (let i = 0; i < data.data.length; i++) {
  331. let thisdata = data.data[i];
  332. theArr.push({
  333. key: i,
  334. id: thisdata.id, //日志ID
  335. content: thisdata.content, //流程
  336. taskId: thisdata.taskId, //任务ID
  337. aName: thisdata.aName, //负责人
  338. createTimes: thisdata.createTimes, //时间
  339. });
  340. }
  341. }
  342. this.setState({
  343. dataSourceA: theArr,
  344. });
  345. }.bind(this),
  346. }).always(
  347. function () {
  348. this.setState({
  349. loading: false,
  350. });
  351. }.bind(this)
  352. );
  353. }
  354. //节点列表
  355. jiedian(orderNos) {
  356. $.ajax({
  357. method: "get",
  358. dataType: "json",
  359. crossDomain: false,
  360. url: globalConfig.context + "/api/admin/newOrder/selectOrderDun",
  361. data: {
  362. orderNo: orderNos,
  363. },
  364. success: function (data) {
  365. let theArr = [];
  366. let thisData = [];
  367. if (data.error.length || data.data.list == "") {
  368. if (data.error && data.error.length) {
  369. message.warning(data.error[0].message);
  370. }
  371. } else {
  372. for (let i = 0; i < data.data.length; i++) {
  373. thisData = data.data[i];
  374. theArr.push({
  375. key: i,
  376. dunSubject: thisData.dunSubject
  377. ? thisData.dunSubject.toString()
  378. : "", //催款科目
  379. id: thisData.id, //节点Id
  380. money: thisData.money, //催款金额
  381. dunStatus: thisData.dunStatus, //催款状态
  382. });
  383. }
  384. this.setState({
  385. jiedian: theArr,
  386. });
  387. }
  388. }.bind(this),
  389. });
  390. }
  391. //部门
  392. departmentList() {
  393. this.setState({
  394. loading: true,
  395. });
  396. $.ajax({
  397. method: "get",
  398. dataType: "json",
  399. crossDomain: false,
  400. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  401. data: {},
  402. success: function (data) {
  403. let thedata = data.data;
  404. let theArr = [];
  405. if (!thedata) {
  406. if (data.error && data.error.length) {
  407. message.warning(data.error[0].message);
  408. }
  409. } else {
  410. thedata.map(function (item, index) {
  411. theArr.push({
  412. key: index,
  413. name: item.name,
  414. id: item.id,
  415. });
  416. });
  417. }
  418. this.setState({
  419. departmentArr: theArr,
  420. });
  421. }.bind(this),
  422. }).always(
  423. function () {
  424. this.setState({
  425. loading: false,
  426. });
  427. }.bind(this)
  428. );
  429. }
  430. //订单详情
  431. xiangqing(id) {
  432. $.ajax({
  433. method: "get",
  434. dataType: "json",
  435. crossDomain: false,
  436. url: globalConfig.context + "/api/admin/orderProject/orderTaskDetail",
  437. data: {
  438. id: id,
  439. },
  440. success: function (data) {
  441. if (data.error.length || data.data.list == "") {
  442. if (data.error && data.error.length) {
  443. message.warning(data.error[0].message);
  444. }
  445. } else {
  446. let thisdata = data.data;
  447. this.setState({
  448. certificationCorporate: thisdata.certificationCorporate,//认证费公司
  449. certificationFee: thisdata.certificationFee,//认证费
  450. ifCertificationFee: thisdata.ifCertificationFee,//是否包含认证费
  451. id: thisdata.id, //ID
  452. orderNo: thisdata.orderNo, //订单编号
  453. userName: thisdata.userName, //客户名称
  454. taskName: thisdata.taskName, //任务名称
  455. cname: thisdata.cname, //项目品类
  456. contractNo: thisdata.contractNo, //合同编号
  457. projectStatus: thisdata.projectStatus, //项目状态
  458. taskStatus: thisdata.taskStatus, //任务状态
  459. taskDate: thisdata.taskDate, //分配时间
  460. taskComment: thisdata.taskComment, //说明
  461. attachmentUrl: thisdata.attachmentUrl
  462. ? splitUrl(
  463. thisdata.attachmentUrl,
  464. ",",
  465. globalConfig.avatarHost + "/upload"
  466. )
  467. : [], //图片地址
  468. salesmanName: thisdata.salesmanName, //订单负责人
  469. startDate: thisdata.startDate, //启动日期
  470. endDate: thisdata.endDate, //结束日期
  471. acceptDate: thisdata.acceptDate, //受理日期
  472. reviewDate: thisdata.reviewDate, //评审日期
  473. publicityDate: thisdata.publicityDate, //公示日期
  474. licenceDate: thisdata.licenceDate, //发证日期
  475. contacts: thisdata.contacts, //联系人
  476. contactMobile: thisdata.contactMobile, //联系人电话
  477. legalPerson: thisdata.legalPerson, //法人
  478. legalPersonTel: thisdata.legalPersonTel, //法人电话
  479. certificateNumber: thisdata.certificateNumber, //证书编号
  480. status: thisdata.status, //状态
  481. formRetrieve: thisdata.formRetrieve, //满意度表格
  482. taskRefund: thisdata.taskRefund, //退单
  483. refundContent: thisdata.refundContent, //退单信息
  484. retrieveContent: thisdata.retrieveContent, //回收信息
  485. arrivalMoney: thisdata.arrivalMoney, //是否到款
  486. setUpAmount: thisdata.setUpAmount, //立项金额
  487. declareUser: thisdata.declareUser, //账号
  488. declarePwd: thisdata.declarePwd, //密码
  489. depName: thisdata.depName, //订单部门
  490. outsourceName: thisdata.outsourceName, //外包公司名称
  491. outsourcePrice: thisdata.outsourcePrice, //外包价格
  492. declarationBatch: thisdata.declarationBatch,
  493. bpType:thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新 6商标
  494. cSort: thisdata.sort,
  495. specialComment: thisdata.specialComment,
  496. urgentDay: thisdata.urgentDay, //有无材料
  497. ifMaterial: thisdata.ifMaterial, //加急情况
  498. spotCheckStatus: thisdata.spotCheckStatus,
  499. setUpStatus: thisdata.setUpStatus,
  500. setUpTime: thisdata.setUpTime,
  501. highTechStatus: thisdata.highTechStatus,
  502. acceptCount:thisdata.acceptCount, //受理数
  503. certificatesCount:thisdata.certificatesCount, //授权数
  504. rejectCount:thisdata.rejectCount, //驳回数
  505. commodityQuantity:thisdata.commodityQuantity, //派单项目数
  506. timeRecordparse: thisdata.timeRecord ? JSON.parse(thisdata.timeRecord) : {},//项目状态JSON
  507. });
  508. }
  509. }.bind(this),
  510. }).always(
  511. function () {
  512. this.setState({
  513. loading: false,
  514. });
  515. }.bind(this)
  516. );
  517. }
  518. //订单详情
  519. xiangqings(orderNos) {
  520. $.ajax({
  521. method: "get",
  522. dataType: "json",
  523. crossDomain: false,
  524. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  525. data: {
  526. orderNo: orderNos,
  527. },
  528. success: function (data) {
  529. let thisdata = data.data;
  530. let ProvinceCityArr = [];
  531. let ProvinceS = thisdata.locationProvince; //省
  532. let citys = thisdata.locationCity; //市
  533. let Areas = thisdata.locationArea; //区
  534. ProvinceCityArr.push(ProvinceS, citys, Areas);
  535. if (data.error.length || data.data.list == "") {
  536. if (data.error && data.error.length) {
  537. message.warning(data.error[0].message);
  538. }
  539. } else {
  540. this.setState({
  541. orderUid: thisdata.uid,
  542. processStatus: thisdata.processStatus, //流程状态
  543. liquidationStatus: thisdata.liquidationStatus, //结算状态
  544. approval: thisdata.approval, //特批状态
  545. orderRemarks: thisdata.orderRemarks, //订单留言
  546. salesmanName: thisdata.salesmanName, //营销员名称
  547. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  548. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  549. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  550. financeName: thisdata.financeName, //财务名称
  551. financeMobile: thisdata.financeMobile, //财务电话
  552. nowFinance: thisdata.nowFinance, //财务名称
  553. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  554. depName: thisdata.depName, //订单部门
  555. locationProvince: thisdata.locationProvince,
  556. locationCity: thisdata.locationCity,
  557. locationArea: thisdata.locationArea,
  558. ProvinceCity: ProvinceCityArr,
  559. postalAddress: thisdata.postalAddress, //详细地址
  560. outsource: thisdata.outsource,
  561. deleteSign:thisdata.deleteSign,
  562. });
  563. }
  564. }.bind(this),
  565. }).always(
  566. function () {
  567. this.setState({
  568. loading: false,
  569. });
  570. }.bind(this)
  571. );
  572. }
  573. //查看下证信息
  574. loaduserss(id) {
  575. $.ajax({
  576. method: "get",
  577. dataType: "json",
  578. crossDomain: false,
  579. url: globalConfig.context + "/api/admin/orderProject/selectTaskProgress",
  580. data: {
  581. tid: id,
  582. },
  583. success: function (data) {
  584. let theArr = [];
  585. let thisData = [];
  586. if (!thisData) {
  587. if (data.error && data.error.length) {
  588. message.warning(data.error[0].message);
  589. }
  590. } else {
  591. for (let i = 0; i < data.data.length; i++) {
  592. thisData = data.data[i];
  593. theArr.push({
  594. num: i + 1,
  595. key: i,
  596. id: thisData.id, //编号
  597. alreadyNumber: thisData.alreadyNumber, //下证数
  598. licenceTimes: thisData.licenceTimes, //下证时间
  599. notCount: thisData.notCount, //未下证数
  600. flag: true,
  601. });
  602. }
  603. this.setState({
  604. contactList: theArr,
  605. });
  606. }
  607. }.bind(this),
  608. }).always(
  609. function () {
  610. this.setState({
  611. loading: false,
  612. });
  613. }.bind(this)
  614. );
  615. }
  616. jiedianNew(orderNos) {
  617. $.ajax({
  618. method: "get",
  619. dataType: "json",
  620. crossDomain: false,
  621. url:
  622. globalConfig.context + "/api/admin/newOrderDun/selectListNewOrderDun",
  623. data: {
  624. orderNo: orderNos,
  625. },
  626. success: function (data) {
  627. if (data.error && data.error.length) {
  628. message.warning(data.error[0].message);
  629. } else {
  630. let theArr = [];
  631. let thisData = [];
  632. let arr = data.data || [];
  633. let totalCui = 0;
  634. for (let i = 0; i < arr.length; i++) {
  635. thisData = arr[i];
  636. totalCui += +thisData.money;
  637. thisData.key = i;
  638. thisData.dunSubject = thisData.dunSubject
  639. ? thisData.dunSubject.toString()
  640. : "", //催款科目
  641. theArr.push(thisData);
  642. }
  643. if (!totalCui) {
  644. totalCui = 0;
  645. }
  646. totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
  647. this.setState({
  648. jiedianNew: theArr,
  649. totalCui,
  650. });
  651. }
  652. }.bind(this),
  653. }).always(
  654. function () {
  655. this.setState({
  656. loading: false,
  657. });
  658. }.bind(this)
  659. );
  660. }
  661. orderDetailData(orderNos) {
  662. this.setState({
  663. loading: true,
  664. });
  665. $.ajax({
  666. method: "get",
  667. dataType: "json",
  668. crossDomain: false,
  669. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  670. data: {
  671. orderNo: orderNos,
  672. },
  673. success: function (data) {
  674. if (data.error.length || data.data.list == "") {
  675. if (data.error && data.error.length) {
  676. message.warning(data.error[0].message);
  677. this.setState({
  678. loading: false,
  679. });
  680. }
  681. } else {
  682. let thisdata = data.data;
  683. this.setState({
  684. loading: false,
  685. orderUid: thisdata.uid,
  686. userName: thisdata.userName,
  687. primaryOrderNo: thisdata.primaryOrder,
  688. additionalOrder: thisdata.additionalOrder,
  689. contractNo: thisdata.contractNo,
  690. orderData: thisdata,
  691. isAddition: thisdata.additionalOrder ? true : false,
  692. contractPictureUrl: thisdata.contractPictureUrl
  693. ? splitUrl(
  694. thisdata.contractPictureUrl,
  695. ",",
  696. globalConfig.avatarHost + "/upload"
  697. )
  698. : [],
  699. deleteSign:thisdata.deleteSign,
  700. });
  701. }
  702. }.bind(this),
  703. });
  704. }
  705. //项目列表
  706. xiangmu(orderNos) {
  707. this.setState({
  708. loading: true,
  709. });
  710. $.ajax({
  711. method: "get",
  712. dataType: "json",
  713. crossDomain: false,
  714. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  715. data: {
  716. orderNo: orderNos,
  717. },
  718. success: function (data) {
  719. let theArr = [];
  720. if (data.error.length || data.data.list == "") {
  721. if (data.error && data.error.length) {
  722. message.warning(data.error[0].message);
  723. }
  724. } else {
  725. for (let i = 0; i < data.data.length; i++) {
  726. let thisdata = data.data[i];
  727. thisdata.key = i;
  728. theArr.push(thisdata);
  729. }
  730. }
  731. this.setState({
  732. dataSourceX: theArr,
  733. });
  734. }.bind(this),
  735. }).always(
  736. function () {
  737. this.setState({
  738. loading: false,
  739. });
  740. }.bind(this)
  741. );
  742. }
  743. rizhi() {
  744. this.setState({
  745. loading: true,
  746. });
  747. $.ajax({
  748. method: "get",
  749. dataType: "json",
  750. crossDomain: false,
  751. url: "/api/admin/newOrder/selectOrderLog",
  752. data: {
  753. orderNo: this.props.orderNo,
  754. },
  755. success: function (data) {
  756. let theArr = [];
  757. let thisData = data.data;
  758. if (!thisData.length) {
  759. if (data.error && data.error.length) {
  760. message.warning(data.error[0].message);
  761. }
  762. } else {
  763. for (let i = 0; i < data.data.length; i++) {
  764. let thisdata = data.data[i];
  765. theArr.push({
  766. processName: thisdata.processName,
  767. adminName: thisdata.adminName,
  768. createDate: thisdata.createDate,
  769. remarks: thisdata.remarks,
  770. });
  771. }
  772. }
  773. this.setState({
  774. dataSourceY: theArr,
  775. });
  776. }.bind(this),
  777. }).always(
  778. function () {
  779. this.setState({
  780. loading: false,
  781. });
  782. }.bind(this)
  783. );
  784. }
  785. getOrderLog() {
  786. this.setState({
  787. avisible: true,
  788. });
  789. this.rizhi();
  790. }
  791. componentDidMount() {
  792. if (this.props.taskName.substring(0, 5) === "软件著作权") {
  793. this.setState({
  794. isSoftware: true,
  795. })
  796. }
  797. this.setState({
  798. isIso: this.props.taskName.indexOf("贯标") !== -1,
  799. })
  800. this.departmentList();
  801. this.xiangqing(this.props.id);
  802. this.xiangqings(this.props.orderNo);
  803. this.xiangmu(this.props.orderNo);
  804. this.loaduserss(this.props.id);
  805. }
  806. render() {
  807. return (
  808. this.props.visible ? <Modal
  809. maskClosable={false}
  810. className="customeDetails"
  811. footer=""
  812. title=""
  813. width="900px"
  814. visible={this.props.visible}
  815. onOk={()=>{
  816. this.props.visitOk && this.props.visitOk()
  817. }}
  818. onCancel={()=>{
  819. this.props.visitCancel && this.props.visitCancel();
  820. }}
  821. >
  822. <Tabs activeKey={this.state.activeKey} onChange={this.orderChange} tabBarExtraContent={
  823. <div style={{fontWeight:'bold',paddingRight:'15px'}}>
  824. <OrderItemStatus deleteSign={this.state.deleteSign}/>
  825. </div>
  826. }>
  827. <TabPane tab="项目概况" key="1">
  828. {this.state.activeKey === "1" ? <Form
  829. layout="horizontal"
  830. id="demand-form"
  831. style={{ paddingBottom: "0px" }}
  832. >
  833. <Spin spinning={this.state.loading}>
  834. <div className="clearfix">
  835. <div className="clearfix">
  836. <FormItem
  837. className="half-item"
  838. {...formItemLayout}
  839. label="项目状态"
  840. >
  841. <span>{getProjectName(parseInt(this.state.projectStatus))}</span>
  842. <Button
  843. type="primary"
  844. size="small"
  845. style={{ marginTop: "5px", position: "absolute" }}
  846. onClick={this.caozuorizhi}
  847. >
  848. 操作日志
  849. </Button>
  850. {this.state.visibleA ? <Modal
  851. maskClosable={false}
  852. width="800px"
  853. visible={this.state.visibleA}
  854. onCancel={()=>{
  855. this.setState({
  856. visibleA: false
  857. })
  858. }}
  859. title="操作日志"
  860. footer=""
  861. className="admin-desc-content"
  862. >
  863. <div className="patent-table patent-table-center">
  864. <Spin spinning={this.state.loading}>
  865. <Table
  866. columns={this.state.columnsA}
  867. dataSource={this.state.dataSourceA}
  868. pagination={false}
  869. bordered
  870. size="small"
  871. />
  872. </Spin>
  873. </div>
  874. </Modal> : null}
  875. </FormItem>
  876. <FormItem
  877. className="half-item"
  878. {...formItemLayout}
  879. label="合同编号"
  880. >
  881. <span>{this.state.contractNo}</span>
  882. </FormItem>
  883. </div>
  884. <div className="clearfix">
  885. <FormItem
  886. className="half-item"
  887. {...formItemLayout}
  888. label="是否特批"
  889. >
  890. <span>{getApproval(this.state.approval)}</span>
  891. </FormItem>
  892. <FormItem
  893. className="half-item"
  894. {...formItemLayout}
  895. label="结算状态"
  896. >
  897. <span>
  898. {getLiquidationStatus(this.state.liquidationStatus)}
  899. </span>
  900. </FormItem>
  901. <FormItem
  902. className="half-item"
  903. {...formItemLayout}
  904. label="流程状态"
  905. >
  906. <span>
  907. {getProcessStatus(this.state.processStatus)}
  908. </span>
  909. </FormItem>
  910. <FormItem
  911. className="half-item"
  912. {...formItemLayout}
  913. label="订单编号"
  914. >
  915. <span>{this.state.orderNo}</span>
  916. </FormItem>
  917. <FormItem
  918. className="half-item"
  919. {...formItemLayout}
  920. label="是否外包"
  921. >
  922. <span>{this.state.outsource === 0 ? "否" : "是"}</span>
  923. </FormItem>
  924. </div>
  925. <div className="clearfix">
  926. <FormItem
  927. className="half-item"
  928. {...formItemLayout}
  929. label="满意度表格"
  930. >
  931. <span>
  932. {utils.getSatisfaction(this.state.formRetrieve)}
  933. </span>
  934. </FormItem>
  935. <FormItem
  936. className="half-item"
  937. {...formItemLayout}
  938. label="(满意度)备注"
  939. >
  940. <span>{this.state.retrieveContent}</span>
  941. </FormItem>
  942. </div>
  943. {/*软著显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  944. {this.state.bpType === 2 ? <div className="clearfix">
  945. <FormItem
  946. className="half-item"
  947. {...formItemLayout}
  948. label="加急天数"
  949. >
  950. {
  951. this.state.urgentDay === 1 ? '是' :
  952. this.state.urgentDay === 0 ? '否' : ''
  953. }
  954. </FormItem>
  955. <FormItem
  956. className="half-item"
  957. {...formItemLayout}
  958. label="有无材料"
  959. >
  960. {
  961. this.state.ifMaterial === 1 ? '是':
  962. this.state.ifMaterial === 0 ? '否': ''
  963. }
  964. </FormItem>
  965. </div> : null}
  966. <div className="clearfix">
  967. <div style={{
  968. paddingLeft: '8%',
  969. }}>
  970. <div style={{color:'#000',fontWeight:500}}>
  971. 特别说明
  972. <span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
  973. </div>
  974. <div style={{
  975. display:'flex',
  976. }}>
  977. <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
  978. <span style={{
  979. flex: 1,
  980. wordBreak: 'break-all',
  981. }}>{this.state.specialComment}</span>
  982. </div>
  983. </div>
  984. </div>
  985. <div className="clearfix">
  986. <h3 className="sub-title">任务信息</h3>
  987. {/*0通用 1专利 2软著 3审计 4双软 5高新 6商标*/}
  988. {/*贯标需要显示*/}
  989. {
  990. this.state.isIso ?
  991. <div>
  992. <FormItem
  993. className="half-item"
  994. {...formItemLayout}
  995. label="认证费"
  996. >
  997. <span>
  998. {
  999. this.state.ifCertificationFee === 1 ? '包含' : '不包含'
  1000. }
  1001. </span>
  1002. </FormItem>
  1003. {this.state.ifCertificationFee === 1 ?<FormItem
  1004. className="half-item"
  1005. {...formItemLayout}
  1006. label="认证费(万元)"
  1007. >
  1008. <span>
  1009. {
  1010. this.state.certificationFee
  1011. }
  1012. </span>
  1013. </FormItem> : null}
  1014. {this.state.ifCertificationFee === 1 ? <FormItem
  1015. className="half-item"
  1016. {...formItemLayout}
  1017. label=""
  1018. /> : null}
  1019. {this.state.ifCertificationFee === 1 ? <FormItem
  1020. className="half-item"
  1021. {...formItemLayout}
  1022. label="付款公司名称"
  1023. >
  1024. <span>
  1025. {this.state.certificationCorporate}
  1026. </span>
  1027. </FormItem>:null}
  1028. </div> : null
  1029. }
  1030. <FormItem
  1031. className="half-item"
  1032. {...formItemLayout}
  1033. label="任务编号"
  1034. >
  1035. <span>
  1036. {
  1037. this.state.splitStatus === 2
  1038. ? this.state.splitSuper + "-" + this.state.splitId
  1039. : this.state.id
  1040. }
  1041. </span>
  1042. </FormItem>
  1043. <FormItem
  1044. className="half-item"
  1045. {...formItemLayout}
  1046. label="任务名称"
  1047. >
  1048. <span>{this.state.taskName}</span>
  1049. </FormItem>
  1050. <FormItem
  1051. className="half-item"
  1052. {...formItemLayout}
  1053. label="任务状态"
  1054. >
  1055. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1056. </FormItem>
  1057. <FormItem
  1058. className="half-item"
  1059. {...formItemLayout}
  1060. label="任务类别"
  1061. >
  1062. <span>{this.state.cname}</span>
  1063. </FormItem>
  1064. <FormItem
  1065. className="half-item"
  1066. {...formItemLayout}
  1067. label="证书编号"
  1068. >
  1069. <span>{this.state.certificateNumber}</span>
  1070. </FormItem>
  1071. </div>
  1072. <div className="clearfix">
  1073. <h3 className="sub-title">联系信息</h3>
  1074. <FormItem
  1075. className="half-item"
  1076. {...formItemLayout}
  1077. label="客户名称"
  1078. >
  1079. <span>{this.state.userName}</span>
  1080. <EnterpriseNameChange
  1081. type='journal'
  1082. style={{ marginLeft: 10 }}
  1083. enterpriseId={this.state.orderUid}/>
  1084. </FormItem>
  1085. <FormItem
  1086. className="half-item"
  1087. {...formItemLayout}
  1088. label="企业法人"
  1089. >
  1090. <span>{this.state.legalPerson}</span>
  1091. </FormItem>
  1092. <FormItem
  1093. className="half-item"
  1094. {...formItemLayout}
  1095. label="法人电话"
  1096. >
  1097. <span>{this.state.legalPersonTel}</span>
  1098. </FormItem>
  1099. <FormItem
  1100. className="half-item"
  1101. {...formItemLayout}
  1102. label="客户联系人"
  1103. >
  1104. <span>{this.state.contacts}</span>
  1105. </FormItem>
  1106. <FormItem
  1107. className="half-item"
  1108. {...formItemLayout}
  1109. label="联系人电话"
  1110. >
  1111. <span>{this.state.contactMobile}</span>
  1112. </FormItem>
  1113. <FormItem
  1114. className="half-item"
  1115. {...formItemLayout}
  1116. label="企业地址"
  1117. >
  1118. <span>
  1119. {getprovince(this.state.locationProvince)}/
  1120. {getprovince(this.state.locationCity)}/
  1121. {getprovince(this.state.locationArea)}
  1122. </span>
  1123. </FormItem>
  1124. <FormItem
  1125. className="half-item"
  1126. {...formItemLayout}
  1127. label=""
  1128. />
  1129. <FormItem className="half-item" {...formItemLayout}>
  1130. <span style={{ paddingLeft: "12em" }}>
  1131. {this.state.postalAddress}
  1132. </span>
  1133. </FormItem>
  1134. </div>
  1135. <div className="clearfix">
  1136. <h3 className="sub-title">订单负责人信息</h3>
  1137. <FormItem
  1138. className="half-item"
  1139. {...formItemLayout}
  1140. label="负责人"
  1141. >
  1142. <span>
  1143. {this.state.salesmanName +
  1144. "(" +
  1145. this.state.depName +
  1146. ")"}
  1147. </span>
  1148. </FormItem>
  1149. <FormItem
  1150. className="half-item"
  1151. {...formItemLayout}
  1152. label="负责人电话"
  1153. >
  1154. <span>{this.state.salesmanMobile}</span>
  1155. </FormItem>
  1156. <FormItem
  1157. className="half-item"
  1158. {...formItemLayout}
  1159. label="当前财务负责人"
  1160. >
  1161. <span>{this.state.nowFinance}</span>
  1162. </FormItem>
  1163. <FormItem
  1164. className="half-item"
  1165. {...formItemLayout}
  1166. label="当前财务负责人电话"
  1167. >
  1168. <span>{this.state.nowFinanceMobile}</span>
  1169. </FormItem>
  1170. {!this.state.isSoftware ? <div>
  1171. <FormItem
  1172. className="half-item"
  1173. {...formItemLayout}
  1174. style={{ opacity: ".5" }}
  1175. label="原负责人"
  1176. >
  1177. <span>{this.state.oldSalesmanName}</span>
  1178. </FormItem>
  1179. <FormItem
  1180. className="half-item"
  1181. {...formItemLayout}
  1182. style={{ opacity: ".5" }}
  1183. label="原负责人电话"
  1184. >
  1185. <span>{this.state.oldSalesmanMobile}</span>
  1186. </FormItem>
  1187. <FormItem
  1188. className="half-item"
  1189. {...formItemLayout}
  1190. style={{ opacity: ".5" }}
  1191. label="实际财务操作人"
  1192. >
  1193. <span>{this.state.financeName}</span>
  1194. </FormItem>
  1195. <FormItem
  1196. className="half-item"
  1197. {...formItemLayout}
  1198. style={{ opacity: ".5" }}
  1199. label="实际财务操作人电话"
  1200. >
  1201. <span>{this.state.financeMobile}</span>
  1202. </FormItem>
  1203. </div> : null }
  1204. <FormItem
  1205. className="half-item"
  1206. {...formItemLayout}
  1207. label="订单留言"
  1208. >
  1209. <span>{this.state.orderRemarks}</span>
  1210. </FormItem>
  1211. <FormItem
  1212. className="half-item"
  1213. {...formItemLayout}
  1214. label=""
  1215. >
  1216. <Button onClick={this.getOrderLog}>查看订单日志</Button>
  1217. </FormItem>
  1218. <OrderRiZi
  1219. dataSourcerizhi={this.state.dataSourceY}
  1220. closeOrderLog={()=>{
  1221. this.setState({
  1222. avisible: false
  1223. })
  1224. }}
  1225. visible={this.state.avisible}
  1226. loading={this.state.loading}
  1227. />
  1228. </div>
  1229. {!this.state.isSoftware ? <div className="clearfix">
  1230. <h3 className="sub-title">申报系统账户信息</h3>
  1231. <FormItem
  1232. className="half-item"
  1233. {...formItemLayout}
  1234. label="用户名"
  1235. >
  1236. <span>{this.state.declareUser}</span>
  1237. </FormItem>
  1238. <FormItem
  1239. className="half-item"
  1240. {...formItemLayout}
  1241. label="密码"
  1242. >
  1243. <span>{this.state.declarePwd}</span>
  1244. </FormItem>
  1245. </div> : null}
  1246. {this.state.isSoftware ?
  1247. <div className="clearfix">
  1248. <h3 className="sub-title">项目申报进度</h3>
  1249. <DeclarationProgress
  1250. timeRecordparse={this.state.timeRecordparse}
  1251. startDate={this.state.startDate}
  1252. taskDate={this.state.taskDate}
  1253. list={[
  1254. {id:4,name:'完成时间',value:this.state.endDate},
  1255. {id:6,name:'受理时间',value:this.state.acceptDate},
  1256. {id:8,name:'公示时间',value:this.state.publicityDate},
  1257. {id:10,name:'发证时间',value:this.state.licenceDate},
  1258. {id:15,name:'立项金额',value:this.state.setUpAmount}
  1259. ]}/>
  1260. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1261. {/*cSort: 3 科技项目 6: 会员*/}
  1262. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  1263. className="half-item"
  1264. {...formItemLayout}
  1265. label="申报批次"
  1266. >
  1267. <span>{this.state.declarationBatch}</span>
  1268. </FormItem>}
  1269. <FormItem
  1270. className="half-item"
  1271. {...formItemLayout}
  1272. label="软著派单数量"
  1273. >
  1274. <span>{this.state.commodityQuantity}</span>
  1275. </FormItem>
  1276. <div className="patent-table patent-table-center">
  1277. <Spin spinning={this.state.loading}>
  1278. <Table
  1279. columns={this.state.ContactsLists}
  1280. dataSource={this.state.contactList}
  1281. pagination={false}
  1282. bordered
  1283. size="small"
  1284. />
  1285. </Spin>
  1286. </div>
  1287. </div>:
  1288. <div className="clearfix">
  1289. <h3 className="sub-title">项目申报进度</h3>
  1290. <DeclarationProgress
  1291. timeRecordparse={this.state.timeRecordparse}
  1292. startDate={this.state.startDate}
  1293. taskDate={this.state.taskDate}
  1294. list={[
  1295. {id:4,name:'完成时间',value:this.state.endDate},
  1296. {id:6,name:'受理时间',value:this.state.acceptDate},
  1297. {id:8,name:'公示时间',value:this.state.publicityDate},
  1298. {id:10,name:'发证时间',value:this.state.licenceDate},
  1299. {id:15,name:'立项金额',value:this.state.setUpAmount}
  1300. ]}/>
  1301. {
  1302. this.state.bpType === 1 || this.state.bpType === 6 ?
  1303. <div>
  1304. <FormItem
  1305. labelCol={{ span: 3 }}
  1306. wrapperCol={{ span: 16 }}
  1307. label="是否高新企业"
  1308. >
  1309. <span>
  1310. {
  1311. this.state.highTechStatus === 1 ? '是':
  1312. this.state.highTechStatus === 0 ? '否' : ''
  1313. }
  1314. </span>
  1315. </FormItem>
  1316. <FormItem/>
  1317. <PatentSchedule
  1318. readOnly
  1319. bpType={this.state.bpType}
  1320. taskId={this.state.id}
  1321. acceptCount={this.state.acceptCount}
  1322. certificatesCount={this.state.certificatesCount}
  1323. rejectCount={this.state.rejectCount}
  1324. commodityQuantity={this.state.commodityQuantity}
  1325. refresh={()=>{this.xiangqing(this.state.id)}}
  1326. />
  1327. </div> :
  1328. <div>
  1329. {/*高新显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1330. {this.state.bpType === 5 ? <FormItem
  1331. className="half-item"
  1332. {...formItemLayout}
  1333. label="是否抽查">
  1334. {
  1335. this.state.spotCheckStatus === 0 ? '否':
  1336. this.state.spotCheckStatus === 1 ? '是,未通过':
  1337. this.state.spotCheckStatus === 2 ? '是,通过': ''
  1338. }
  1339. </FormItem> : null}
  1340. <FormItem/>
  1341. {this.state.bpType === 5 ? <FormItem
  1342. className="half-item"
  1343. {...formItemLayout}
  1344. label="是否立项"
  1345. >
  1346. {
  1347. this.state.setUpStatus === 1 ? '是' :
  1348. this.state.setUpStatus === 0 ? '否' : ''
  1349. }
  1350. </FormItem> : null}
  1351. {this.state.bpType === 5 ? <FormItem
  1352. className="half-item"
  1353. {...formItemLayout}
  1354. label={this.state.setUpStatus === 1 ? "立项时间" : ''}
  1355. >
  1356. {this.state.setUpStatus === 1 ?this.state.setUpTime : null }
  1357. </FormItem> : null}
  1358. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1359. {/*cSort: 3 科技项目 6: 会员*/}
  1360. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  1361. className="half-item"
  1362. {...formItemLayout}
  1363. label="申报批次"
  1364. >
  1365. <span>{this.state.declarationBatch}</span>
  1366. </FormItem>}
  1367. {/*只有科技项目才有是否到款*/}
  1368. {/*cSort: 3 科技项目 6: 会员*/}
  1369. {this.state.cSort === 3 && <FormItem
  1370. className="half-item"
  1371. {...formItemLayout}
  1372. label="是否到款"
  1373. >
  1374. <span>
  1375. {this.state.arrivalMoney ? "已到企业" : "未到企业"}
  1376. </span>
  1377. </FormItem>}
  1378. </div>
  1379. }
  1380. </div>}
  1381. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1382. <FormItem
  1383. labelCol={{ span: 3 }}
  1384. wrapperCol={{ span: 18 }}
  1385. label="附件"
  1386. >
  1387. {this.state.visible && this.state.attachmentUrl && this.state.activeKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  1388. <ImgList fileList={this.state.attachmentUrl} domId={'taskQuery1'}/>
  1389. </div> : null}
  1390. </FormItem>
  1391. </div> : null}
  1392. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1393. <FormItem
  1394. labelCol={{ span: 3 }}
  1395. wrapperCol={{ span: 16 }}
  1396. label="项目说明"
  1397. >
  1398. <span>{this.state.taskComment}</span>
  1399. </FormItem>
  1400. </div>: null}
  1401. <div>
  1402. <h3 className="sub-title">项目业务</h3>
  1403. {this.state.processStatus === 0 ? (
  1404. <Button
  1405. type="primary"
  1406. onClick={this.addDetailed}
  1407. style={{
  1408. float: "right",
  1409. marginRight: "50px",
  1410. marginBottom: "15px",
  1411. }}
  1412. >
  1413. 添加项目明细
  1414. </Button>
  1415. ) : null}
  1416. </div>
  1417. <div className="patent-table">
  1418. <Spin spinning={this.state.loading}>
  1419. <Table
  1420. columns={this.state.columnsX}
  1421. dataSource={this.state.dataSourceX}
  1422. pagination={this.state.paginations}
  1423. onRowClick={this.tableRowClickX}
  1424. style={{
  1425. cursor: 'pointer',
  1426. }}
  1427. bordered
  1428. size="small"
  1429. />
  1430. </Spin>
  1431. </div>
  1432. </div>
  1433. </Spin>
  1434. </Form> : null}
  1435. </TabPane>
  1436. {!this.props.isZxs || (this.state.isHuiyuan && this.props.isZxs) ? (
  1437. <TabPane tab="订单详情" key="2">
  1438. {this.state.activeKey === "2" ? <Spin spinning={this.state.loading}>
  1439. <OrderDetail
  1440. orderUid={this.state.orderUid}
  1441. orderData={this.state.orderData}
  1442. getOrderLog={this.getOrderLog}
  1443. dataSourceX={this.state.dataSourceX}
  1444. contactList={this.state.jiedian}
  1445. orderNo={this.state.orderNo}
  1446. totalCui={this.state.totalCui}
  1447. contactListNew={this.state.jiedianNew}
  1448. pictureUrl={this.state.contractPictureUrl}
  1449. />
  1450. </Spin> : null}
  1451. <OrderRiZi
  1452. dataSourcerizhi={this.state.dataSourceY}
  1453. closeOrderLog={()=>{
  1454. this.setState({
  1455. avisible: false
  1456. })
  1457. }}
  1458. visible={this.state.avisible}
  1459. loading={this.state.loading}
  1460. />
  1461. </TabPane>
  1462. ) : null}
  1463. </Tabs>
  1464. </Modal> : null
  1465. );
  1466. }
  1467. }
  1468. export default ProjectDetails;