contractCwzj.js 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531
  1. import React from "react";
  2. import { Button, Input, Spin, Table, message, Form, Modal, Tabs, Tooltip } from "antd";
  3. import $ from "jquery/src/ajax";
  4. import {
  5. getNewOrderStatus,
  6. getProcessStatusNew,
  7. splitUrl,
  8. getjiedian,
  9. getboutique,
  10. getCuikuan,
  11. getProjectStatus,
  12. ShowModal,
  13. getType
  14. } from "@/tools.js";
  15. import "./customer.less";
  16. import { ChangeDetail } from "./changeComponent/changeDetailCwzj.js";
  17. import { SearchInput } from "./changeComponent/searchInput.js";
  18. import OrderDetail from "./changeComponent/orderDetail";
  19. import { ChooseList } from "./chooseList.jsx";
  20. import ShowModalDiv from "@/showModal.jsx";
  21. import OrderRiZi from "@/orderRiZi.jsx";
  22. import { getProjectName } from "../../../tools";
  23. import ProjectDetailsReadOnly from "../../../common/projectDetailsReadOnly";
  24. import NewEditProject from "../../../common/projectOperation/newEditProject";
  25. import OrderItemStatus from "../../../common/orderItemStatus";
  26. import Cascaders from "../../../common/cascaders";
  27. const contractChange = Form.create()(
  28. React.createClass({
  29. loadData(pageNo) {
  30. this.setState({
  31. loading: true
  32. });
  33. $.ajax({
  34. method: "get",
  35. dataType: "json",
  36. crossDomain: false,
  37. url: globalConfig.context + "/api/admin/orderChange/orderChangeList",
  38. data: {
  39. pageNo: pageNo || 1,
  40. pageSize: this.state.pagination.pageSize,
  41. userName: this.state.searchData.userNameSearch,
  42. processState: this.props.processState,
  43. timeType: this.state.searchData.timeTypeSearch,
  44. startTime: this.state.searchData.releaseDate[0],
  45. endTime: this.state.searchData.releaseDate[1],
  46. salesmanName: this.state.searchData.salesmanNameSearch,
  47. orderNo: this.state.searchData.orderNoSearch,
  48. contractNo: this.state.searchData.contractNoSearch,
  49. complete: this.state.searchData.completeSearch || 1,
  50. deps: this.state.searchData.deps,
  51. type: this.state.searchData.changeSearch
  52. },
  53. success: function (data) {
  54. ShowModal(this);
  55. let theArr = [];
  56. if (data.error.length || data.data.list == "") {
  57. if (data.error && data.error.length) {
  58. message.warning(data.error[0].message);
  59. }
  60. } else {
  61. for (let i = 0; i < data.data.list.length; i++) {
  62. let thisdata = data.data.list[i];
  63. theArr.push({
  64. key: i,
  65. orderNo: thisdata.orderNo,
  66. createTimes: thisdata.createTimes,
  67. nickname: thisdata.nickname,
  68. orderType: thisdata.orderType,
  69. establishTimes: thisdata.establishTimes,
  70. orderStatus: thisdata.orderStatus,
  71. totalAmount: thisdata.totalAmount,
  72. settlementAmount: thisdata.settlementAmount,
  73. arrears: thisdata.arrears,
  74. salesmanName: thisdata.salesmanName,
  75. depName: thisdata.depName,
  76. processState: thisdata.processState,
  77. type: thisdata.type,
  78. status: thisdata.status,
  79. id: thisdata.id,
  80. contractNo: thisdata.contractNo,
  81. processStateText: getProcessStatusNew(
  82. thisdata.examineName,
  83. thisdata.processState,
  84. thisdata.status
  85. )
  86. });
  87. }
  88. this.state.pagination.total = data.data.totalCount;
  89. this.state.pagination.current = data.data.pageNo;
  90. }
  91. if (data.data && data.data.list && !data.data.list.length) {
  92. this.state.pagination.total = 0;
  93. }
  94. this.setState({
  95. dataSource: theArr,
  96. pageNo: pageNo,
  97. pagination: this.state.pagination
  98. });
  99. }.bind(this)
  100. }).always(
  101. function () {
  102. this.setState({
  103. loading: false
  104. });
  105. }.bind(this)
  106. );
  107. },
  108. getInitialState() {
  109. return {
  110. page: 1,
  111. searchData: {
  112. releaseDate: []
  113. },
  114. declarationBatch: 1,
  115. dataInfor: {},
  116. primaryOrderData: {}, //原订单数据
  117. orderData: {}, //现订单数据
  118. pictureUrl: [],
  119. voucherUrl: [],
  120. attachment: [],
  121. attachmentUrl: [],
  122. //收款数据
  123. proceedsData: {},
  124. proTotal: 0,
  125. invTotal: 0,
  126. contractData: {},
  127. // 回收退票数据
  128. refundInvoice: [],
  129. RefundInvoice: [],
  130. additionalOrderData: {},
  131. paginations: false,
  132. activeKey: "a",
  133. confirmLoading: false,
  134. aloading: false,
  135. pagination: {
  136. defaultCurrent: 1,
  137. defaultPageSize: 10,
  138. showQuickJumper: true,
  139. pageSize: 10,
  140. onChange: function (page) {
  141. this.loadData(page);
  142. }.bind(this),
  143. showTotal: function (total) {
  144. return "共" + total + "条数据";
  145. }
  146. },
  147. columns: [
  148. {
  149. title: "合同编号",
  150. dataIndex: "contractNo",
  151. key: "contractNo"
  152. },
  153. {
  154. title: "订单编号",
  155. dataIndex: "orderNo",
  156. key: "orderNo"
  157. },
  158. {
  159. title: "客户名称",
  160. dataIndex: "nickname",
  161. key: "nickname",
  162. render: text => {
  163. return (
  164. <Tooltip title={text}>
  165. <div style={{
  166. maxWidth: '150px',
  167. overflow: 'hidden',
  168. textOverflow: "ellipsis",
  169. whiteSpace: 'nowrap',
  170. }}>{text}</div>
  171. </Tooltip>
  172. )
  173. }
  174. },
  175. {
  176. title: "订单部门",
  177. dataIndex: "depName",
  178. key: "depName"
  179. },
  180. {
  181. title: "订单类型",
  182. dataIndex: "orderType",
  183. key: "orderType",
  184. render: text => {
  185. return text ? "科技项目" : "认证项目";
  186. }
  187. },
  188. {
  189. title: "下单时间",
  190. dataIndex: "establishTimes",
  191. key: "establishTimes"
  192. },
  193. {
  194. title: "订单状态",
  195. dataIndex: "orderStatus",
  196. key: "orderStatus",
  197. render: text => {
  198. return getNewOrderStatus(text);
  199. }
  200. },
  201. {
  202. title: "合同额(万元)",
  203. dataIndex: "totalAmount",
  204. key: "totalAmount"
  205. },
  206. {
  207. title: "已付额(万元)",
  208. dataIndex: "settlementAmount",
  209. key: "settlementAmount"
  210. },
  211. {
  212. title: "欠款(万元)",
  213. dataIndex: "arrears",
  214. key: "arrears"
  215. },
  216. {
  217. title: "订单负责人",
  218. dataIndex: "salesmanName",
  219. key: "salesmanName"
  220. },
  221. {
  222. title: "变更类型",
  223. dataIndex: "type",
  224. key: "type",
  225. render: text => {
  226. return getType(text);
  227. }
  228. },
  229. {
  230. title: "审核状态",
  231. dataIndex: "processStateText",
  232. key: "processStateText"
  233. },
  234. {
  235. title: "提交时间",
  236. dataIndex: "createTimes",
  237. key: "createTimes"
  238. }
  239. ],
  240. dataSource: [],
  241. // 传递给子组件的
  242. dataProps: [],
  243. columnsX: [
  244. {
  245. title: "业务项目名称",
  246. dataIndex: "commodityName",
  247. key: "commodityName",
  248. render: (text, record) => {
  249. return (
  250. <span>{text}<span style={{ color: "red" }}>{record.patentTypeName}</span></span>
  251. )
  252. }
  253. },
  254. {
  255. title: "项目类别",
  256. dataIndex: "cname",
  257. key: "cname"
  258. },
  259. {
  260. title: "项目数量",
  261. dataIndex: "commodityQuantity",
  262. key: "commodityQuantity"
  263. },
  264. {
  265. title: "金额(万元)",
  266. dataIndex: "commodityPrice",
  267. key: "commodityPrice"
  268. },
  269. {
  270. title: "负责人",
  271. dataIndex: "contacts",
  272. key: "contacts"
  273. },
  274. {
  275. title: "负责人电话",
  276. dataIndex: "contactsMobile",
  277. key: "contactsMobile"
  278. },
  279. {
  280. title: "项目状态",
  281. dataIndex: "projectStatus",
  282. key: "projectStatus",
  283. render: text => {
  284. return getProjectName(text);
  285. }
  286. },
  287. {
  288. title: "主要项目",
  289. dataIndex: "main",
  290. key: "main",
  291. render: text => {
  292. return text ? "是" : "否";
  293. }
  294. },
  295. {
  296. title: "总年限",
  297. dataIndex: "yearSum",
  298. key: "yearSum",
  299. render: (text, record) => {
  300. return (
  301. <div>{["", "一年", "二年", "三年", "四年", "五年"][text]}</div>
  302. );
  303. }
  304. },
  305. {
  306. title: "年限",
  307. dataIndex: "serviceLife",
  308. key: "serviceLife",
  309. render: (text, record) => {
  310. return (
  311. <div>{!!text && JSON.parse(text).toString()}</div>
  312. );
  313. }
  314. },
  315. {
  316. title: "本次派单",
  317. dataIndex: "serviceYear",
  318. key: "serviceYear",
  319. render: (text, record) => {
  320. return (
  321. <div>{!text ? "" : text}</div>
  322. );
  323. }
  324. },
  325. {
  326. title: "项目说明",
  327. dataIndex: "taskComment",
  328. key: "taskComment",
  329. render: text => {
  330. return (
  331. <Tooltip title={text}>
  332. <div
  333. style={{
  334. width: 100,
  335. overflow: "hidden",
  336. whiteSpace: "nowrap",
  337. textOverflow: "ellipsis",
  338. }}
  339. >{text}</div>
  340. </Tooltip>
  341. )
  342. }
  343. }
  344. ],
  345. // 子组件改变的表格title数组
  346. changeList: undefined,
  347. columnsrizhi: [
  348. {
  349. title: "流程",
  350. dataIndex: "processName",
  351. key: "processName"
  352. },
  353. {
  354. title: "操作人",
  355. dataIndex: "adminName",
  356. key: "adminName"
  357. },
  358. {
  359. title: "时间",
  360. dataIndex: "createDate",
  361. key: "createDate"
  362. }
  363. ],
  364. dataSourceX: [],
  365. ContactsLists: [
  366. {
  367. title: "催款科目",
  368. dataIndex: "dunSubject",
  369. key: "dunSubject",
  370. render: text => {
  371. return getjiedian(text);
  372. }
  373. },
  374. {
  375. title: "金额(万元)",
  376. dataIndex: "money",
  377. key: "money"
  378. },
  379. {
  380. title: "催款状态",
  381. dataIndex: "dunStatus",
  382. key: "dunStatus",
  383. render: text => {
  384. return getCuikuan(text);
  385. }
  386. }
  387. ]
  388. };
  389. },
  390. //页面加载函数
  391. componentWillMount() {
  392. this.loadData();
  393. },
  394. //整行点击
  395. tableRowClick(record) {
  396. let isName = record.salesmanName.indexOf("曹津") != -1
  397. let iskeep = window.adminData.shiroList.indexOf("13") != -1
  398. if (iskeep && isName) {
  399. message.warning("无法查看,请联系管理员!");
  400. } else {
  401. this.setState(
  402. {
  403. visible: true,
  404. type: record.type,
  405. status: record.status,
  406. buttonStatus: true,
  407. orderStatus: record.orderStatus,
  408. processStateText: record.processStateText,
  409. id: record.id,
  410. orderNo: record.orderNo
  411. }, () => {
  412. this.xiangqing(record.orderNo);
  413. this.xiangmu(record.orderNo);
  414. this.jiedian(record.orderNo);
  415. this.jiedianNew(record.orderNo);
  416. this.createTabs();
  417. }
  418. );
  419. }
  420. },
  421. //点击打卡项目详情
  422. tableRowClickX(record) {
  423. this.setState({
  424. jid: record.id, //项目ID
  425. kid: record.commodityId, //商品ID
  426. commodityName: record.commodityName, //金额
  427. commodityPrice: record.commodityPrice, //金额
  428. commodityQuantity: record.commodityQuantity, //数量
  429. taskComment: record.taskComment, //备注
  430. main: record.main.toString(), //是否为主要
  431. addnextVisible: true,
  432. dataInfor: record,
  433. addState: 0
  434. });
  435. },
  436. //项目详情关闭
  437. nextCancel() {
  438. this.setState({
  439. addnextVisible: false
  440. });
  441. },
  442. // 合同变更详情
  443. ChangeDetail(id) {
  444. let url = window.location.href.substring(7);
  445. $.ajax({
  446. method: "get",
  447. dataType: "json",
  448. crossDomain: false,
  449. url:
  450. globalConfig.context +
  451. "/api/admin/orderChange/orderChangeDetailsById",
  452. data: {
  453. id: id
  454. },
  455. success: function (data) {
  456. if (data.data) {
  457. let thisdata = data.data;
  458. Object.assign(thisdata, {
  459. processStateText: this.state.processStateText,
  460. userName: this.state.userName,
  461. contractNo: this.state.contractNo
  462. });
  463. this.setState({
  464. contractData: thisdata,
  465. voucherUrl: thisdata.voucherUrl
  466. ? splitUrl(
  467. thisdata.voucherUrl,
  468. ",",
  469. globalConfig.avatarHost + "/upload",
  470. url
  471. )
  472. : [],
  473. attachment: thisdata.attachmentUrl
  474. ? splitUrl(
  475. thisdata.attachmentUrl,
  476. ",",
  477. globalConfig.avatarHost + "/upload",
  478. url
  479. )
  480. : [],
  481. contractPictureUrl: thisdata.contractPictureUrl
  482. ? splitUrl(
  483. thisdata.contractPictureUrl,
  484. ",",
  485. globalConfig.avatarHost + "/upload",
  486. url
  487. )
  488. : []
  489. });
  490. }
  491. }.bind(this)
  492. });
  493. $.ajax({
  494. method: "get",
  495. dataType: "json",
  496. crossDomain: false,
  497. url:
  498. globalConfig.context +
  499. "/api/admin/orderChange/listOrderInvoiceAndBill",
  500. data: {
  501. orderNo: this.state.orderNo
  502. },
  503. success: function (data) {
  504. if (!data.data) return;
  505. let proTotal = 0;
  506. let invTotal = 0;
  507. data.data.bill.forEach(item => {
  508. proTotal += item.transactionAmount;
  509. });
  510. data.data.invoice.forEach(item => {
  511. invTotal += item.amount;
  512. });
  513. this.setState({
  514. proceedsData: data.data,
  515. proTotal: (Math.round(proTotal * 1000000) / 1000000).toFixed(6),
  516. invTotal: (Math.round(invTotal * 1000000) / 1000000).toFixed(6),
  517. });
  518. }.bind(this)
  519. });
  520. $.ajax({
  521. method: "get",
  522. dataType: "json",
  523. crossDomain: false,
  524. url:
  525. globalConfig.context +
  526. "/api/admin/orderChange/listOrderRefundInvoice",
  527. data: {
  528. orderNo: this.state.orderNo
  529. },
  530. success: data => {
  531. if (!data) return;
  532. data.data.forEach(item => {
  533. item.load = true;
  534. });
  535. this.setState({
  536. refundInvoice: data.data
  537. });
  538. }
  539. });
  540. },
  541. //订单详情
  542. xiangqing(orderNos) {
  543. this.setState({
  544. orderData: {}
  545. }, () => {
  546. $.ajax({
  547. method: "get",
  548. dataType: "json",
  549. crossDomain: false,
  550. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  551. data: {
  552. orderNo: orderNos
  553. },
  554. success: function (data) {
  555. if (data.error.length || data.data.list == "") {
  556. if (data.error && data.error.length) {
  557. message.warning(data.error[0].message);
  558. }
  559. } else {
  560. let thisdata = data.data;
  561. this.setState({
  562. orderUid: thisdata.uid,
  563. userName: thisdata.userName,
  564. primaryOrderNo: thisdata.primaryOrder,
  565. additionalOrder: thisdata.additionalOrder,
  566. contractNo: thisdata.contractNo,
  567. // arrears: thisdata.arrears,
  568. orderData: thisdata,
  569. isAddition: thisdata.additionalOrder ? true : false,
  570. deleteSign: thisdata.deleteSign,
  571. });
  572. }
  573. }.bind(this)
  574. });
  575. });
  576. },
  577. // 原订单数据
  578. primaryOrder(primaryOrder) {
  579. $.ajax({
  580. method: "get",
  581. dataType: "json",
  582. crossDomain: false,
  583. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  584. data: {
  585. orderNo: primaryOrder
  586. },
  587. success: function (data) {
  588. if (data.error.length || data.data.list == "") {
  589. if (data.error && data.error.length) {
  590. message.warning(data.error[0].message);
  591. }
  592. } else {
  593. let thisdata = data.data;
  594. this.setState({
  595. primaryOrderData: thisdata
  596. });
  597. }
  598. }.bind(this)
  599. });
  600. },
  601. // 附加订单数据
  602. additionalOrder(additionalOrder) {
  603. $.ajax({
  604. method: "get",
  605. dataType: "json",
  606. crossDomain: false,
  607. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  608. data: {
  609. orderNo: additionalOrder
  610. },
  611. success: function (data) {
  612. if (data.error.length || data.data.list == "") {
  613. if (data.error && data.error.length) {
  614. message.warning(data.error[0].message);
  615. }
  616. } else {
  617. let thisdata = data.data;
  618. this.setState({
  619. additionalOrderData: thisdata
  620. });
  621. }
  622. }.bind(this)
  623. });
  624. },
  625. //项目列表
  626. xiangmu(orderNos) {
  627. $.ajax({
  628. method: "get",
  629. dataType: "json",
  630. crossDomain: false,
  631. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  632. data: {
  633. orderNo: orderNos
  634. },
  635. success: function (data) {
  636. let theArr = [];
  637. if (data.error.length || data.data.list == "") {
  638. if (data.error && data.error.length) {
  639. message.warning(data.error[0].message);
  640. }
  641. } else {
  642. for (let i = 0; i < data.data.length; i++) {
  643. let thisdata = data.data[i];
  644. thisdata.key = i;
  645. thisdata.sort = thisdata.cSort;
  646. theArr.push(thisdata);
  647. }
  648. }
  649. this.setState({
  650. dataSourceX: theArr
  651. });
  652. }.bind(this)
  653. });
  654. },
  655. search(obj) {
  656. if (obj.reset) {
  657. this.state.searchData.deps = [];
  658. this.Cascaders.empty();
  659. this.loadData(1);
  660. } else {
  661. this.setState(
  662. {
  663. searchData: Object.assign(this.state.searchData, obj)
  664. },
  665. () => {
  666. this.loadData(1);
  667. }
  668. );
  669. }
  670. },
  671. rizhi(orderNo) {
  672. $.ajax({
  673. method: "get",
  674. dataType: "json",
  675. crossDomain: false,
  676. url: "/api/admin/newOrder/selectOrderLog",
  677. data: {
  678. orderNo: orderNo
  679. },
  680. success: function (data) {
  681. let theArr = [];
  682. let thisData = data.data;
  683. if (!thisData.length) {
  684. if (data.error && data.error.length) {
  685. message.warning(data.error[0].message);
  686. }
  687. thisData = {};
  688. } else {
  689. for (let i = 0; i < data.data.length; i++) {
  690. let thisdata = data.data[i];
  691. theArr.push({
  692. processName: thisdata.processName,
  693. adminName: thisdata.adminName,
  694. createDate: thisdata.createDate,
  695. remarks: thisdata.remarks
  696. });
  697. }
  698. }
  699. this.setState({
  700. dataSourcerizhi: theArr
  701. });
  702. }.bind(this)
  703. });
  704. },
  705. getOrderLog(orderNo) {
  706. this.setState({
  707. rizhivisible: true
  708. });
  709. this.rizhi(orderNo);
  710. },
  711. closeOrderLog() {
  712. this.setState({
  713. rizhivisible: false
  714. });
  715. },
  716. //节点列表
  717. jiedian(orderNos) {
  718. $.ajax({
  719. method: "get",
  720. dataType: "json",
  721. crossDomain: false,
  722. url: globalConfig.context + "/api/admin/newOrder/selectOrderDun",
  723. data: {
  724. orderNo: orderNos
  725. },
  726. success: function (data) {
  727. let theArr = [];
  728. let thisData = [];
  729. if (data.error.length || data.data.list == "") {
  730. if (data.error && data.error.length) {
  731. message.warning(data.error[0].message);
  732. }
  733. } else {
  734. for (let i = 0; i < data.data.length; i++) {
  735. thisData = data.data[i];
  736. theArr.push({
  737. key: i,
  738. dunSubject: thisData.dunSubject
  739. ? thisData.dunSubject.toString()
  740. : "", //催款科目
  741. id: thisData.id, //节点Id
  742. money: thisData.money, //催款金额
  743. dunStatus: thisData.dunStatus //催款状态
  744. });
  745. }
  746. this.setState({
  747. contactList: theArr
  748. });
  749. }
  750. }.bind(this)
  751. });
  752. },
  753. jiedianNew(orderNos) {
  754. $.ajax({
  755. method: "get",
  756. dataType: "json",
  757. crossDomain: false,
  758. url:
  759. globalConfig.context + "/api/admin/newOrderDun/selectListNewOrderDun",
  760. data: {
  761. orderNo: orderNos
  762. },
  763. success: function (data) {
  764. if (data.error && data.error.length) {
  765. message.warning(data.error[0].message);
  766. } else {
  767. let theArr = [];
  768. let thisData = [];
  769. let arr = data.data || [];
  770. let totalCui = 0;
  771. for (let i = 0; i < arr.length; i++) {
  772. thisData = arr[i];
  773. totalCui += +thisData.money;
  774. theArr.push({
  775. key: i,
  776. dunSubject: thisData.dunSubject
  777. ? thisData.dunSubject.toString()
  778. : "", //催款科目
  779. id: thisData.id, //节点Id
  780. money: thisData.money, //催款金额
  781. // orderNo: record ? record.orderNo : this.props.datauser.orderNo,
  782. commodityName: thisData.commodityName,
  783. projectType: thisData.projectType,
  784. dunTypeName: thisData.dunTypeName,
  785. status: thisData.status,
  786. waitDay: thisData.waitDay,
  787. effectiveCount: thisData.effectiveCount,
  788. startDate: thisData.startDate,
  789. dunType: thisData.dunType,
  790. appropriationRatio: thisData.appropriationRatio,
  791. customizeName: thisData.customizeName,
  792. customizeTimes: thisData.customizeTimes,
  793. tid: thisData.tid,
  794. });
  795. }
  796. if (!totalCui) {
  797. totalCui = 0;
  798. }
  799. totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
  800. this.setState({
  801. contactListNew: theArr,
  802. totalCui
  803. });
  804. }
  805. }.bind(this)
  806. }).always(
  807. function () {
  808. this.setState({
  809. loading: false
  810. });
  811. }.bind(this)
  812. );
  813. },
  814. //审核通过
  815. examOk() {
  816. $.ajax({
  817. method: "post",
  818. dataType: "json",
  819. crossDomain: false,
  820. url: globalConfig.context + "/api/admin/newOrder/auditOrderNew",
  821. data: {
  822. orderNo: this.state.orderNo,
  823. orderStatus: 2
  824. },
  825. success: function (data) {
  826. if (data.error.length || data.data.list == "") {
  827. if (data.error && data.error.length) {
  828. message.warning(data.error[0].message);
  829. }
  830. } else {
  831. message.success("该订单已通过审核~");
  832. this.setState({
  833. visible: false
  834. });
  835. this.reset();
  836. }
  837. }.bind(this)
  838. }).always(
  839. function () {
  840. this.setState({
  841. loading: false
  842. });
  843. }.bind(this)
  844. );
  845. },
  846. //通过发给外包
  847. outsourcing() {
  848. $.ajax({
  849. method: "post",
  850. dataType: "json",
  851. crossDomain: false,
  852. url: globalConfig.context + "/api/admin/newOrder/auditOrderNew",
  853. data: {
  854. orderNo: this.state.orderNo,
  855. orderStatus: 2,
  856. outsource: 1
  857. },
  858. success: function (data) {
  859. if (data.error.length || data.data.list == "") {
  860. if (data.error && data.error.length) {
  861. message.warning(data.error[0].message);
  862. }
  863. } else {
  864. message.success("该订单已通过审核~");
  865. this.setState({
  866. visible: false
  867. });
  868. this.reset();
  869. }
  870. }.bind(this)
  871. }).always(
  872. function () {
  873. this.setState({
  874. loading: false
  875. });
  876. }.bind(this)
  877. );
  878. },
  879. //审核不通过
  880. examOks() {
  881. this.setState({
  882. aloading: true
  883. });
  884. $.ajax({
  885. method: "post",
  886. dataType: "json",
  887. crossDomain: false,
  888. url: globalConfig.context + "/api/admin/newOrder/auditOrderNew",
  889. data: {
  890. orderNo: this.state.orderNo,
  891. orderStatus: 3,
  892. reason: this.state.reason
  893. },
  894. success: function (data) {
  895. if (data.error.length || data.data.list == "") {
  896. if (data.error && data.error.length) {
  897. message.warning(data.error[0].message);
  898. this.setState({
  899. aloading: true
  900. });
  901. }
  902. } else {
  903. message.success("该订单已被拒绝~");
  904. this.setState({
  905. visible: false,
  906. aloading: false,
  907. noVisible: false,
  908. reason: ""
  909. });
  910. this.reset();
  911. // window.location.reload()
  912. }
  913. }.bind(this)
  914. }).always(
  915. function () {
  916. this.setState({
  917. loading: false
  918. });
  919. }.bind(this)
  920. );
  921. },
  922. //点击拒绝
  923. examNo() {
  924. this.setState({
  925. noVisible: true
  926. });
  927. },
  928. loadDataChange(key) {
  929. $.ajax({
  930. method: "get",
  931. dataType: "json",
  932. async: false,
  933. crossDomain: false,
  934. url: globalConfig.context + "/api/admin/orderChange/orderChangeLogList",
  935. data: {
  936. changeId: key
  937. },
  938. success: function (data) {
  939. if (data.error.length || data.data.list == "") {
  940. if (data.error && data.error.length) {
  941. message.warning(data.error[0].message);
  942. }
  943. } else {
  944. // console.log("拿到历史", data.data);
  945. this.setState({
  946. dataProps: data.data
  947. });
  948. }
  949. }.bind(this)
  950. });
  951. },
  952. callback(key) {
  953. this.setState(
  954. {
  955. activeKey: key
  956. },
  957. () => {
  958. if (key != "a" && key != "c" && key.length < 10) {
  959. this.ChangeDetail(key);
  960. this.loadDataChange(key);
  961. } else if (key != "a" && key != "c" && key.length > 10) {
  962. this.primaryOrder(key);
  963. this.xiangmu(key);
  964. this.jiedian(key);
  965. this.jiedianNew(key);
  966. this.loadDataChange(key);
  967. }
  968. }
  969. );
  970. if (key === "a") {
  971. this.xiangmu(this.state.orderNo);
  972. this.jiedian(this.state.orderNo);
  973. this.jiedianNew(this.state.orderNo);
  974. }
  975. // if (key === "2") {
  976. // this.ChangeDetail(this.state.id);
  977. // this.loadDataChange();
  978. // }
  979. // if (key === "3") {
  980. // this.primaryOrder(this.state.primaryOrderNo);
  981. // this.xiangmu(this.state.primaryOrderNo);
  982. // this.jiedian(this.state.primaryOrderNo);
  983. // this.jiedianNew(this.state.primaryOrderNo);
  984. // }
  985. if (key === "c") {
  986. this.additionalOrder(this.state.additionalOrder);
  987. this.xiangmu(this.state.additionalOrder);
  988. this.jiedian(this.state.additionalOrder);
  989. this.jiedianNew(this.state.additionalOrder);
  990. this.setState({
  991. buttonStatusA: false
  992. });
  993. } else {
  994. this.setState({
  995. buttonStatusA: true
  996. });
  997. }
  998. },
  999. closeDesc(e, s) {
  1000. this.state.activeKey = "a";
  1001. this.state.userDetaile = false;
  1002. this.state.signBillVisible = false;
  1003. this.state.visible = e;
  1004. if (s) {
  1005. this.loadData(this.state.pageNo);
  1006. }
  1007. },
  1008. // 获取原订单编号
  1009. getPrimaryOrder(value) {
  1010. this.setState({
  1011. primaryOrder: value
  1012. });
  1013. },
  1014. getAdditionalOrder(value) {
  1015. this.setState({
  1016. additionalOrder: value
  1017. });
  1018. },
  1019. getUrl(url) {
  1020. let theorgCodeUrl = [];
  1021. if (url.length) {
  1022. let picArr = [];
  1023. url.map(function (item) {
  1024. if (
  1025. item.response &&
  1026. item.response.data &&
  1027. item.response.data.length
  1028. ) {
  1029. picArr.push(item.response.data);
  1030. }
  1031. });
  1032. theorgCodeUrl = picArr.join(",");
  1033. }
  1034. return theorgCodeUrl;
  1035. },
  1036. sureOut() {
  1037. if (!this.state.companyName) {
  1038. message.warning("公司名称不能为空");
  1039. return;
  1040. }
  1041. if (!this.state.unitPrice) {
  1042. message.warning("单价不能为空");
  1043. return;
  1044. }
  1045. if (!this.state.unitNumber) {
  1046. message.warning("数量不能为空");
  1047. return;
  1048. }
  1049. if (!this.state.amount) {
  1050. message.warning("总金额不能为空");
  1051. return;
  1052. }
  1053. if (!this.state.outsourceRemarks) {
  1054. message.warning("备注不能为空");
  1055. return;
  1056. }
  1057. if (this.state.pictureUrl.length === 0) {
  1058. message.warning("合同扫描件不能为空");
  1059. return;
  1060. }
  1061. $.ajax({
  1062. method: "POST",
  1063. dataType: "json",
  1064. crossDomain: false,
  1065. url: globalConfig.context + "/api/admin/outsourceOrg/auditOutsource",
  1066. data: {
  1067. id: this.state.id,
  1068. orderNo: this.state.orderNo,
  1069. companyName: this.state.companyName,
  1070. amount: this.state.amount,
  1071. outsourceRemarks: this.state.outsourceRemarks,
  1072. unitNumber: this.state.unitNumber,
  1073. unitPrice: this.state.unitPrice,
  1074. attachmentUrl: this.getUrl(this.state.attachmentUrl).length
  1075. ? this.getUrl(this.state.attachmentUrl)
  1076. : "",
  1077. orderStatus: 2,
  1078. pictureUrl: this.getUrl(this.state.pictureUrl).length
  1079. ? this.getUrl(this.state.pictureUrl)
  1080. : ""
  1081. }
  1082. }).done(
  1083. function (data) {
  1084. this.setState({
  1085. loading: false
  1086. });
  1087. if (!data.error.length) {
  1088. message.success("发起成功!");
  1089. this.outReset();
  1090. this.visitCancel();
  1091. } else {
  1092. message.warning(data.error[0].message);
  1093. }
  1094. }.bind(this)
  1095. );
  1096. },
  1097. //关闭输入理由框
  1098. noCancel() {
  1099. this.setState({
  1100. noVisible: false,
  1101. aloading: false,
  1102. reason: ""
  1103. });
  1104. },
  1105. //重置
  1106. reset() {
  1107. this.setState({
  1108. signBillVisible: false
  1109. });
  1110. this.state.orderNo = "";
  1111. this.state.customerName = "";
  1112. this.state.releaseDate[0] = undefined;
  1113. this.state.releaseDate[1] = undefined;
  1114. this.state.approval = undefined;
  1115. this.loadData(1);
  1116. // window.location.reload();
  1117. },
  1118. outReset() {
  1119. this.setState({
  1120. companyName: "",
  1121. amount: "",
  1122. unitPrice: "",
  1123. unitNumber: "",
  1124. outsourceRemarks: "",
  1125. attachmentUrl: [],
  1126. pictureUrl: []
  1127. });
  1128. },
  1129. getOrgCodeUrl(e) {
  1130. this.setState({ pictureUrl: e });
  1131. },
  1132. //关闭详情
  1133. visitCancel() {
  1134. this.setState(
  1135. {
  1136. activeKey: "a",
  1137. visible: false
  1138. });
  1139. this.loadData(this.state.pageNo);
  1140. },
  1141. visitOk() {
  1142. this.setState({
  1143. visible: false
  1144. });
  1145. },
  1146. changeList(arr) {
  1147. const newArr = [];
  1148. this.state.columns.forEach(item => {
  1149. arr.forEach(val => {
  1150. if (val === item.title) {
  1151. newArr.push(item);
  1152. }
  1153. });
  1154. });
  1155. this.setState({
  1156. changeList: newArr
  1157. });
  1158. },
  1159. createTabs() {
  1160. $.ajax({
  1161. url: globalConfig.context + "/api/admin/orderChange/getOrderChange",
  1162. method: "get",
  1163. data: {
  1164. orderNo: this.state.orderNo
  1165. },
  1166. success: data => {
  1167. if (data.error && data.error.length) {
  1168. message.warning(data.error[0].message);
  1169. } else {
  1170. this.setState({
  1171. tabList: data.data
  1172. });
  1173. }
  1174. }
  1175. });
  1176. },
  1177. render() {
  1178. const tabList = this.state.tabList || [];
  1179. const formItemLayout = {
  1180. labelCol: { span: 8 },
  1181. wrapperCol: { span: 14 }
  1182. };
  1183. const FormItem = Form.Item;
  1184. const { TabPane } = Tabs;
  1185. return (
  1186. <div className="user-content">
  1187. <ShowModalDiv ShowModal={this.state.showModal} />
  1188. <div className="content-title" style={{ marginBottom: 10 }}>
  1189. <span style={{ fontWeight: 900, fontSize: 16 }}>
  1190. 合同变更审核订单
  1191. </span>
  1192. </div>
  1193. <div className="user-search">
  1194. <Tabs
  1195. defaultActiveKey="1"
  1196. onChange={this.callback}
  1197. className="test">
  1198. <TabPane tab="搜索" key="1">
  1199. <div style={{ marginLeft: 10 }}>
  1200. <Cascaders
  1201. ref={node => this.Cascaders = node}
  1202. placeholder="订单部门"
  1203. id="id"
  1204. name="name"
  1205. children="list"
  1206. height={28}
  1207. onSel={(e) => {
  1208. const { searchData } = this.state
  1209. searchData["deps"] = JSON.stringify(e);
  1210. this.setState({
  1211. searchData: searchData
  1212. })
  1213. }}
  1214. />
  1215. <SearchInput search={this.search} />
  1216. </div>
  1217. </TabPane>
  1218. <TabPane tab="更改表格数据" key="2">
  1219. <div style={{ marginTop: 10, marginLeft: 10 }}>
  1220. <ChooseList
  1221. columns={this.state.columns}
  1222. changeFn={this.changeList}
  1223. changeList={this.state.changeList}
  1224. top={65}
  1225. />
  1226. </div>
  1227. </TabPane>
  1228. </Tabs>
  1229. <div className="patent-table">
  1230. <Spin spinning={this.state.loading}>
  1231. <Table
  1232. size="small"
  1233. bordered
  1234. columns={
  1235. this.state.changeList == undefined
  1236. ? this.state.columns
  1237. : this.state.changeList
  1238. }
  1239. dataSource={this.state.dataSource}
  1240. pagination={this.state.pagination}
  1241. onRowClick={this.tableRowClick}
  1242. />
  1243. </Spin>
  1244. </div>
  1245. <Modal
  1246. className="customeDetails"
  1247. footer=""
  1248. maskClosable={false}
  1249. width="1200px"
  1250. visible={this.state.visible}
  1251. onOk={this.visitOk}
  1252. onCancel={this.visitCancel}
  1253. >
  1254. {this.state.visible ? <Tabs
  1255. activeKey={this.state.activeKey}
  1256. onChange={this.callback}
  1257. type="card"
  1258. tabBarExtraContent={
  1259. <div style={{ fontWeight: 'bold', paddingRight: '15px' }}>
  1260. <OrderItemStatus deleteSign={this.state.deleteSign} />
  1261. </div>
  1262. }
  1263. >
  1264. <TabPane tab="订单详情" key="a">
  1265. <div style={{ paddingBottom: "40px" }}>
  1266. <Spin spinning={this.state.loading}>
  1267. {this.state.activeKey === 'a' && this.state.visible ?
  1268. <OrderDetail
  1269. orderData={this.state.orderData}
  1270. orderUid={this.state.orderUid}
  1271. getOrderLog={this.getOrderLog}
  1272. dataSourceX={this.state.dataSourceX}
  1273. contactList={this.state.contactList}
  1274. orderNo={this.state.orderNo}
  1275. totalCui={this.state.totalCui}
  1276. contactListNew={this.state.contactListNew}
  1277. // isCaiWu={true}
  1278. /> : <div />}
  1279. </Spin>
  1280. </div>
  1281. </TabPane>
  1282. {/* <TabPane tab="合同变更记录" key="2">
  1283. <ChangeDetail
  1284. data={this.state.contractData}
  1285. txt={this.state.processStateText}
  1286. pictureUrl={this.state.voucherUrl}
  1287. processState={this.props.processState}
  1288. loadData={this.callback}
  1289. reset={this.state.visible}
  1290. dataSource={this.state.dataProps}
  1291. proceedsData={this.state.proceedsData}
  1292. proceedsTotal={this.state.proTotal}
  1293. invoiceTotal={this.state.invTotal}
  1294. contactList={this.state.refundInvoice}
  1295. onCancel={this.visitCancel}
  1296. />
  1297. </TabPane> */}
  1298. {tabList.map((item, index, arr) => {
  1299. return (
  1300. <TabPane tab={"合同变更记录" + (index + 1)} key={item.id}>
  1301. {this.state.activeKey === String(item.id) ? <ChangeDetail
  1302. id={item.id}
  1303. money={
  1304. index == arr.length - 1
  1305. ? this.state.orderData.totalAmount + ""
  1306. : undefined
  1307. }
  1308. orderUid={this.state.orderUid}
  1309. data={this.state.contractData}
  1310. orderData={this.state.orderData}
  1311. txt={this.state.processStateText}
  1312. pictureUrl={this.state.voucherUrl}
  1313. contractPictureUrl={this.state.contractPictureUrl}
  1314. attachment={this.state.attachment}
  1315. processState={this.props.processState}
  1316. loadData={this.callback}
  1317. reset={this.state.visible}
  1318. dataSource={this.state.dataProps}
  1319. proceedsData={this.state.proceedsData}
  1320. proceedsTotal={this.state.proTotal}
  1321. invoiceTotal={this.state.invTotal}
  1322. contactList={this.state.refundInvoice}
  1323. onCancel={this.visitCancel}
  1324. /> : <div />}
  1325. </TabPane>
  1326. );
  1327. })}
  1328. {/* {this.state.status === 4 ? (
  1329. <TabPane tab="原订单" key="3">
  1330. <Form
  1331. layout="horizontal"
  1332. onSubmit={this.handleSubmit}
  1333. id="demand-form"
  1334. style={{ paddingBottom: "40px" }}
  1335. >
  1336. <Spin spinning={this.state.loading}>
  1337. <OrderDetail
  1338. orderData={this.state.primaryOrderData}
  1339. getOrderLog={this.getOrderLog}
  1340. dataSourceX={this.state.dataSourceX}
  1341. contactList={this.state.contactList}
  1342. orderNo={this.state.primaryOrderNo}
  1343. isCaiWu={true}
  1344. totalCui={this.state.totalCui}
  1345. contactListNew={this.state.contactListNew}
  1346. />
  1347. </Spin>
  1348. </Form>
  1349. </TabPane>
  1350. ) : (
  1351. ""
  1352. )} */}
  1353. {tabList.map((item, index) => {
  1354. if (item.usedOrder) {
  1355. return (
  1356. <TabPane
  1357. tab={"原订单" + (index + 1)}
  1358. key={item.usedOrder}
  1359. >
  1360. {this.state.activeKey === String(item.usedOrder) ? <Form
  1361. layout="horizontal"
  1362. onSubmit={this.handleSubmit}
  1363. id="demand-form"
  1364. style={{ paddingBottom: "40px" }}
  1365. >
  1366. <Spin spinning={this.state.loading}>
  1367. {this.state.visible ? <OrderDetail
  1368. orderUid={this.state.orderUid}
  1369. orderData={this.state.primaryOrderData}
  1370. getOrderLog={this.getOrderLog}
  1371. dataSourceX={this.state.dataSourceX}
  1372. contactList={this.state.contactList}
  1373. orderNo={this.state.primaryOrderNo}
  1374. isCaiWu={true}
  1375. totalCui={this.state.totalCui}
  1376. contactListNew={this.state.contactListNew}
  1377. /> : <div />}
  1378. </Spin>
  1379. </Form> : <div />}
  1380. </TabPane>
  1381. );
  1382. } else {
  1383. return "";
  1384. }
  1385. })}
  1386. {this.state.status === 4 && this.state.isAddition ? (
  1387. this.state.type === 4 || this.state.type === 5 ? (
  1388. <TabPane tab="附加订单" key="c">
  1389. {this.state.activeKey === "c" && this.state.visible ? <OrderDetail
  1390. orderUid={this.state.orderUid}
  1391. orderData={this.state.additionalOrderData}
  1392. getOrderLog={this.getOrderLog}
  1393. dataSourceX={this.state.dataSourceX}
  1394. contactList={this.state.contactList}
  1395. orderNo={this.state.additionalOrder}
  1396. isCaiWu={true}
  1397. totalCui={this.state.totalCui}
  1398. contactListNew={this.state.contactListNew}
  1399. /> : <div />}
  1400. </TabPane>
  1401. ) : (
  1402. ""
  1403. )
  1404. ) : (
  1405. ""
  1406. )}
  1407. </Tabs> : <div />}
  1408. </Modal>
  1409. <Modal
  1410. maskClosable={false}
  1411. visible={this.state.noVisible}
  1412. onOk={this.handleOk}
  1413. onCancel={this.noCancel}
  1414. width="400px"
  1415. title={"拒绝理由"}
  1416. footer=""
  1417. className="admin-desc-content"
  1418. confirmLoading={this.state.confirmLoading}
  1419. >
  1420. <Form layout="horizontal" id="demand-form">
  1421. <Spin spinning={this.state.loading}>
  1422. <div className="clearfix">
  1423. <FormItem
  1424. labelCol={{ span: 4 }}
  1425. wrapperCol={{ span: 16 }}
  1426. label="拒绝理由"
  1427. >
  1428. <Input
  1429. type="textarea"
  1430. placeholder="请输入拒绝理由"
  1431. rows={4}
  1432. value={this.state.reason}
  1433. onChange={e => {
  1434. this.setState({ reason: e.target.value });
  1435. }}
  1436. />
  1437. </FormItem>
  1438. </div>
  1439. <div className="clearfix">
  1440. <Button
  1441. className="cancel"
  1442. type="primary"
  1443. onClick={this.examOks}
  1444. style={{ marginLeft: "50px" }}
  1445. htmlType="submit"
  1446. loading={this.state.aloading}
  1447. >
  1448. 确定
  1449. </Button>
  1450. <Button
  1451. className="cancel"
  1452. type="ghost"
  1453. onClick={this.noCancel}
  1454. style={{ marginLeft: "50px" }}
  1455. >
  1456. 取消
  1457. </Button>
  1458. </div>
  1459. </Spin>
  1460. </Form>
  1461. </Modal>
  1462. {/* <Modal
  1463. visible={this.state.rizhivisible}
  1464. className="admin-desc-content"
  1465. width="800px"
  1466. maskClosable={false}
  1467. title="订单日志"
  1468. footer={null}
  1469. onCancel={this.closeOrderLog}
  1470. >
  1471. <div className="patent-table">
  1472. <Spin spinning={this.state.loading}>
  1473. <Table
  1474. bordered
  1475. columns={this.state.columnsrizhi}
  1476. dataSource={this.state.dataSourcerizhi}
  1477. pagination={false}
  1478. />
  1479. </Spin>
  1480. </div>
  1481. </Modal> */}
  1482. <OrderRiZi
  1483. dataSourcerizhi={this.state.dataSourcerizhi}
  1484. closeOrderLog={this.closeOrderLog}
  1485. visible={this.state.rizhivisible}
  1486. loading={this.state.loading}
  1487. />
  1488. </div>
  1489. {/* {this.state.addnextVisible && <ProjectDetailsReadOnly
  1490. infor={this.state.dataInfor}
  1491. visible={this.state.addnextVisible}
  1492. onCancel={this.nextCancel}
  1493. />} */}
  1494. {
  1495. // 项目业务详情
  1496. this.state.addnextVisible &&
  1497. <NewEditProject
  1498. readOnly={true}
  1499. visible={this.state.addnextVisible}
  1500. dataInfor={this.state.dataInfor}
  1501. onCancel={this.nextCancel}
  1502. />
  1503. }
  1504. </div>
  1505. );
  1506. }
  1507. })
  1508. );
  1509. export default contractChange;