project.jsx 49 KB

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