project.jsx 49 KB

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