taskCount.jsx 79 KB

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