taskCount.jsx 80 KB

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