examine.jsx 77 KB

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