examine.jsx 77 KB

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