outsourcingList.jsx 79 KB

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