followUpDetails.jsx 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. import React,{Component} from "react";
  2. import {Button, Col, Form, message, Modal, Spin, Table, Tabs, Tag} from "antd";
  3. import {
  4. getApprovedState,
  5. getCuikuan,
  6. getjiedian,
  7. getLiquidationStatus,
  8. getProcessStatus,
  9. splitUrl
  10. } from "../../../tools";
  11. import ImgList from "../../../common/imgList";
  12. import $ from "jquery/src/ajax";
  13. import OrderRiZi from "@/orderRiZi.jsx";
  14. import ProjectDetailsReadOnly from "../../../common/projectDetailsReadOnly";
  15. import CustomerServiceRecord from './customerServiceRecord';
  16. import OrderItemStatus from "../../../common/orderItemStatus";
  17. const FormItem = Form.Item;
  18. const { TabPane } = Tabs;
  19. const formItemLayout = {
  20. labelCol: { span: 8 },
  21. wrapperCol: { span: 14 },
  22. };
  23. class FollowUpDetails extends Component{
  24. constructor(props) {
  25. super(props);
  26. this.state={
  27. loading:false,
  28. columnsX: [
  29. {
  30. title: "业务项目名称",
  31. dataIndex: "commodityName",
  32. key: "commodityName",
  33. render: (text, record) => {
  34. return text + "-" + record.id
  35. }
  36. },
  37. {
  38. title: "项目类别",
  39. dataIndex: "cname",
  40. key: "cname",
  41. },
  42. {
  43. title: "项目数量",
  44. dataIndex: "commodityQuantity",
  45. key: "commodityQuantity",
  46. render: (text, record) => {
  47. if (record.splitStatus == 1) {
  48. return (
  49. <span>
  50. {text}{" "}
  51. <Tag
  52. color="#108ee9"
  53. onClick={(e) => {
  54. e.stopPropagation();
  55. this.showRes(record);
  56. }}
  57. >
  58. 已拆
  59. </Tag>
  60. </span>
  61. );
  62. } else {
  63. return text;
  64. }
  65. },
  66. },
  67. {
  68. title: "金额(万元)",
  69. dataIndex: "commodityPrice",
  70. key: "commodityPrice",
  71. },
  72. {
  73. title: "负责人",
  74. dataIndex: "contacts",
  75. key: "contacts",
  76. },
  77. {
  78. title: "负责人电话",
  79. dataIndex: "contactsMobile",
  80. key: "contactsMobile",
  81. },
  82. {
  83. title: "主要项目",
  84. dataIndex: "main",
  85. key: "main",
  86. render: (text) => {
  87. return text ? "是" : "否";
  88. },
  89. },
  90. {
  91. title: "项目说明",
  92. dataIndex: "taskComment",
  93. key: "taskComment",
  94. render: (text) => {
  95. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  96. },
  97. },
  98. ],
  99. dataSourceX:[],
  100. contactList:[],
  101. ContactsListsNew: [
  102. {
  103. title: "项目名称",
  104. dataIndex: "commodityName",
  105. key: "commodityName",
  106. render: (text, record) => {
  107. return <span>{text + "-" + record.tid}</span>;
  108. },
  109. },
  110. {
  111. title: "项目分类",
  112. dataIndex: "projectType",
  113. key: "projectType",
  114. render: (text) => {
  115. let arr = this.state.dataSourceX || [];
  116. let str = "";
  117. for (let i = 0; i < arr.length; i++) {
  118. if (this.state.dataSourceX[i].sort == text) {
  119. str = this.state.dataSourceX[i].cname;
  120. return <span>{str}</span>;
  121. }
  122. }
  123. },
  124. },
  125. {
  126. title: "催款科目",
  127. dataIndex: "dunTypeName",
  128. key: "dunTypeName",
  129. render: (text, record) => {
  130. if (record.customizeName) {
  131. return text + record.customizeName;
  132. }
  133. return <span>{text}</span>;
  134. },
  135. },
  136. {
  137. title: "时间(天)",
  138. dataIndex: "waitDay",
  139. key: "waitDay",
  140. render: (text, record) => {
  141. if (record.dunTypeName) {
  142. if (record.customizeTimes) {
  143. return record.customizeTimes;
  144. }
  145. return <span>{text}</span>;
  146. }
  147. },
  148. },
  149. {
  150. title: "金额(万元)",
  151. dataIndex: "money",
  152. key: "money",
  153. render: (text, record) => {
  154. if (record.dunTypeName) {
  155. if (record.appropriationRatio && !record.money) {
  156. return <span>{record.appropriationRatio}(拨款比例)</span>;
  157. } else if (record.appropriationRatio && record.money) {
  158. return (
  159. <span>
  160. {text}(比例:{record.appropriationRatio})
  161. </span>
  162. );
  163. } else {
  164. return <span>{text}</span>;
  165. }
  166. }
  167. },
  168. },
  169. {
  170. title: "服务年限",
  171. dataIndex: "startDate",
  172. key: "startDate",
  173. render: (text, record) => {
  174. if (record.dunTypeName) {
  175. return <span>{text}</span>;
  176. }
  177. },
  178. },
  179. {
  180. title: "催款状态",
  181. dataIndex: "status",
  182. key: "status",
  183. render: (text) => {
  184. return <span>{text == 1 ? "已启动" : "未启动"}</span>;
  185. },
  186. },
  187. ],
  188. ContactsLists: [
  189. {
  190. title: "催款科目",
  191. dataIndex: "dunSubject",
  192. key: "dunSubject",
  193. render: (text) => {
  194. return getjiedian(text);
  195. },
  196. },
  197. {
  198. title: "金额(万元)",
  199. dataIndex: "money",
  200. key: "money",
  201. },
  202. {
  203. title: "催款状态",
  204. dataIndex: "dunStatus",
  205. key: "dunStatus",
  206. render: (text) => {
  207. return getCuikuan(text);
  208. },
  209. },
  210. ],
  211. tabsKey:'1',
  212. dataSourcerizhi:[],
  213. }
  214. this.jiedian =this.jiedian.bind(this);
  215. this.jiedianNew =this.jiedianNew.bind(this);
  216. this.xiangqing =this.xiangqing.bind(this);
  217. this.rizhi =this.rizhi.bind(this);
  218. this.closeOrderLog =this.closeOrderLog.bind(this);
  219. this.tableRowClickX =this.tableRowClickX.bind(this);
  220. this.nextCancel =this.nextCancel.bind(this);
  221. this.rizhi =this.rizhi.bind(this);
  222. this.getOrderLog =this.getOrderLog.bind(this);
  223. this.xiangmu =this.xiangmu.bind(this);
  224. }
  225. componentDidMount() {
  226. this.xiangqing();
  227. this.jiedian();
  228. this.jiedianNew();
  229. this.xiangmu();
  230. }
  231. getOrderLog() {
  232. this.setState({
  233. rizhivisible: true,
  234. });
  235. this.rizhi();
  236. }
  237. closeOrderLog() {
  238. this.setState({
  239. rizhivisible: false,
  240. dataSourcerizhi:[],
  241. });
  242. }
  243. tableRowClickX(record) {
  244. this.setState({
  245. addnextVisible: true,
  246. dataInfor:record,
  247. });
  248. }
  249. nextCancel() {
  250. this.setState({
  251. addnextVisible: false,
  252. dataInfor:{}
  253. });
  254. }
  255. rizhi() {
  256. this.setState({
  257. selectOrderLogLoading: true,
  258. });
  259. $.ajax({
  260. method: "get",
  261. dataType: "json",
  262. crossDomain: false,
  263. url: "/api/admin/newOrder/selectOrderLog",
  264. data: {
  265. orderNo: this.props.orderNo,
  266. },
  267. success: function (data) {
  268. let theArr = [];
  269. let thisData = data.data;
  270. if (!thisData.length) {
  271. if (data.error && data.error.length) {
  272. message.warning(data.error[0].message);
  273. }
  274. } else {
  275. for (let i = 0; i < data.data.length; i++) {
  276. let thisdata = data.data[i];
  277. theArr.push({
  278. processName: thisdata.processName,
  279. adminName: thisdata.adminName,
  280. createDate: thisdata.createDate,
  281. remarks: thisdata.remarks,
  282. });
  283. }
  284. }
  285. this.setState({
  286. dataSourcerizhi: theArr,
  287. });
  288. }.bind(this),
  289. }).always(
  290. function () {
  291. this.setState({
  292. selectOrderLogLoading: false,
  293. });
  294. }.bind(this)
  295. );
  296. }
  297. jiedian() {
  298. $.ajax({
  299. method: "get",
  300. dataType: "json",
  301. crossDomain: false,
  302. url: globalConfig.context + "/api/admin/newOrder/selectOrderDun",
  303. data: {
  304. orderNo: this.props.orderNo,
  305. },
  306. success: function (data) {
  307. let theArr = [];
  308. let thisData = [];
  309. if (data.error.length || data.data.list == "") {
  310. if (data.error && data.error.length) {
  311. message.warning(data.error[0].message);
  312. }
  313. } else {
  314. for (let i = 0; i < data.data.length; i++) {
  315. thisData = data.data[i];
  316. theArr.push({
  317. key: i,
  318. dunSubject: thisData.dunSubject
  319. ? thisData.dunSubject.toString()
  320. : "", //催款科目
  321. id: thisData.id, //节点Id
  322. money: thisData.money, //催款金额
  323. dunStatus: thisData.dunStatus, //催款状态
  324. });
  325. }
  326. this.setState({
  327. contactList: theArr,
  328. });
  329. }
  330. }.bind(this),
  331. }).always(
  332. function () {
  333. }.bind(this)
  334. );
  335. }
  336. //查看催款节点
  337. jiedianNew() {
  338. this.setState({
  339. newOrderDunLoading: true,
  340. });
  341. $.ajax({
  342. method: "get",
  343. dataType: "json",
  344. crossDomain: false,
  345. url:
  346. globalConfig.context + "/api/admin/newOrderDun/selectListNewOrderDun",
  347. data: {
  348. orderNo: this.props.orderNo,
  349. },
  350. success: function (data) {
  351. if (data.error && data.error.length) {
  352. message.warning(data.error[0].message);
  353. } else {
  354. let theArr = [];
  355. let thisData = [];
  356. let arr = data.data || [];
  357. let totalCui = 0;
  358. for (let i = 0; i < arr.length; i++) {
  359. thisData = arr[i];
  360. totalCui += +thisData.money;
  361. theArr.push({
  362. key: i,
  363. dunSubject: thisData.dunSubject
  364. ? thisData.dunSubject.toString()
  365. : "", //催款科目
  366. id: thisData.id, //节点Id
  367. money: thisData.money, //催款金额
  368. commodityName: thisData.commodityName,
  369. projectType: thisData.projectType,
  370. dunTypeName: thisData.dunTypeName,
  371. status: thisData.status,
  372. waitDay: thisData.waitDay,
  373. effectiveCount: thisData.effectiveCount,
  374. startDate: thisData.startDate,
  375. dunType: thisData.dunType,
  376. appropriationRatio: thisData.appropriationRatio,
  377. customizeName: thisData.customizeName,
  378. customizeTimes: thisData.customizeTimes,
  379. tid: thisData.tid,
  380. });
  381. }
  382. if (!totalCui) {
  383. totalCui = 0;
  384. }
  385. totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
  386. this.setState({
  387. contactListNew: theArr,
  388. totalCui,
  389. });
  390. }
  391. }.bind(this),
  392. }).always(
  393. function () {
  394. this.setState({
  395. newOrderDunLoading: false,
  396. });
  397. }.bind(this)
  398. );
  399. }
  400. xiangqing() {
  401. this.setState({
  402. loading: true,
  403. });
  404. $.ajax({
  405. method: "get",
  406. dataType: "json",
  407. crossDomain: false,
  408. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  409. data: {
  410. orderNo: this.props.orderNo,
  411. },
  412. success: function (data) {
  413. if (data.error.length || data.data.list == "") {
  414. if (data.error && data.error.length) {
  415. message.warning(data.error[0].message);
  416. }
  417. } else {
  418. let thisdata = data.data;
  419. this.setState({
  420. orderNo: thisdata.orderNo, //订单编号
  421. contractNo: thisdata.contractNo, //合同编号
  422. userName: thisdata.userName, //客户名称
  423. signDate: thisdata.signDate, //签单时间
  424. processStatus: thisdata.processStatus, //流程状态
  425. liquidationStatus: thisdata.liquidationStatus, //结算状态
  426. contacts: thisdata.contacts, //企业联系人
  427. contactMobile: thisdata.contactMobile, //联系人电话
  428. legalPerson: thisdata.legalPerson, //法人
  429. legalPersonTel: thisdata.legalPersonTel, //法人电话
  430. firstAmount: thisdata.firstAmount, //签单金额
  431. totalAmount: thisdata.totalAmount, //首付金额
  432. approval: thisdata.approval, //特批状态
  433. settlementAmount: thisdata.settlementAmount, //已收款项
  434. orderRemarks: thisdata.orderRemarks, //订单留言
  435. orgCodeUrl: thisdata.contractPictureUrl
  436. ? splitUrl(
  437. thisdata.contractPictureUrl,
  438. ",",
  439. globalConfig.avatarHost + "/upload"
  440. )
  441. : [], //图片地址
  442. replenishUrl: thisdata.agreementUrl
  443. ? splitUrl(
  444. thisdata.agreementUrl,
  445. ",",
  446. globalConfig.avatarHost + "/upload"
  447. )
  448. : [], //图片地址
  449. salesmanName: thisdata.salesmanName, //营销员名称
  450. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  451. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  452. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  453. financeName: thisdata.financeName, //财务名称
  454. financeMobile: thisdata.financeMobile, //财务电话
  455. nowFinance: thisdata.nowFinance, //财务名称
  456. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  457. depName: thisdata.depName,
  458. outsource: thisdata.outsource == 0 ? "否" : "是",
  459. deleteSign:thisdata.deleteSign,
  460. });
  461. }
  462. }.bind(this),
  463. }).always(
  464. function () {
  465. this.setState({
  466. loading: false,
  467. });
  468. }.bind(this)
  469. );
  470. }
  471. xiangmu() {
  472. this.setState({
  473. orderTaskLoading:true
  474. })
  475. $.ajax({
  476. method: "get",
  477. dataType: "json",
  478. crossDomain: false,
  479. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  480. data: {
  481. orderNo: this.props.orderNo,
  482. },
  483. success: function (data) {
  484. let theArr = [];
  485. if (data.error.length || data.data.list == "") {
  486. if (data.error && data.error.length) {
  487. message.warning(data.error[0].message);
  488. }
  489. } else {
  490. for (let i = 0; i < data.data.length; i++) {
  491. let thisdata = data.data[i];
  492. thisdata.key = i;
  493. theArr.push(thisdata);
  494. }
  495. this.setState({
  496. dataSourceX: theArr,
  497. });
  498. }
  499. }.bind(this),
  500. }).always(
  501. function () {
  502. this.setState({
  503. orderTaskLoading: false,
  504. });
  505. }.bind(this)
  506. );
  507. }
  508. render() {
  509. return (
  510. <Modal
  511. className="customeDetails"
  512. footer=""
  513. title={null}
  514. width="1200px"
  515. maskClosable={false}
  516. visible={this.props.visible}
  517. onOk={this.props.onCancel}
  518. onCancel={this.props.onCancel}
  519. >
  520. <div>
  521. <Tabs
  522. defaultActiveKey="1"
  523. className="test"
  524. activeKey={this.state.tabsKey}
  525. onChange={(e)=>{this.setState({tabsKey:e})}}
  526. tabBarExtraContent={
  527. <div style={{fontWeight:'bold',paddingRight:'15px'}}>
  528. <OrderItemStatus deleteSign={this.state.deleteSign}/>
  529. </div>
  530. }
  531. >
  532. <TabPane tab="订单详情" key="1">
  533. <Form
  534. layout="horizontal"
  535. id="demand-form"
  536. style={{ paddingBottom: "40px" }}
  537. >
  538. <Spin spinning={this.state.loading}>
  539. <div className="clearfix">
  540. <FormItem
  541. className="half-item"
  542. {...formItemLayout}
  543. label="订单编号"
  544. >
  545. <span>{this.state.orderNo}</span>
  546. </FormItem>
  547. <FormItem
  548. className="half-item"
  549. {...formItemLayout}
  550. label="合同编号"
  551. >
  552. <span>{this.state.contractNo}</span>
  553. </FormItem>
  554. <FormItem
  555. className="half-item"
  556. {...formItemLayout}
  557. label="客户名称"
  558. >
  559. <span>{this.state.userName}</span>
  560. </FormItem>
  561. <FormItem
  562. className="half-item"
  563. {...formItemLayout}
  564. label="下单时间"
  565. >
  566. <span>{this.state.signDate}</span>
  567. </FormItem>
  568. <FormItem
  569. className="half-item"
  570. {...formItemLayout}
  571. label="流程状态"
  572. >
  573. <span>{getProcessStatus(this.state.processStatus)}</span>
  574. </FormItem>
  575. <FormItem
  576. className="half-item"
  577. {...formItemLayout}
  578. label="结算状态"
  579. >
  580. <span>
  581. {getLiquidationStatus(this.state.liquidationStatus)}
  582. </span>
  583. </FormItem>
  584. <FormItem
  585. className="half-item"
  586. {...formItemLayout}
  587. label="企业联系人"
  588. >
  589. <span>{this.state.contacts}</span>
  590. </FormItem>
  591. <FormItem
  592. className="half-item"
  593. {...formItemLayout}
  594. label="联系人电话"
  595. >
  596. <span>{this.state.contactMobile}</span>
  597. </FormItem>
  598. <FormItem
  599. className="half-item"
  600. {...formItemLayout}
  601. label="企业法人"
  602. >
  603. <span>{this.state.legalPerson}</span>
  604. </FormItem>
  605. <FormItem
  606. className="half-item"
  607. {...formItemLayout}
  608. label="法人电话"
  609. >
  610. <span>{this.state.legalPersonTel}</span>
  611. </FormItem>
  612. <FormItem
  613. className="half-item"
  614. {...formItemLayout}
  615. label="签单金额(万元)"
  616. >
  617. <span>{this.state.totalAmount}</span>
  618. </FormItem>
  619. <FormItem
  620. className="half-item"
  621. {...formItemLayout}
  622. label="首付金额(万元)"
  623. >
  624. <span>{this.state.firstAmount}</span>
  625. </FormItem>
  626. <FormItem
  627. className="half-item"
  628. {...formItemLayout}
  629. label="特批立项"
  630. >
  631. <span>{getApprovedState(this.state.approval)}</span>
  632. </FormItem>
  633. <FormItem
  634. className="half-item"
  635. {...formItemLayout}
  636. label="已收款项(万元)"
  637. >
  638. <span>{this.state.settlementAmount}</span>
  639. </FormItem>
  640. <FormItem
  641. className="half-item"
  642. {...formItemLayout}
  643. label="订单部门"
  644. >
  645. <span>{this.state.depName}</span>
  646. </FormItem>
  647. <FormItem
  648. className="half-item"
  649. {...formItemLayout}
  650. label="是否外包"
  651. >
  652. {this.state.outsource}
  653. </FormItem>
  654. <div className="clearfix">
  655. <FormItem
  656. labelCol={{ span: 4 }}
  657. wrapperCol={{ span: 16 }}
  658. label="订单留言"
  659. >
  660. <span>{this.state.orderRemarks}</span>
  661. </FormItem>
  662. </div>
  663. <div className="clearfix">
  664. <FormItem
  665. labelCol={{ span: 4 }}
  666. wrapperCol={{ span: 18 }}
  667. label={"合同扫描件"}
  668. >
  669. <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  670. {this.props.visible && this.state.orgCodeUrl ? <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/> : <div/>}
  671. </div>
  672. <Button
  673. style={{
  674. float: "right",
  675. marginRight: "140px",
  676. marginTop: "20px",
  677. }}
  678. onClick={this.getOrderLog}
  679. >
  680. 查看订单 日志
  681. </Button>
  682. </FormItem>
  683. <FormItem
  684. labelCol={{ span: 4 }}
  685. wrapperCol={{ span: 18 }}
  686. label="补充协议"
  687. >
  688. <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  689. {this.props.visible && this.state.replenishUrl ? <ImgList domId={'inquiry1'} fileList={this.state.replenishUrl} ItemWidth={'96px'}/> : <div/>}
  690. </div>
  691. </FormItem>
  692. </div>
  693. <div className="clearfix">
  694. <FormItem
  695. className="half-item"
  696. {...formItemLayout}
  697. label="订单负责人"
  698. >
  699. <span>{this.state.salesmanName}</span>
  700. </FormItem>
  701. <FormItem
  702. className="half-item"
  703. {...formItemLayout}
  704. label="订单负责人电话"
  705. >
  706. <span>{this.state.salesmanMobile}</span>
  707. </FormItem>
  708. </div>
  709. <div className="clearfix">
  710. <FormItem
  711. className="half-item"
  712. {...formItemLayout}
  713. label="当前财务负责人"
  714. >
  715. <span>{this.state.nowFinance}</span>
  716. </FormItem>
  717. <FormItem
  718. className="half-item"
  719. {...formItemLayout}
  720. label="当前财务负责人电话"
  721. >
  722. <span>{this.state.nowFinanceMobile}</span>
  723. </FormItem>
  724. </div>
  725. <div className="clearfix">
  726. <FormItem
  727. className="half-item"
  728. {...formItemLayout}
  729. style={{ opacity: ".5" }}
  730. label="原订单负责人"
  731. >
  732. <span>{this.state.oldSalesmanName}</span>
  733. </FormItem>
  734. <FormItem
  735. className="half-item"
  736. {...formItemLayout}
  737. style={{ opacity: ".5" }}
  738. label="原订单负责人电话"
  739. >
  740. <span>{this.state.oldSalesmanMobile}</span>
  741. </FormItem>
  742. </div>
  743. <div className="clearfix">
  744. <FormItem
  745. className="half-item"
  746. style={{ opacity: ".5" }}
  747. {...formItemLayout}
  748. label="实际财务操作人"
  749. >
  750. <span>{this.state.financeName}</span>
  751. </FormItem>
  752. <FormItem
  753. className="half-item"
  754. {...formItemLayout}
  755. style={{ opacity: ".5" }}
  756. label="实际财务操作人电话"
  757. >
  758. <span>{this.state.financeMobile}</span>
  759. </FormItem>
  760. </div>
  761. <div>
  762. <span style={{ marginLeft: "50px", fontSize: "20px" }}>
  763. 项目业务
  764. </span>
  765. </div>
  766. <div className="patent-table">
  767. <Spin spinning={this.state.orderTaskLoading}>
  768. <Table
  769. columns={this.state.columnsX}
  770. dataSource={this.state.dataSourceX}
  771. pagination={false}
  772. onRowClick={this.tableRowClickX}
  773. bordered
  774. size="small"
  775. />
  776. </Spin>
  777. </div>
  778. <div>
  779. <span style={{ marginLeft: "50px", fontSize: "20px" }}>
  780. 催款节点
  781. </span>
  782. <span
  783. style={{
  784. display: this.state.contactList.length ? "none" : "inline-block",
  785. marginLeft: 10,
  786. color: "red",
  787. }}
  788. >
  789. 金额总计(万元): {this.state.totalCui}
  790. </span>
  791. </div>
  792. <div className="clearfix">
  793. <Spin spinning={this.state.newOrderDunLoading}>
  794. <Form layout="horizontal" id="demand-form">
  795. <Table
  796. pagination={false}
  797. bordered
  798. size="small"
  799. columns={
  800. this.state.ContactsListsNew
  801. }
  802. dataSource={
  803. this.state.contactListNew
  804. }
  805. />
  806. <Col
  807. span={24}
  808. offset={9}
  809. style={{ marginTop: "15px" }}
  810. />
  811. </Form>
  812. </Spin>
  813. </div>
  814. </div>
  815. </Spin>
  816. </Form>
  817. </TabPane>
  818. <TabPane tab="客服跟进详情" key="2">
  819. {this.state.tabsKey === '2' ? <CustomerServiceRecord
  820. orderNo={this.props.orderNo}
  821. uid={this.props.uid}
  822. /> : ''}
  823. </TabPane>
  824. </Tabs>
  825. <OrderRiZi
  826. dataSourcerizhi={this.state.dataSourcerizhi}
  827. closeOrderLog={this.closeOrderLog}
  828. visible={this.state.rizhivisible}
  829. loading={this.state.selectOrderLogLoading}
  830. />
  831. {this.state.addnextVisible && <ProjectDetailsReadOnly
  832. infor={this.state.dataInfor}
  833. visible={this.state.addnextVisible}
  834. onCancel={this.nextCancel}
  835. />}
  836. </div>
  837. </Modal>
  838. )
  839. }
  840. }
  841. export default FollowUpDetails;