taskCount.jsx 79 KB

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