projectDetails.jsx 73 KB

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