projectDetails.jsx 74 KB

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