projectDetails.jsx 75 KB

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