taskCount.jsx 78 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248
  1. import React from 'react';
  2. import { Button, Input, Spin, Table, message,DatePicker, Upload, Form ,Modal,Tabs, Select, Tag} from 'antd';
  3. import $ from 'jquery/src/ajax';
  4. import moment from 'moment';
  5. import {
  6. getLiquidationStatus,
  7. getProcessStatus,
  8. splitUrl,
  9. getboutique,
  10. getTaskStatus,
  11. getApproval,
  12. getprovince,
  13. ShowModal,
  14. getProjectStatus,
  15. getProjectName
  16. } from "@/tools.js";
  17. import ShowModalDiv from "@/showModal.jsx";
  18. import ResolutionDetail from "@/resolutionDetail";
  19. import OrderRiZi from "@/orderRiZi.jsx";
  20. import {ChooseList} from "../../order/orderNew/chooseList";
  21. import PatentSchedule from './patentSchedule';
  22. import DeclarationProgress from "../../../common/declarationProgress";
  23. import ProjectDetailsReadOnly from "../../../common/projectDetailsReadOnly";
  24. const {TabPane} = Tabs
  25. const IntentionCustomer = Form.create()(
  26. React.createClass({
  27. loadData(pageNo) {
  28. this.setState({
  29. visitModul: false,
  30. loadingA: true,
  31. ispage: pageNo,
  32. modalVisible: false
  33. });
  34. let nameText = this.state.SuperArr;
  35. let superText =
  36. this.state.cid && typeof this.state.cid != "object"
  37. ? nameText[parseInt(this.state.cid)].id
  38. : "";
  39. if (superText) {
  40. $.ajax({
  41. method: "get",
  42. dataType: "json",
  43. crossDomain: false,
  44. url: globalConfig.context + "/api/admin/orderProject/taskHoursList",
  45. data: {
  46. pageNo: pageNo || 1,
  47. pageSize: this.state.pagination.pageSize,
  48. name: this.state.customerName, //名称
  49. taskId: this.state.idSearch, //订单编号
  50. orderNo: this.state.orderNoSearch,
  51. starTime: this.state.releaseDate[0], //开始时间
  52. endTime: this.state.releaseDate[1], //结束时间
  53. contractNo: this.state.contractNoSearch,
  54. cid: superText, //业务分类
  55. depId: this.state.departmenttList, //部门ID
  56. outsource: this.state.outsourceSearch
  57. },
  58. success: function(data) {
  59. let theArr = [];
  60. if (data.error.length || data.data.list == "") {
  61. if (data.error && data.error.length) {
  62. message.warning(data.error[0].message);
  63. }
  64. } else {
  65. for (let i = 0; i < data.data.list.length; i++) {
  66. let thisdata = data.data.list[i];
  67. theArr.push({
  68. key: i,
  69. id: thisdata.id, //ID
  70. orderNo: thisdata.orderNo, //订单编号
  71. taskName: thisdata.taskName, //任务名称
  72. userName: thisdata.userName, //客户名称
  73. cname: thisdata.cname, //项目品类
  74. taskStatus: thisdata.taskStatus, //任务状态
  75. receiverName: thisdata.receiverName, //负责人
  76. hours: thisdata.hours, //任务工时
  77. depName: thisdata.depName, //派单公司
  78. contractNo: thisdata.contractNo,
  79. signTime: thisdata.signTime,
  80. creteTime: thisdata.creteTime,
  81. projectStatus: thisdata.projectStatus,
  82. commodityPrice: thisdata.commodityPrice, //价格
  83. commodityQuantity: thisdata.commodityQuantity, //数量
  84. salesmanName: thisdata.salesmanName, //订单负责人
  85. taskDistributionTime: thisdata.taskDistributionTime,
  86. taskEndTime: thisdata.taskEndTime,
  87. outsource: thisdata.outsource,
  88. splitStatus: thisdata.splitStatus,
  89. splitSuper: thisdata.splitSuper,
  90. splitId: thisdata.splitId
  91. });
  92. }
  93. this.state.pagination.total = data.data.totalCount;
  94. this.state.pagination.current = data.data.pageNo;
  95. }
  96. if (data.data && data.data.list && !data.data.list.length) {
  97. this.state.pagination.total = 0;
  98. }
  99. this.setState({
  100. dataSource: theArr,
  101. pageNo: pageNo,
  102. pagination: this.state.pagination,
  103. selectedRowKeys: []
  104. });
  105. }.bind(this)
  106. }).always(
  107. function() {
  108. this.setState({
  109. loadingA: false
  110. });
  111. }.bind(this)
  112. );
  113. } else {
  114. $.ajax({
  115. method: "get",
  116. dataType: "json",
  117. crossDomain: false,
  118. url: globalConfig.context + "/api/admin/orderProject/taskHoursList",
  119. data: {
  120. pageNo: pageNo || 1,
  121. pageSize: this.state.pagination.pageSize,
  122. name: this.state.customerName, //名称
  123. taskId: this.state.idSearch, //订单编号
  124. orderNo: this.state.orderNoSearch,
  125. starTime: this.state.releaseDate[0], //开始时间
  126. endTime: this.state.releaseDate[1], //结束时间
  127. contractNo: this.state.contractNoSearch,
  128. depId: this.state.departmenttList, //部门ID
  129. outsource: this.state.outsourceSearch
  130. },
  131. success: function(data) {
  132. let theArr = [];
  133. if (data.error.length || data.data.list == "") {
  134. if (data.error && data.error.length) {
  135. message.warning(data.error[0].message);
  136. }
  137. } else {
  138. for (let i = 0; i < data.data.list.length; i++) {
  139. let thisdata = data.data.list[i];
  140. thisdata.key = i;
  141. theArr.push(thisdata);
  142. }
  143. this.state.pagination.total = data.data.totalCount;
  144. this.state.pagination.current = data.data.pageNo;
  145. }
  146. if (data.data && data.data.list && !data.data.list.length) {
  147. this.state.pagination.total = 0;
  148. }
  149. this.setState({
  150. dataSource: theArr,
  151. pageNo: pageNo,
  152. pagination: this.state.pagination,
  153. selectedRowKeys: []
  154. });
  155. }.bind(this)
  156. }).always(
  157. function() {
  158. this.setState({
  159. loadingA: false
  160. });
  161. }.bind(this)
  162. );
  163. }
  164. },
  165. getInitialState() {
  166. return {
  167. page: 1,
  168. releaseDate: [],
  169. selectedRowKeys: [],
  170. timeRecordparse:{},
  171. orgCodeUrl: [],
  172. declarationBatch: 1,
  173. dataInfor: {},
  174. loadingA: false,
  175. paginations: false,
  176. pagination: {
  177. defaultCurrent: 1,
  178. defaultPageSize: 10,
  179. showQuickJumper: true,
  180. pageSize: 10,
  181. onChange: function(page) {
  182. this.loadData(page);
  183. }.bind(this),
  184. showTotal: function(total) {
  185. return "共" + total + "条数据";
  186. }
  187. },
  188. columns: [
  189. {
  190. title: "合同编号",
  191. dataIndex: "contractNo",
  192. key: "contractNo"
  193. },
  194. {
  195. title: "订单编号",
  196. dataIndex: "orderNo",
  197. key: "orderNo"
  198. },
  199. {
  200. title: "项目编号",
  201. dataIndex: "id",
  202. key: "id",
  203. render: (text, record) => {
  204. if (record.splitStatus == 2) {
  205. return <span>{record.splitSuper + "-" + record.splitId}</span>;
  206. } else {
  207. return text;
  208. }
  209. }
  210. },
  211. {
  212. title: "客户名称",
  213. dataIndex: "userName",
  214. key: "userName",
  215. render: text => {
  216. return text && text.length > 9 ? text.substr(0, 9) + "..." : text;
  217. }
  218. },
  219. {
  220. title: "订单部门",
  221. dataIndex: "depName",
  222. key: "depName"
  223. },
  224. {
  225. title: "订单负责人",
  226. dataIndex: "salesmanName",
  227. key: "salesmanName"
  228. },
  229. {
  230. title: "项目类别",
  231. dataIndex: "cname",
  232. key: "cname"
  233. },
  234. {
  235. title: "项目名称",
  236. dataIndex: "taskName",
  237. key: "taskName"
  238. },
  239. {
  240. title: "项目负责人",
  241. dataIndex: "receiverName",
  242. key: "receiverName"
  243. },
  244. {
  245. title: "项目价格(万元)",
  246. dataIndex: "commodityPrice",
  247. key: "commodityPrice"
  248. },
  249. {
  250. title: "实际成本(万元)",
  251. dataIndex: "costAmount",
  252. key: "costAmount"
  253. },
  254. {
  255. title: "已付成本(万元)",
  256. dataIndex: "partyAmount",
  257. key: "partyAmount"
  258. },
  259. {
  260. title: "数量(个)",
  261. dataIndex: "commodityQuantity",
  262. key: "commodityQuantity"
  263. },
  264. {
  265. title: "任务状态",
  266. dataIndex: "taskStatus",
  267. key: "taskStatus",
  268. render: text => {
  269. return getTaskStatus(text);
  270. }
  271. },
  272. {
  273. title: "项目状态",
  274. dataIndex: "projectStatus",
  275. key: "projectStatus",
  276. render: text => {
  277. return getProjectName(text);
  278. }
  279. },
  280. {
  281. title: "工时",
  282. dataIndex: "hours",
  283. key: "hours"
  284. },
  285. // {
  286. // title: "是否外包",
  287. // dataIndex: "outsource",
  288. // key: "outsource",
  289. // render: text => {
  290. // if (text == 0) {
  291. // return "否";
  292. // } else if (text == 1) {
  293. // return "是";
  294. // }
  295. // }
  296. // },
  297. {
  298. title: "签单日期",
  299. dataIndex: "signTime",
  300. key: "signTime"
  301. },
  302. {
  303. title: "派单日期",
  304. dataIndex: "creteTime",
  305. key: "creteTime"
  306. },
  307. {
  308. title: "分配时间",
  309. dataIndex: "taskDistributionTime",
  310. key: "taskDistributionTime"
  311. },
  312. {
  313. title: "完成时间",
  314. dataIndex: "taskEndTime",
  315. key: "taskEndTime"
  316. }
  317. ],
  318. data: [],
  319. dataSource: [],
  320. columnsX: [
  321. {
  322. title: "业务项目名称",
  323. dataIndex: "commodityName",
  324. key: "commodityName"
  325. },
  326. {
  327. title: "项目类别",
  328. dataIndex: "cname",
  329. key: "cname"
  330. },
  331. {
  332. title: "项目数量",
  333. dataIndex: "commodityQuantity",
  334. key: "commodityQuantity",
  335. render: (text, record) => {
  336. if (record.splitStatus == 1) {
  337. return (
  338. <span>
  339. {text}{" "}
  340. <Tag
  341. color="#108ee9"
  342. onClick={e => {
  343. e.stopPropagation();
  344. this.showRes(record);
  345. }}
  346. >
  347. 已拆
  348. </Tag>
  349. </span>
  350. );
  351. } else {
  352. return text;
  353. }
  354. }
  355. },
  356. {
  357. title: "金额(万元)",
  358. dataIndex: "commodityPrice",
  359. key: "commodityPrice"
  360. },
  361. {
  362. title: "负责人",
  363. dataIndex: "contacts",
  364. key: "contacts"
  365. },
  366. {
  367. title: "负责人电话",
  368. dataIndex: "contactsMobile",
  369. key: "contactsMobile"
  370. },
  371. {
  372. title: "主要项目",
  373. dataIndex: "main",
  374. key: "main",
  375. render: text => {
  376. return text ? "是" : "否";
  377. }
  378. },
  379. {
  380. title: "项目说明",
  381. dataIndex: "taskComment",
  382. key: "taskComment",
  383. render: text => {
  384. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  385. }
  386. }
  387. ],
  388. columnsA: [
  389. {
  390. title: "流程",
  391. dataIndex: "content",
  392. key: "content",
  393. align: "center"
  394. },
  395. {
  396. title: "操作人",
  397. dataIndex: "aName",
  398. key: "aName",
  399. align: "center"
  400. },
  401. {
  402. title: "时间",
  403. dataIndex: "createTimes",
  404. key: "createTimes",
  405. align: "center"
  406. }
  407. ],
  408. dataSourceX: [],
  409. dataSourceA: [],
  410. ContactsLists: [
  411. {
  412. title: "批次",
  413. dataIndex: "num",
  414. key: "num"
  415. },
  416. {
  417. title: "下证时间",
  418. dataIndex: "licenceTimes",
  419. key: "licenceTimes"
  420. },
  421. {
  422. title: "下证数量",
  423. dataIndex: "alreadyNumber",
  424. key: "alreadyNumber"
  425. },
  426. {
  427. title: "未下证数量",
  428. dataIndex: "notCount",
  429. key: "notCount"
  430. }
  431. ]
  432. };
  433. },
  434. departmentList() {
  435. this.setState({
  436. loading: true
  437. });
  438. $.ajax({
  439. method: "get",
  440. dataType: "json",
  441. crossDomain: false,
  442. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  443. data: {},
  444. success: function(data) {
  445. let thedata = data.data;
  446. let theArr = [];
  447. if (!thedata) {
  448. if (data.error && data.error.length) {
  449. message.warning(data.error[0].message);
  450. }
  451. } else {
  452. thedata.map(function(item, index) {
  453. theArr.push({
  454. key: index,
  455. name: item.name,
  456. id: item.id
  457. });
  458. });
  459. }
  460. this.setState({
  461. departmentArr: theArr
  462. });
  463. }.bind(this)
  464. }).always(
  465. function() {
  466. this.setState({
  467. loading: false
  468. });
  469. }.bind(this)
  470. );
  471. },
  472. //页面加载函数
  473. componentWillMount() {
  474. this.loadData();
  475. this.selectSuperId();
  476. this.departmentList();
  477. },
  478. // //整行点击
  479. tableRowClick(record) {
  480. this.state.RowData = record;
  481. if (record.taskName.substring(0, 5) === "软件著作权") {
  482. this.setState({
  483. speVisible: true,
  484. id: record.id,
  485. dataArr: record,
  486. commodityQuantity: record.commodityQuantity
  487. });
  488. } else {
  489. this.setState({
  490. visible: true
  491. });
  492. }
  493. this.setState({
  494. isIso: record.taskName.indexOf("贯标") !== -1,
  495. })
  496. this.xiangqing(record.id, record.taskName);
  497. this.xiangqings(record.orderNo);
  498. this.xiangmu(record.orderNo);
  499. this.loaduserss(record);
  500. },
  501. //订单详情
  502. xiangqing(id) {
  503. $.ajax({
  504. method: "get",
  505. dataType: "json",
  506. crossDomain: false,
  507. url: globalConfig.context + "/api/admin/orderProject/orderTaskDetail",
  508. data: {
  509. id: id
  510. },
  511. success: function(data) {
  512. if (data.error.length || data.data.list == "") {
  513. if (data.error && data.error.length) {
  514. message.warning(data.error[0].message);
  515. }
  516. } else {
  517. let thisdata = data.data;
  518. this.setState({
  519. certificationCorporate: thisdata.certificationCorporate,//认证费公司
  520. certificationFee: thisdata.certificationFee,//认证费
  521. ifCertificationFee: thisdata.ifCertificationFee,//是否包含认证费
  522. id: thisdata.id, //ID
  523. orderNo: thisdata.orderNo, //订单编号
  524. userName: thisdata.userName, //客户名称
  525. taskName: thisdata.taskName, //任务名称
  526. cname: thisdata.cname, //项目品类
  527. contractNo: thisdata.contractNo, //合同编号
  528. projectStatus: thisdata.projectStatus, //项目状态
  529. taskStatus: thisdata.taskStatus, //任务状态
  530. taskDate: thisdata.taskDate, //分配时间
  531. taskComment: thisdata.taskComment, //说明
  532. attachmentUrl: thisdata.attachmentUrl
  533. ? splitUrl(
  534. thisdata.attachmentUrl,
  535. ",",
  536. globalConfig.avatarHost + "/upload"
  537. )
  538. : [], //图片地址
  539. salesmanName: thisdata.salesmanName, //订单负责人
  540. startDate: thisdata.startDate, //启动日期
  541. endDate: thisdata.endDate, //结束日期
  542. acceptDate: thisdata.acceptDate, //受理日期
  543. reviewDate: thisdata.reviewDate, //评审日期
  544. publicityDate: thisdata.publicityDate, //公示日期
  545. licenceDate: thisdata.licenceDate, //发证日期
  546. contacts: thisdata.contacts, //联系人
  547. contactMobile: thisdata.contactMobile, //联系人电话
  548. legalPerson: thisdata.legalPerson, //法人
  549. legalPersonTel: thisdata.legalPersonTel, //法人电话
  550. certificateNumber: thisdata.certificateNumber, //证书编号
  551. status: thisdata.status, //状态
  552. formRetrieve: thisdata.formRetrieve, //满意度表格
  553. taskRefund: thisdata.taskRefund, //退单
  554. refundContent: thisdata.refundContent, //退单信息
  555. retrieveContent: thisdata.retrieveContent, //回收信息
  556. arrivalMoney: thisdata.arrivalMoney, //是否到款
  557. setUpAmount: thisdata.setUpAmount, //立项金额
  558. declareUser: thisdata.declareUser, //账号
  559. declarePwd: thisdata.declarePwd, //密码
  560. depName: thisdata.depName, //订单部门
  561. outsourceName: thisdata.outsourceName, //外包公司名称
  562. outsourcePrice: thisdata.outsourcePrice, //外包价格
  563. splitStatus: thisdata.splitStatus, //是否为子项目 2是 1主项目
  564. splitSuper: thisdata.splitSuper,
  565. splitId: thisdata.splitId,
  566. declarationBatch: thisdata.declarationBatch,
  567. bpType:thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新 6商标
  568. cSort: thisdata.sort,
  569. specialComment: thisdata.specialComment,
  570. urgentDay: thisdata.urgentDay, //有无材料
  571. ifMaterial: thisdata.ifMaterial, //加急情况
  572. spotCheckStatus: thisdata.spotCheckStatus,
  573. setUpStatus: thisdata.setUpStatus,
  574. setUpTime: thisdata.setUpTime,
  575. highTechStatus: thisdata.highTechStatus,
  576. acceptCount:thisdata.acceptCount, //受理数
  577. certificatesCount:thisdata.certificatesCount, //授权数
  578. rejectCount:thisdata.rejectCount, //驳回数
  579. commodityQuantity:thisdata.commodityQuantity, //派单项目数
  580. timeRecordparse: thisdata.timeRecord ? JSON.parse(thisdata.timeRecord) : {},//项目状态JSON
  581. });
  582. }
  583. }.bind(this)
  584. }).always(
  585. function() {
  586. this.setState({
  587. loading: false
  588. });
  589. }.bind(this)
  590. );
  591. },
  592. //订单详情
  593. xiangqings(orderNos) {
  594. $.ajax({
  595. method: "get",
  596. dataType: "json",
  597. crossDomain: false,
  598. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  599. data: {
  600. orderNo: orderNos
  601. },
  602. success: function(data) {
  603. let thisdata = data.data;
  604. let ProvinceCityArr = [];
  605. let ProvinceS = thisdata.locationProvince; //省
  606. let citys = thisdata.locationCity; //市
  607. let Areas = thisdata.locationArea; //区
  608. ProvinceCityArr.push(ProvinceS, citys, Areas);
  609. if (data.error.length || data.data.list == "") {
  610. if (data.error && data.error.length) {
  611. message.warning(data.error[0].message);
  612. }
  613. } else {
  614. this.setState({
  615. processStatus: thisdata.processStatus, //流程状态
  616. liquidationStatus: thisdata.liquidationStatus, //结算状态
  617. approval: thisdata.approval, //特批状态
  618. orderRemarks: thisdata.orderRemarks, //订单留言
  619. salesmanName: thisdata.salesmanName, //营销员名称
  620. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  621. financeName: thisdata.financeName, //财务名称
  622. financeMobile: thisdata.financeMobile, //财务电话
  623. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  624. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  625. nowFinance: thisdata.nowFinance, //财务名称
  626. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  627. depName: thisdata.depName, //订单部门
  628. locationProvince: thisdata.locationProvince,
  629. locationCity: thisdata.locationCity,
  630. locationArea: thisdata.locationArea,
  631. ProvinceCity: ProvinceCityArr,
  632. postalAddress: thisdata.postalAddress, //详细地址
  633. outsource: thisdata.outsource
  634. });
  635. }
  636. }.bind(this)
  637. }).always(
  638. function() {
  639. this.setState({
  640. loading: false
  641. });
  642. }.bind(this)
  643. );
  644. },
  645. //查看下证信息
  646. loaduserss(record) {
  647. $.ajax({
  648. method: "get",
  649. dataType: "json",
  650. crossDomain: false,
  651. url:
  652. globalConfig.context + "/api/admin/orderProject/selectTaskProgress",
  653. data: {
  654. tid: record.id
  655. },
  656. success: function(data) {
  657. let theArr = [];
  658. let thisData = [];
  659. if (!thisData) {
  660. if (data.error && data.error.length) {
  661. message.warning(data.error[0].message);
  662. }
  663. thisData = {};
  664. } else {
  665. for (let i = 0; i < data.data.length; i++) {
  666. thisData = data.data[i];
  667. theArr.push({
  668. num: i + 1,
  669. key: i,
  670. id: thisData.id, //编号
  671. alreadyNumber: thisData.alreadyNumber, //下证数
  672. licenceTimes: thisData.licenceTimes, //下证时间
  673. notCount: thisData.notCount, //未下证数
  674. flag: true
  675. });
  676. }
  677. this.setState({
  678. contactList: theArr
  679. });
  680. }
  681. }.bind(this)
  682. }).always(
  683. function() {
  684. this.setState({
  685. loading: false
  686. });
  687. }.bind(this)
  688. );
  689. },
  690. //操作日志
  691. caozuorizhi() {
  692. this.setState({
  693. visibleA: true
  694. });
  695. $.ajax({
  696. method: "get",
  697. dataType: "json",
  698. crossDomain: false,
  699. url: globalConfig.context + "/api/admin/orderProject/TaskLogList",
  700. data: {
  701. id: this.state.id
  702. },
  703. success: function(data) {
  704. let theArr = [];
  705. if (data.error.length || data.data.list == "") {
  706. if (data.error && data.error.length) {
  707. message.warning(data.error[0].message);
  708. }
  709. } else {
  710. for (let i = 0; i < data.data.length; i++) {
  711. let thisdata = data.data[i];
  712. theArr.push({
  713. key: i,
  714. id: thisdata.id, //日志ID
  715. content: thisdata.content, //流程
  716. taskId: thisdata.taskId, //任务ID
  717. aName: thisdata.aName, //负责人
  718. createTimes: thisdata.createTimes //时间
  719. });
  720. }
  721. }
  722. this.setState({
  723. dataSourceA: theArr
  724. });
  725. }.bind(this)
  726. }).always(
  727. function() {
  728. this.setState({
  729. loading: false
  730. });
  731. }.bind(this)
  732. );
  733. },
  734. //关闭操作工时
  735. visitCancelA() {
  736. this.setState({
  737. visibleA: false
  738. });
  739. },
  740. //项目列表
  741. xiangmu(orderNos) {
  742. $.ajax({
  743. method: "get",
  744. dataType: "json",
  745. crossDomain: false,
  746. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  747. data: {
  748. orderNo: orderNos
  749. },
  750. success: function(data) {
  751. let theArr = [];
  752. if (data.error.length || data.data.list == "") {
  753. if (data.error && data.error.length) {
  754. message.warning(data.error[0].message);
  755. }
  756. } else {
  757. for (let i = 0; i < data.data.length; i++) {
  758. let thisdata = data.data[i];
  759. thisdata.key = i;
  760. theArr.push(thisdata);
  761. }
  762. }
  763. this.setState({
  764. dataSourceX: theArr
  765. });
  766. }.bind(this)
  767. }).always(
  768. function() {
  769. this.setState({
  770. loading: false
  771. });
  772. }.bind(this)
  773. );
  774. },
  775. // 拆分详细
  776. showRes(record) {
  777. this.setState({
  778. resVisible: true,
  779. resRecord: record
  780. });
  781. },
  782. resCancel() {
  783. this.setState({
  784. resVisible: false
  785. });
  786. },
  787. //关闭输入理由框
  788. noCancel() {
  789. this.setState({
  790. noVisible: false
  791. });
  792. },
  793. //搜索
  794. search() {
  795. this.setState({
  796. //signBillVisible:false
  797. });
  798. this.loadData();
  799. },
  800. //重置
  801. reset() {
  802. this.setState({
  803. signBillVisible: false
  804. });
  805. this.state.orderNo = "";
  806. this.state.customerName = "";
  807. this.state.releaseDate[0] = undefined;
  808. this.state.releaseDate[1] = undefined;
  809. this.state.orderNoSearch = "";
  810. this.state.departmenttList = [];
  811. this.state.cid = [];
  812. this.state.contractNoSearch = "";
  813. this.state.outsourceSearch = [];
  814. this.setState({
  815. urgentDay: '', //有无材料
  816. ifMaterial: '', //加急情况
  817. specialComment: '', //特别说明
  818. spotCheckStatus: '',
  819. setUpStatus: '',
  820. setUpTime: '',
  821. highTechStatus: '',
  822. })
  823. this.loadData();
  824. },
  825. resets() {
  826. this.state.orderNo = "";
  827. this.state.customerName = "";
  828. this.state.releaseDate[0] = undefined;
  829. this.state.releaseDate[1] = undefined;
  830. },
  831. getOrgCodeUrl(e) {
  832. this.setState({ orgCodeUrl: e });
  833. },
  834. setColor() {
  835. $(".userName span").after(
  836. "(<span class='ruanzhu'>软著数</span>/<span class='xiazheng'>下证数</span>)"
  837. );
  838. },
  839. closeDesc(e, s) {
  840. this.state.showDesc = e;
  841. if (s) {
  842. this.loadData(this.state.page);
  843. }
  844. },
  845. closeAssign(e, s) {
  846. this.state.roleName = "";
  847. this.state.assignVisible = e;
  848. if (s) {
  849. this.loadData(this.state.page);
  850. }
  851. },
  852. nextCancel() {
  853. this.setState({
  854. addnextVisible: false
  855. });
  856. },
  857. //点击打卡项目详情
  858. tableRowClickX(record) {
  859. this.setState({
  860. jid: record.id, //项目ID
  861. kid: record.commodityId, //商品ID
  862. commodityName: record.commodityName, //金额
  863. commodityPrice: record.commodityPrice, //金额
  864. commodityQuantity: record.commodityQuantity, //数量
  865. taskComment: record.taskComment, //备注
  866. main: record.main.toString(), //是否为主要
  867. addnextVisible: true,
  868. dataInfor:record,
  869. addState: 0
  870. });
  871. },
  872. //关闭详情
  873. visitCancel() {
  874. this.setState({
  875. visible: false,
  876. speVisible: false
  877. });
  878. this.resets();
  879. },
  880. visitOk() {
  881. this.setState({
  882. visible: false
  883. });
  884. this.resets();
  885. },
  886. //关闭详情
  887. visitCancels() {
  888. this.setState({
  889. visibles: false
  890. });
  891. this.resets();
  892. },
  893. //导出
  894. exportExec() {
  895. var data = {
  896. name: this.state.customerName ? this.state.customerName : undefined, //订单负责人
  897. taskId: this.state.orderNo ? this.state.orderNo : undefined, //订单编号
  898. starTime: this.state.releaseDate[0]
  899. ? this.state.releaseDate[0]
  900. : undefined,
  901. endTime: this.state.releaseDate[1]
  902. ? this.state.releaseDate[1]
  903. : undefined
  904. };
  905. window.location.href =
  906. globalConfig.context +
  907. "/api/admin/orderProject/exportMyTaskList?" +
  908. $.param(data);
  909. },
  910. visitOks() {
  911. this.setState({
  912. visibles: false
  913. });
  914. this.resets();
  915. },
  916. selectSuperId() {
  917. this.state.data = [];
  918. $.ajax({
  919. method: "get",
  920. dataType: "json",
  921. crossDomain: false,
  922. url: globalConfig.context + "/api/admin/ProjectSize/getAllCname",
  923. data: {
  924. flag: 0
  925. },
  926. success: function(data) {
  927. let theArr = [];
  928. let thedata = data.data;
  929. if (!thedata) {
  930. if (data.error && data.error.length) {
  931. message.warning(data.error[0].message);
  932. }
  933. thedata = {};
  934. }
  935. var contactIds = [];
  936. for (var i = 0; i < data.data.length; i++) {
  937. let theData = data.data[i];
  938. theArr.push(
  939. <Select.Option value={i.toString()} key={theData.cname}>
  940. {theData.cname}
  941. </Select.Option>
  942. );
  943. }
  944. this.setState({
  945. SuperArr: thedata,
  946. contactsOption: theArr,
  947. orderStatusOptions: data.data
  948. });
  949. }.bind(this)
  950. }).always(
  951. function() {
  952. this.loadData(this.state.ispage);
  953. this.setState({
  954. loading: false
  955. });
  956. }.bind(this)
  957. );
  958. },
  959. rizhi() {
  960. this.setState({
  961. loading: true
  962. });
  963. $.ajax({
  964. method: "get",
  965. dataType: "json",
  966. crossDomain: false,
  967. url: "/api/admin/newOrder/selectOrderLog",
  968. data: {
  969. orderNo: this.state.orderNo
  970. },
  971. success: function(data) {
  972. let theArr = [];
  973. let thisData = data.data;
  974. if (!thisData.length) {
  975. if (data.error && data.error.length) {
  976. message.warning(data.error[0].message);
  977. }
  978. thisData = {};
  979. } else {
  980. for (let i = 0; i < data.data.length; i++) {
  981. let thisdata = data.data[i];
  982. theArr.push({
  983. processName: thisdata.processName,
  984. adminName: thisdata.adminName,
  985. createDate: thisdata.createDate,
  986. remarks: thisdata.remarks
  987. });
  988. }
  989. }
  990. this.setState({
  991. dataSourceY: theArr
  992. });
  993. }.bind(this)
  994. }).always(
  995. function() {
  996. this.setState({
  997. loading: false
  998. });
  999. }.bind(this)
  1000. );
  1001. },
  1002. closeOrderLog() {
  1003. this.setState({
  1004. avisible: false
  1005. });
  1006. },
  1007. getOrderLog() {
  1008. this.setState({
  1009. avisible: true
  1010. });
  1011. this.rizhi();
  1012. },
  1013. changeList(arr) {
  1014. const newArr = [];
  1015. this.state.columns.forEach(item => {
  1016. arr.forEach(val => {
  1017. if (val === item.title) {
  1018. newArr.push(item);
  1019. }
  1020. });
  1021. });
  1022. this.setState({
  1023. changeList: newArr
  1024. });
  1025. },
  1026. render() {
  1027. const formItemLayout = {
  1028. labelCol: { span: 8 },
  1029. wrapperCol: { span: 14 }
  1030. };
  1031. const utils = {
  1032. getSatisfaction: function(num) {
  1033. switch (num) {
  1034. case 0:
  1035. return "未收回";
  1036. case 1:
  1037. return "已收回";
  1038. default:
  1039. return "其它";
  1040. }
  1041. },
  1042. getChargeback: function(num) {
  1043. switch (num) {
  1044. case 0:
  1045. return "已完成";
  1046. case 1:
  1047. return "未完成";
  1048. default:
  1049. return "其它";
  1050. }
  1051. }
  1052. };
  1053. const FormItem = Form.Item;
  1054. const { RangePicker } = DatePicker;
  1055. const departmentArr = this.state.departmentArr || [];
  1056. const isWai = [
  1057. {
  1058. id: 0,
  1059. name: "非外包"
  1060. },
  1061. {
  1062. id: 1,
  1063. name: "外包"
  1064. }
  1065. ];
  1066. return (
  1067. <div className="user-content">
  1068. {this.state.resVisible ? (
  1069. <ResolutionDetail
  1070. cancel={this.resCancel}
  1071. detail={this.state.resRecord}
  1072. visible={this.state.resVisible}
  1073. id={this.state.resRecord.orderNo}
  1074. />
  1075. ) : (
  1076. ""
  1077. )}
  1078. <ShowModalDiv ShowModal={this.state.showModal} />
  1079. <div className="content-title">
  1080. <span>工时数据统计</span>
  1081. </div>
  1082. <div className="user-search">
  1083. <Tabs
  1084. defaultActiveKey="1"
  1085. onChange={this.callback}
  1086. className="test"
  1087. >
  1088. <TabPane tab="搜索" key="1">
  1089. <Input
  1090. placeholder="客户名称"
  1091. style={{
  1092. width: "150px",
  1093. marginBottom: "10px",
  1094. marginTop: 10,
  1095. marginLeft: 10,
  1096. marginRight: 10,
  1097. }}
  1098. value={this.state.customerName}
  1099. onChange={(e) => {
  1100. this.setState({ customerName: e.target.value });
  1101. }}
  1102. />
  1103. <Input
  1104. placeholder="任务编号"
  1105. style={{ width: "150px", marginRight: 10 }}
  1106. value={this.state.idSearch}
  1107. onChange={(e) => {
  1108. this.setState({ idSearch: e.target.value });
  1109. }}
  1110. />
  1111. <Input
  1112. placeholder="订单编号"
  1113. style={{ width: "150px", marginRight: 10 }}
  1114. value={this.state.orderNoSearch}
  1115. onChange={(e) => {
  1116. this.setState({
  1117. orderNoSearch: e.target.value,
  1118. });
  1119. }}
  1120. />
  1121. <Input
  1122. placeholder="合同编号"
  1123. style={{ width: "150px", marginRight: 10 }}
  1124. value={this.state.contractNoSearch}
  1125. onChange={(e) => {
  1126. this.setState({
  1127. contractNoSearch: e.target.value,
  1128. });
  1129. }}
  1130. />
  1131. <Select
  1132. placeholder="订单部门"
  1133. style={{ width: 150, marginRight: 10 }}
  1134. value={this.state.departmenttList}
  1135. onChange={(e) => {
  1136. this.setState({ departmenttList: e });
  1137. }}
  1138. >
  1139. {departmentArr.map(function (item) {
  1140. return (
  1141. <Select.Option key={item.id}>{item.name}</Select.Option>
  1142. );
  1143. })}
  1144. </Select>
  1145. <Select
  1146. placeholder="项目类别"
  1147. style={{ width: "150", marginRight: "10px" }}
  1148. value={this.state.cid}
  1149. onChange={(e) => {
  1150. this.setState({ cid: e });
  1151. }}
  1152. notFoundContent="未获取到上级品类列表"
  1153. >
  1154. {this.state.contactsOption}
  1155. </Select>
  1156. {/*<Select*/}
  1157. {/* placeholder="是否外包"*/}
  1158. {/* style={{ width: "150", marginRight: "10px" }}*/}
  1159. {/* value={this.state.outsourceSearch}*/}
  1160. {/* onChange={(e) => {*/}
  1161. {/* this.setState({ outsourceSearch: e });*/}
  1162. {/* }}*/}
  1163. {/*>*/}
  1164. {/* {isWai.map(function (item) {*/}
  1165. {/* return (*/}
  1166. {/* <Select.Option key={item.id}>{item.name}</Select.Option>*/}
  1167. {/* );*/}
  1168. {/* })}*/}
  1169. {/*</Select>*/}
  1170. <span style={{ marginRight: "10px" }}>合同签订时间 :</span>
  1171. <RangePicker
  1172. value={[
  1173. this.state.releaseDate[0]
  1174. ? moment(this.state.releaseDate[0])
  1175. : null,
  1176. this.state.releaseDate[1]
  1177. ? moment(this.state.releaseDate[1])
  1178. : null,
  1179. ]}
  1180. onChange={(data, dataString) => {
  1181. this.setState({ releaseDate: dataString });
  1182. }}
  1183. />
  1184. <Button
  1185. type="primary"
  1186. onClick={this.search}
  1187. style={{ marginLeft: "10px", marginRight: 10 }}
  1188. >
  1189. 搜索
  1190. </Button>
  1191. <Button onClick={this.reset}>重置</Button>
  1192. </TabPane>
  1193. <TabPane tab="导出" key="2">
  1194. <Button
  1195. type="primary"
  1196. onClick={this.exportExec}
  1197. style={{ margin: "10px" }}
  1198. >
  1199. 导出工时数据
  1200. </Button>
  1201. </TabPane>
  1202. <TabPane tab="更改表格显示数据" key="3">
  1203. <div style={{ marginLeft: 10 }}>
  1204. <ChooseList
  1205. columns={this.state.columns}
  1206. changeFn={this.changeList}
  1207. changeList={this.state.changeList}
  1208. top={55}
  1209. margin={11}
  1210. />
  1211. </div>
  1212. </TabPane>
  1213. </Tabs>
  1214. <div className="patent-table">
  1215. <Spin spinning={this.state.loadingA}>
  1216. <Table
  1217. columns={
  1218. this.state.changeList
  1219. ? this.state.changeList
  1220. : this.state.columns
  1221. }
  1222. dataSource={this.state.dataSource}
  1223. pagination={this.state.pagination}
  1224. onRowClick={this.tableRowClick.bind(this)}
  1225. scroll={{ x: "max-content", y: 0 }}
  1226. bordered
  1227. size="small"
  1228. />
  1229. </Spin>
  1230. </div>
  1231. </div>
  1232. <Modal
  1233. className="customeDetails"
  1234. footer=""
  1235. title="项目概况"
  1236. width="900px"
  1237. visible={this.state.visible}
  1238. onOk={this.visitOk}
  1239. onCancel={this.visitCancel}
  1240. >
  1241. <Form
  1242. layout="horizontal"
  1243. onSubmit={this.handleSubmit}
  1244. id="demand-form"
  1245. style={{ paddingBottom: "00px" }}
  1246. >
  1247. <Spin spinning={this.state.loading}>
  1248. <div className="clearfix">
  1249. <div className="clearfix">
  1250. <FormItem
  1251. className="half-item"
  1252. {...formItemLayout}
  1253. label="项目状态"
  1254. >
  1255. <span>{getProjectName(parseInt(this.state.projectStatus))}</span>
  1256. <Button
  1257. type="primary"
  1258. size="small"
  1259. style={{ marginTop: '5px', position: 'absolute' }}
  1260. onClick={this.caozuorizhi}
  1261. >
  1262. 操作日志
  1263. </Button>
  1264. </FormItem>
  1265. <FormItem
  1266. className="half-item"
  1267. {...formItemLayout}
  1268. label="合同编号"
  1269. >
  1270. <span>{this.state.contractNo}</span>
  1271. </FormItem>
  1272. </div>
  1273. <div className="clearfix">
  1274. <FormItem
  1275. className="half-item"
  1276. {...formItemLayout}
  1277. label="是否特批"
  1278. >
  1279. <span>{getApproval(this.state.approval)}</span>
  1280. </FormItem>
  1281. <FormItem
  1282. className="half-item"
  1283. {...formItemLayout}
  1284. label="结算状态"
  1285. >
  1286. <span>
  1287. {getLiquidationStatus(this.state.liquidationStatus)}
  1288. </span>
  1289. </FormItem>
  1290. <FormItem
  1291. className="half-item"
  1292. {...formItemLayout}
  1293. label="流程状态"
  1294. >
  1295. <span>{getProcessStatus(this.state.processStatus)}</span>
  1296. </FormItem>
  1297. <FormItem
  1298. className="half-item"
  1299. {...formItemLayout}
  1300. label="订单编号"
  1301. >
  1302. <span>{this.state.orderNo}</span>
  1303. </FormItem>
  1304. </div>
  1305. <div className="clearfix">
  1306. <FormItem
  1307. className="half-item"
  1308. {...formItemLayout}
  1309. label="满意度表格"
  1310. >
  1311. <span>
  1312. {utils.getSatisfaction(this.state.formRetrieve)}
  1313. </span>
  1314. </FormItem>
  1315. {
  1316. <FormItem
  1317. className="half-item"
  1318. {...formItemLayout}
  1319. label="(满意度)备注"
  1320. >
  1321. <span>{this.state.retrieveContent}</span>
  1322. </FormItem>
  1323. }
  1324. {/*<FormItem*/}
  1325. {/* className="half-item"*/}
  1326. {/* {...formItemLayout}*/}
  1327. {/* label="退单"*/}
  1328. {/*>*/}
  1329. {/* <span>{utils.getChargeback(this.state.taskRefund)}</span>*/}
  1330. {/*</FormItem>*/}
  1331. </div>
  1332. <div className="clearfix">
  1333. <div style={{
  1334. paddingLeft: '8%',
  1335. }}>
  1336. <div style={{color:'#000',fontWeight:500}}>
  1337. 特别说明
  1338. <span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
  1339. </div>
  1340. <div style={{
  1341. display:'flex',
  1342. }}>
  1343. <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
  1344. <span style={{
  1345. flex: 1,
  1346. wordBreak: 'break-all',
  1347. }}>{this.state.specialComment}</span>
  1348. </div>
  1349. </div>
  1350. {
  1351. // <FormItem
  1352. // className="half-item"
  1353. // {...formItemLayout}
  1354. // label="(退单)备注"
  1355. // >
  1356. // <span>{this.state.refundContent}</span>
  1357. // </FormItem>
  1358. }
  1359. </div>
  1360. <div className="clearfix">
  1361. <h3 className="sub-title">任务信息</h3>
  1362. {/*0通用 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1363. {/*贯标需要显示*/}
  1364. {
  1365. this.state.isIso ?
  1366. <div>
  1367. <FormItem
  1368. className="half-item"
  1369. {...formItemLayout}
  1370. label="认证费"
  1371. >
  1372. <span>
  1373. {
  1374. this.state.ifCertificationFee === 1 ? '包含' : '不包含'
  1375. }
  1376. </span>
  1377. </FormItem>
  1378. {this.state.ifCertificationFee === 1 ?<FormItem
  1379. className="half-item"
  1380. {...formItemLayout}
  1381. label="认证费(万元)"
  1382. >
  1383. <span>
  1384. {
  1385. this.state.certificationFee
  1386. }
  1387. </span>
  1388. </FormItem> : null}
  1389. {this.state.ifCertificationFee === 1 ? <FormItem
  1390. className="half-item"
  1391. {...formItemLayout}
  1392. label=""
  1393. /> : null}
  1394. {this.state.ifCertificationFee === 1 ? <FormItem
  1395. className="half-item"
  1396. {...formItemLayout}
  1397. label="付款公司名称"
  1398. >
  1399. <span>
  1400. {this.state.certificationCorporate}
  1401. </span>
  1402. </FormItem>:null}
  1403. </div> : null
  1404. }
  1405. <FormItem
  1406. className="half-item"
  1407. {...formItemLayout}
  1408. label="任务编号"
  1409. >
  1410. <span>
  1411. {this.state.splitStatus == 2
  1412. ? this.state.splitSuper + "-" + this.state.splitId
  1413. : this.state.id}
  1414. </span>
  1415. </FormItem>
  1416. <FormItem
  1417. className="half-item"
  1418. {...formItemLayout}
  1419. label="任务名称"
  1420. >
  1421. <span>{this.state.taskName}</span>
  1422. </FormItem>
  1423. <FormItem
  1424. className="half-item"
  1425. {...formItemLayout}
  1426. label="任务状态"
  1427. >
  1428. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1429. </FormItem>
  1430. <FormItem
  1431. className="half-item"
  1432. {...formItemLayout}
  1433. label="任务类别"
  1434. >
  1435. <span>{this.state.cname}</span>
  1436. </FormItem>
  1437. <FormItem
  1438. className="half-item"
  1439. {...formItemLayout}
  1440. label="证书编号"
  1441. >
  1442. <span>{this.state.certificateNumber}</span>
  1443. </FormItem>
  1444. </div>
  1445. {/*{this.state.outsource === 1 ? (*/}
  1446. {/* <div className="clearfix">*/}
  1447. {/* <h3 className="sub-title">外包信息</h3>*/}
  1448. {/* <FormItem*/}
  1449. {/* className="half-item"*/}
  1450. {/* {...formItemLayout}*/}
  1451. {/* label="外包公司"*/}
  1452. {/* >*/}
  1453. {/* <span>{this.state.outsourceName}</span>*/}
  1454. {/* </FormItem>*/}
  1455. {/* <FormItem*/}
  1456. {/* className="half-item"*/}
  1457. {/* {...formItemLayout}*/}
  1458. {/* label="外包成本(万元)"*/}
  1459. {/* >*/}
  1460. {/* <span>{this.state.outsourcePrice}</span>*/}
  1461. {/* </FormItem>*/}
  1462. {/* </div>*/}
  1463. {/*) : (*/}
  1464. {/* ""*/}
  1465. {/*)}*/}
  1466. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1467. <div className="clearfix">
  1468. <h3 className="sub-title">联系信息</h3>
  1469. <FormItem
  1470. className="half-item"
  1471. {...formItemLayout}
  1472. label="客户名称"
  1473. >
  1474. <span>{this.state.userName}</span>
  1475. </FormItem>
  1476. <FormItem
  1477. className="half-item"
  1478. {...formItemLayout}
  1479. label="企业法人"
  1480. >
  1481. <span>{this.state.legalPerson}</span>
  1482. </FormItem>
  1483. <FormItem
  1484. className="half-item"
  1485. {...formItemLayout}
  1486. label="法人电话"
  1487. >
  1488. <span>{this.state.legalPersonTel}</span>
  1489. </FormItem>
  1490. <FormItem
  1491. className="half-item"
  1492. {...formItemLayout}
  1493. label="客户联系人"
  1494. >
  1495. <span>{this.state.contacts}</span>
  1496. </FormItem>
  1497. <FormItem
  1498. className="half-item"
  1499. {...formItemLayout}
  1500. label="联系人电话"
  1501. >
  1502. <span>{this.state.contactMobile}</span>
  1503. </FormItem>
  1504. <FormItem
  1505. className="half-item"
  1506. {...formItemLayout}
  1507. label="企业地址"
  1508. >
  1509. <span>
  1510. {getprovince(this.state.locationProvince)}/
  1511. {getprovince(this.state.locationCity)}/
  1512. {getprovince(this.state.locationArea)}
  1513. </span>
  1514. </FormItem>
  1515. <FormItem
  1516. className="half-item"
  1517. {...formItemLayout}
  1518. label=""
  1519. ></FormItem>
  1520. <FormItem
  1521. className="half-item"
  1522. {...formItemLayout}
  1523. label="详细地址"
  1524. >
  1525. <span>{this.state.postalAddress}</span>
  1526. </FormItem>
  1527. </div>
  1528. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1529. <div className="clearfix">
  1530. <h3 className="sub-title">订单负责人信息</h3>
  1531. <FormItem
  1532. className="half-item"
  1533. {...formItemLayout}
  1534. label="负责人"
  1535. >
  1536. <span>
  1537. {this.state.salesmanName +
  1538. "(" +
  1539. this.state.depName +
  1540. ")"}
  1541. </span>
  1542. </FormItem>
  1543. <FormItem
  1544. className="half-item"
  1545. {...formItemLayout}
  1546. label="负责人电话"
  1547. >
  1548. <span>{this.state.salesmanMobile}</span>
  1549. </FormItem>
  1550. <FormItem
  1551. className="half-item"
  1552. {...formItemLayout}
  1553. label="当前财务负责人"
  1554. >
  1555. <span>{this.state.nowFinance}</span>
  1556. </FormItem>
  1557. <FormItem
  1558. className="half-item"
  1559. {...formItemLayout}
  1560. label="当前财务负责人电话"
  1561. >
  1562. <span>{this.state.nowFinanceMobile}</span>
  1563. </FormItem>
  1564. <FormItem
  1565. className="half-item"
  1566. {...formItemLayout}
  1567. style={{ opacity: ".5" }}
  1568. label="原负责人"
  1569. >
  1570. <span>{this.state.oldSalesmanName}</span>
  1571. </FormItem>
  1572. <FormItem
  1573. className="half-item"
  1574. {...formItemLayout}
  1575. style={{ opacity: ".5" }}
  1576. label="原负责人电话"
  1577. >
  1578. <span>{this.state.oldSalesmanMobile}</span>
  1579. </FormItem>
  1580. <FormItem
  1581. className="half-item"
  1582. {...formItemLayout}
  1583. style={{ opacity: ".5" }}
  1584. label="实际财务操作人"
  1585. >
  1586. <span>{this.state.financeName}</span>
  1587. </FormItem>
  1588. <FormItem
  1589. className="half-item"
  1590. {...formItemLayout}
  1591. style={{ opacity: ".5" }}
  1592. label="实际财务操作人电话"
  1593. >
  1594. <span>{this.state.financeMobile}</span>
  1595. </FormItem>
  1596. <FormItem
  1597. className="half-item"
  1598. {...formItemLayout}
  1599. label="订单留言"
  1600. >
  1601. <span>{this.state.orderRemarks}</span>
  1602. </FormItem>
  1603. <FormItem
  1604. className="half-item"
  1605. {...formItemLayout}
  1606. label=""
  1607. >
  1608. <Button onClick={this.getOrderLog}>查看订单日志</Button>
  1609. </FormItem>
  1610. <OrderRiZi
  1611. dataSourcerizhi={this.state.dataSourceY}
  1612. closeOrderLog={this.closeOrderLog}
  1613. visible={this.state.avisible}
  1614. loading={this.state.loading}
  1615. />
  1616. </div>
  1617. <div className="clearfix">
  1618. <h3 className="sub-title">申报系统账户信息</h3>
  1619. {/*<span style={{color:'red'}}>注:仅技术部可见</span>*/}
  1620. <FormItem
  1621. className="half-item"
  1622. {...formItemLayout}
  1623. label="用户名"
  1624. >
  1625. <span>{this.state.declareUser ? "*" : ""}</span>
  1626. </FormItem>
  1627. <FormItem
  1628. className="half-item"
  1629. {...formItemLayout}
  1630. label="密码"
  1631. >
  1632. <span>{this.state.declarePwd ? "*" : ""}</span>
  1633. </FormItem>
  1634. </div>
  1635. <div className="clearfix">
  1636. <h3 className="sub-title">项目申报进度</h3>
  1637. <DeclarationProgress
  1638. timeRecordparse={this.state.timeRecordparse}
  1639. startDate={this.state.startDate}
  1640. taskDate={this.state.taskDate}
  1641. list={[
  1642. {id:4,name:'完成时间',value:this.state.endDate},
  1643. {id:6,name:'受理时间',value:this.state.acceptDate},
  1644. {id:8,name:'公示时间',value:this.state.publicityDate},
  1645. {id:10,name:'发证时间',value:this.state.licenceDate},
  1646. {id:15,name:'立项金额',value:this.state.setUpAmount}
  1647. ]}/>
  1648. {/*专利显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1649. {
  1650. this.state.bpType === 1 || this.state.bpType === 6 ?
  1651. <div>
  1652. <FormItem
  1653. labelCol={{ span: 3 }}
  1654. wrapperCol={{ span: 16 }}
  1655. label="是否高新企业"
  1656. >
  1657. <span>
  1658. {
  1659. this.state.highTechStatus === 1 ? '是':
  1660. this.state.highTechStatus === 0 ? '否' : ''
  1661. }
  1662. </span>
  1663. </FormItem>
  1664. <FormItem/>
  1665. <PatentSchedule
  1666. readOnly
  1667. bpType={this.state.bpType}
  1668. taskId={this.state.id}
  1669. acceptCount={this.state.acceptCount}
  1670. certificatesCount={this.state.certificatesCount}
  1671. rejectCount={this.state.rejectCount}
  1672. commodityQuantity={this.state.commodityQuantity}
  1673. />
  1674. </div> :
  1675. <div>
  1676. {/*高新显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1677. {this.state.bpType === 5 ? <FormItem
  1678. className="half-item"
  1679. {...formItemLayout}
  1680. label="是否抽查">
  1681. {
  1682. this.state.spotCheckStatus === 0 ? '否':
  1683. this.state.spotCheckStatus === 1 ? '是,未通过':
  1684. this.state.spotCheckStatus === 2 ? '是,通过': ''
  1685. }
  1686. </FormItem> : null}
  1687. <FormItem/>
  1688. {this.state.bpType === 5 ? <FormItem
  1689. className="half-item"
  1690. {...formItemLayout}
  1691. label="是否立项"
  1692. >
  1693. {
  1694. this.state.setUpStatus === 1 ? '是' :
  1695. this.state.setUpStatus === 0 ? '否' : ''
  1696. }
  1697. </FormItem> : null}
  1698. {this.state.bpType === 5 ? <FormItem
  1699. className="half-item"
  1700. {...formItemLayout}
  1701. label={this.state.setUpStatus === 1 ? "立项时间" : ''}
  1702. >
  1703. {this.state.setUpStatus === 1 ?this.state.setUpTime : null }
  1704. </FormItem> : null}
  1705. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1706. {/*cSort: 3 科技项目 6: 会员*/}
  1707. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  1708. className="half-item"
  1709. {...formItemLayout}
  1710. label="申报批次"
  1711. >
  1712. <span>{this.state.declarationBatch}</span>
  1713. </FormItem>}
  1714. {/*只有科技项目才有是否到款*/}
  1715. {/*cSort: 3 科技项目 6: 会员*/}
  1716. {this.state.cSort === 3 && <FormItem
  1717. className="half-item"
  1718. {...formItemLayout}
  1719. label="是否到款"
  1720. >
  1721. <span>
  1722. {this.state.arrivalMoney ? "已到企业" : "未到企业"}
  1723. </span>
  1724. </FormItem>}
  1725. </div>}
  1726. </div>
  1727. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1728. <FormItem
  1729. labelCol={{ span: 3 }}
  1730. wrapperCol={{ span: 18 }}
  1731. label="附件"
  1732. >
  1733. <Upload
  1734. className="demandDetailShow-upload"
  1735. listType="picture-card"
  1736. fileList={this.state.attachmentUrl}
  1737. onPreview={(file) => {
  1738. this.setState({
  1739. previewImage: file.url || file.thumbUrl,
  1740. previewVisible: true,
  1741. });
  1742. }}
  1743. />
  1744. <Modal
  1745. maskClosable={false}
  1746. footer={null}
  1747. visible={this.state.previewVisible}
  1748. onCancel={() => {
  1749. this.setState({ previewVisible: false });
  1750. }}
  1751. >
  1752. <img
  1753. alt=""
  1754. style={{ width: "100%" }}
  1755. src={this.state.previewImage || ""}
  1756. />
  1757. </Modal>
  1758. </FormItem>
  1759. </div> : null}
  1760. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1761. <FormItem
  1762. labelCol={{ span: 3 }}
  1763. wrapperCol={{ span: 16 }}
  1764. label="项目说明"
  1765. >
  1766. <span>{this.state.taskComment}</span>
  1767. </FormItem>
  1768. </div> : null}
  1769. <div>
  1770. <h3 className="sub-title">项目业务</h3>
  1771. {this.state.processStatus == 0 ? (
  1772. <Button
  1773. type="primary"
  1774. onClick={this.addDetailed}
  1775. style={{
  1776. float: "right",
  1777. marginRight: "50px",
  1778. marginBottom: "15px",
  1779. }}
  1780. >
  1781. 添加项目明细
  1782. </Button>
  1783. ) : (
  1784. ""
  1785. )}
  1786. </div>
  1787. <div className="patent-table">
  1788. <Spin spinning={this.state.loading}>
  1789. <Table
  1790. columns={this.state.columnsX}
  1791. dataSource={this.state.dataSourceX}
  1792. size="small"
  1793. bordered
  1794. pagination={this.state.paginations}
  1795. onRowClick={this.tableRowClickX}
  1796. />
  1797. </Spin>
  1798. </div>
  1799. </div>
  1800. </Spin>
  1801. </Form>
  1802. </Modal>
  1803. <Modal
  1804. width="800px"
  1805. title="操作日志"
  1806. footer=""
  1807. className="admin-desc-content"
  1808. >
  1809. <div className="patent-table patent-table-center">
  1810. <Spin spinning={this.state.loading}>
  1811. <Table columns={this.state.columnsY} />
  1812. </Spin>
  1813. </div>
  1814. </Modal>
  1815. <Modal
  1816. maskClosable={false}
  1817. visible={this.state.speVisible}
  1818. onOk={this.visitOk}
  1819. onCancel={this.visitCancel}
  1820. width="900px"
  1821. title="项目概况"
  1822. footer=""
  1823. className="admin-desc-content"
  1824. >
  1825. <div className="clearfix">
  1826. <FormItem
  1827. className="half-item"
  1828. {...formItemLayout}
  1829. label="项目状态"
  1830. >
  1831. <span>{getProjectName(parseInt(this.state.projectStatus))}</span>
  1832. <Button
  1833. type="primary"
  1834. size="small"
  1835. style={{ marginTop: '5px', position: 'absolute' }}
  1836. onClick={this.caozuorizhi}
  1837. >
  1838. 操作日志
  1839. </Button>
  1840. </FormItem>
  1841. <FormItem
  1842. className="half-item"
  1843. {...formItemLayout}
  1844. label="合同编号"
  1845. >
  1846. <span>{this.state.contractNo}</span>
  1847. </FormItem>
  1848. </div>
  1849. <div className="clearfix">
  1850. <FormItem
  1851. className="half-item"
  1852. {...formItemLayout}
  1853. label="是否特批"
  1854. >
  1855. <span>{getApproval(this.state.approval)}</span>
  1856. </FormItem>
  1857. <FormItem
  1858. className="half-item"
  1859. {...formItemLayout}
  1860. label="结算状态"
  1861. >
  1862. <span>
  1863. {getLiquidationStatus(this.state.liquidationStatus)}
  1864. </span>
  1865. </FormItem>
  1866. <FormItem
  1867. className="half-item"
  1868. {...formItemLayout}
  1869. label="流程状态"
  1870. >
  1871. <span>{getProcessStatus(this.state.processStatus)}</span>
  1872. </FormItem>
  1873. <FormItem
  1874. className="half-item"
  1875. {...formItemLayout}
  1876. label="订单编号"
  1877. >
  1878. <span>{this.state.orderNo}</span>
  1879. </FormItem>
  1880. </div>
  1881. <div className="clearfix">
  1882. <FormItem
  1883. className="half-item"
  1884. {...formItemLayout}
  1885. label="满意度表格"
  1886. >
  1887. <span>{utils.getSatisfaction(this.state.formRetrieve)}</span>
  1888. </FormItem>
  1889. {
  1890. <FormItem
  1891. className="half-item"
  1892. {...formItemLayout}
  1893. label="(满意度)备注"
  1894. >
  1895. <span>{this.state.retrieveContent}</span>
  1896. </FormItem>
  1897. }
  1898. {/*<FormItem className="half-item" {...formItemLayout} label="退单">*/}
  1899. {/* <span>{utils.getChargeback(this.state.taskRefund)}</span>*/}
  1900. {/*</FormItem>*/}
  1901. </div>
  1902. {/*软著显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1903. {this.state.bpType === 2 ? <div className="clearfix">
  1904. <FormItem
  1905. className="half-item"
  1906. {...formItemLayout}
  1907. label="加急天数"
  1908. >
  1909. {
  1910. this.state.urgentDay === 1 ? '是' :
  1911. this.state.urgentDay === 0 ? '否' : ''
  1912. }
  1913. </FormItem>
  1914. <FormItem
  1915. className="half-item"
  1916. {...formItemLayout}
  1917. label="有无材料"
  1918. >
  1919. {
  1920. this.state.ifMaterial === 1 ? '是':
  1921. this.state.ifMaterial === 0 ? '否': ''
  1922. }
  1923. </FormItem>
  1924. </div> : null}
  1925. <div className="clearfix">
  1926. <div style={{
  1927. paddingLeft: '8%',
  1928. }}>
  1929. <div style={{color:'#000',fontWeight:500}}>
  1930. 特别说明
  1931. <span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
  1932. </div>
  1933. <div style={{
  1934. display:'flex',
  1935. }}>
  1936. <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
  1937. <span style={{
  1938. flex: 1,
  1939. wordBreak: 'break-all',
  1940. }}>{this.state.specialComment}</span>
  1941. </div>
  1942. </div>
  1943. {
  1944. // <FormItem
  1945. // className="half-item"
  1946. // {...formItemLayout}
  1947. // label="(退单)备注"
  1948. // >
  1949. // <span>{this.state.refundContent}</span>
  1950. // </FormItem>
  1951. }
  1952. </div>
  1953. <div className="clearfix">
  1954. <h3 className="sub-title">任务信息</h3>
  1955. <FormItem
  1956. className="half-item"
  1957. {...formItemLayout}
  1958. label="任务编号"
  1959. >
  1960. <span>
  1961. {this.state.splitStatus == 2
  1962. ? this.state.splitSuper + "-" + this.state.splitId
  1963. : this.state.id}
  1964. </span>
  1965. </FormItem>
  1966. <FormItem
  1967. className="half-item"
  1968. {...formItemLayout}
  1969. label="任务名称"
  1970. >
  1971. <span>{this.state.taskName}</span>
  1972. </FormItem>
  1973. <FormItem
  1974. className="half-item"
  1975. {...formItemLayout}
  1976. label="任务状态"
  1977. >
  1978. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1979. </FormItem>
  1980. <FormItem
  1981. className="half-item"
  1982. {...formItemLayout}
  1983. label="任务类别"
  1984. >
  1985. <span>{this.state.cname}</span>
  1986. </FormItem>
  1987. <FormItem
  1988. className="half-item"
  1989. {...formItemLayout}
  1990. label="证书编号"
  1991. >
  1992. <span>{this.state.certificateNumber}</span>
  1993. </FormItem>
  1994. </div>
  1995. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1996. <div className="clearfix">
  1997. <h3 className="sub-title">联系信息</h3>
  1998. <FormItem
  1999. className="half-item"
  2000. {...formItemLayout}
  2001. label="客户名称"
  2002. >
  2003. <span>{this.state.userName}</span>
  2004. </FormItem>
  2005. <FormItem
  2006. className="half-item"
  2007. {...formItemLayout}
  2008. label="企业法人"
  2009. >
  2010. <span>{this.state.legalPerson}</span>
  2011. </FormItem>
  2012. <FormItem
  2013. className="half-item"
  2014. {...formItemLayout}
  2015. label="法人电话"
  2016. >
  2017. <span>{this.state.legalPersonTel}</span>
  2018. </FormItem>
  2019. <FormItem
  2020. className="half-item"
  2021. {...formItemLayout}
  2022. label="客户联系人"
  2023. >
  2024. <span>{this.state.contacts}</span>
  2025. </FormItem>
  2026. <FormItem
  2027. className="half-item"
  2028. {...formItemLayout}
  2029. label="联系人电话"
  2030. >
  2031. <span>{this.state.contactMobile}</span>
  2032. </FormItem>
  2033. <FormItem
  2034. className="half-item"
  2035. {...formItemLayout}
  2036. label="企业地址"
  2037. >
  2038. <span>
  2039. {getprovince(this.state.locationProvince)}/
  2040. {getprovince(this.state.locationCity)}/
  2041. {getprovince(this.state.locationArea)}
  2042. </span>
  2043. </FormItem>
  2044. <FormItem
  2045. className="half-item"
  2046. {...formItemLayout}
  2047. label=""
  2048. ></FormItem>
  2049. <FormItem className="half-item" {...formItemLayout} label="">
  2050. <span style={{ paddingLeft: "12em" }}>
  2051. {this.state.postalAddress}
  2052. </span>
  2053. </FormItem>
  2054. </div>
  2055. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  2056. <div className="clearfix">
  2057. <h3 className="sub-title">订单负责人信息</h3>
  2058. <FormItem
  2059. className="half-item"
  2060. {...formItemLayout}
  2061. label="负责人"
  2062. >
  2063. <span>
  2064. {this.state.salesmanName + "(" + this.state.depName + ")"}
  2065. </span>
  2066. </FormItem>
  2067. <FormItem
  2068. className="half-item"
  2069. {...formItemLayout}
  2070. label="负责人电话"
  2071. >
  2072. <span>{this.state.salesmanMobile}</span>
  2073. </FormItem>
  2074. <FormItem
  2075. className="half-item"
  2076. {...formItemLayout}
  2077. label="财务负责人"
  2078. >
  2079. <span>{this.state.financeName}</span>
  2080. </FormItem>
  2081. <FormItem
  2082. className="half-item"
  2083. {...formItemLayout}
  2084. label="财务负责人电话"
  2085. >
  2086. <span>{this.state.financeMobile}</span>
  2087. </FormItem>
  2088. <FormItem
  2089. className="half-item"
  2090. {...formItemLayout}
  2091. label="订单留言"
  2092. >
  2093. <span>{this.state.orderRemarks}</span>
  2094. </FormItem>
  2095. <FormItem className="half-item" {...formItemLayout} label="">
  2096. <Button onClick={this.getOrderLog}>查看订单日志</Button>
  2097. </FormItem>
  2098. <OrderRiZi
  2099. dataSourcerizhi={this.state.dataSourceY}
  2100. closeOrderLog={this.closeOrderLog}
  2101. visible={this.state.avisible}
  2102. loading={this.state.loading}
  2103. />
  2104. </div>
  2105. <div className="clearfix" style={{ marginTop: "10px" }}>
  2106. <FormItem
  2107. labelCol={{ span: 3 }}
  2108. wrapperCol={{ span: 18 }}
  2109. label="附件"
  2110. >
  2111. <Upload
  2112. className="demandDetailShow-upload"
  2113. listType="picture-card"
  2114. fileList={this.state.attachmentUrl}
  2115. onPreview={(file) => {
  2116. this.setState({
  2117. previewImage: file.url || file.thumbUrl,
  2118. previewVisible: true,
  2119. });
  2120. }}
  2121. ></Upload>
  2122. <Modal
  2123. maskClosable={false}
  2124. footer={null}
  2125. visible={this.state.previewVisible}
  2126. onCancel={() => {
  2127. this.setState({ previewVisible: false });
  2128. }}
  2129. >
  2130. <img
  2131. alt=""
  2132. style={{ width: "100%" }}
  2133. src={this.state.previewImage || ""}
  2134. />
  2135. </Modal>
  2136. </FormItem>
  2137. </div>
  2138. <div className="clearfix">
  2139. <FormItem
  2140. labelCol={{ span: 3 }}
  2141. wrapperCol={{ span: 16 }}
  2142. label="备注"
  2143. >
  2144. <span>{this.state.taskComment}</span>
  2145. </FormItem>
  2146. </div>
  2147. <div className="clearfix">
  2148. <h3 className="sub-title">项目申报进度</h3>
  2149. <DeclarationProgress
  2150. timeRecordparse={this.state.timeRecordparse}
  2151. startDate={this.state.startDate}
  2152. taskDate={this.state.taskDate}
  2153. list={[
  2154. {id:4,name:'完成时间',value:this.state.endDate},
  2155. {id:6,name:'受理时间',value:this.state.acceptDate},
  2156. {id:8,name:'公示时间',value:this.state.publicityDate},
  2157. {id:10,name:'发证时间',value:this.state.licenceDate},
  2158. {id:15,name:'立项金额',value:this.state.setUpAmount}
  2159. ]}/>
  2160. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  2161. {/*cSort: 3 科技项目 6: 会员*/}
  2162. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  2163. className="half-item"
  2164. {...formItemLayout}
  2165. label="申报批次"
  2166. >
  2167. <span>{this.state.declarationBatch}</span>
  2168. </FormItem>}
  2169. <FormItem
  2170. className="half-item"
  2171. {...formItemLayout}
  2172. label="软著派单数量"
  2173. >
  2174. <span>{this.state.commodityQuantity}</span>
  2175. </FormItem>
  2176. <div className="patent-table patent-table-center">
  2177. <Spin spinning={this.state.loading}>
  2178. <Table
  2179. columns={this.state.ContactsLists}
  2180. dataSource={this.state.contactList}
  2181. pagination={false}
  2182. />
  2183. </Spin>
  2184. </div>
  2185. </div>
  2186. <div className="clearfix">
  2187. <h3 className="sub-title">项目业务</h3>
  2188. <div className="patent-table">
  2189. <Spin spinning={this.state.loading}>
  2190. <Table
  2191. columns={this.state.columnsX}
  2192. dataSource={this.state.dataSourceX}
  2193. pagination={this.state.paginations}
  2194. onRowClick={this.tableRowClickX}
  2195. />
  2196. </Spin>
  2197. </div>
  2198. </div>
  2199. </Modal>
  2200. <Modal
  2201. width="800px"
  2202. visible={this.state.visibleA}
  2203. onCancel={this.visitCancelA}
  2204. title="操作日志"
  2205. footer=""
  2206. className="admin-desc-content"
  2207. >
  2208. <div className="patent-table patent-table-center">
  2209. <Spin spinning={this.state.loading}>
  2210. <Table
  2211. columns={this.state.columnsA}
  2212. dataSource={this.state.dataSourceA}
  2213. pagination={false}
  2214. />
  2215. </Spin>
  2216. </div>
  2217. </Modal>
  2218. {this.state.addnextVisible && <ProjectDetailsReadOnly
  2219. infor={this.state.dataInfor}
  2220. visible={this.state.addnextVisible}
  2221. onCancel={this.nextCancel}
  2222. />}
  2223. </div>
  2224. );
  2225. }
  2226. })
  2227. );
  2228. export default IntentionCustomer;