outsourcingPro.jsx 76 KB

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