taskCount.jsx 80 KB

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