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. import EnterpriseNameChange from "../../../common/enterpriseNameChange";
  18. const FormItem = Form.Item;
  19. const { TabPane } = Tabs;
  20. const formItemLayout = {
  21. labelCol: { span: 8 },
  22. wrapperCol: { span: 14 },
  23. };
  24. class FollowUpDetails extends Component{
  25. constructor(props) {
  26. super(props);
  27. this.state={
  28. loading:false,
  29. columnsX: [
  30. {
  31. title: "业务项目名称",
  32. dataIndex: "commodityName",
  33. key: "commodityName",
  34. render: (text, record) => {
  35. return text + "-" + record.id
  36. }
  37. },
  38. {
  39. title: "项目类别",
  40. dataIndex: "cname",
  41. key: "cname",
  42. },
  43. {
  44. title: "项目数量",
  45. dataIndex: "commodityQuantity",
  46. key: "commodityQuantity",
  47. render: (text, record) => {
  48. if (record.splitStatus == 1) {
  49. return (
  50. <span>
  51. {text}{" "}
  52. <Tag
  53. color="#108ee9"
  54. onClick={(e) => {
  55. e.stopPropagation();
  56. this.showRes(record);
  57. }}
  58. >
  59. 已拆
  60. </Tag>
  61. </span>
  62. );
  63. } else {
  64. return text;
  65. }
  66. },
  67. },
  68. {
  69. title: "金额(万元)",
  70. dataIndex: "commodityPrice",
  71. key: "commodityPrice",
  72. },
  73. {
  74. title: "负责人",
  75. dataIndex: "contacts",
  76. key: "contacts",
  77. },
  78. {
  79. title: "负责人电话",
  80. dataIndex: "contactsMobile",
  81. key: "contactsMobile",
  82. },
  83. {
  84. title: "主要项目",
  85. dataIndex: "main",
  86. key: "main",
  87. render: (text) => {
  88. return text ? "是" : "否";
  89. },
  90. },
  91. {
  92. title: "项目说明",
  93. dataIndex: "taskComment",
  94. key: "taskComment",
  95. render: (text) => {
  96. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  97. },
  98. },
  99. ],
  100. dataSourceX:[],
  101. contactList:[],
  102. ContactsListsNew: [
  103. {
  104. title: "项目名称",
  105. dataIndex: "commodityName",
  106. key: "commodityName",
  107. render: (text, record) => {
  108. return <span>{text + "-" + record.tid}</span>;
  109. },
  110. },
  111. {
  112. title: "项目分类",
  113. dataIndex: "projectType",
  114. key: "projectType",
  115. render: (text) => {
  116. let arr = this.state.dataSourceX || [];
  117. let str = "";
  118. for (let i = 0; i < arr.length; i++) {
  119. if (this.state.dataSourceX[i].sort == text) {
  120. str = this.state.dataSourceX[i].cname;
  121. return <span>{str}</span>;
  122. }
  123. }
  124. },
  125. },
  126. {
  127. title: "催款科目",
  128. dataIndex: "dunTypeName",
  129. key: "dunTypeName",
  130. render: (text, record) => {
  131. if (record.customizeName) {
  132. return text + record.customizeName;
  133. }
  134. return <span>{text}</span>;
  135. },
  136. },
  137. {
  138. title: "时间(天)",
  139. dataIndex: "waitDay",
  140. key: "waitDay",
  141. render: (text, record) => {
  142. if (record.dunTypeName) {
  143. if (record.customizeTimes) {
  144. return record.customizeTimes;
  145. }
  146. return <span>{text}</span>;
  147. }
  148. },
  149. },
  150. {
  151. title: "金额(万元)",
  152. dataIndex: "money",
  153. key: "money",
  154. render: (text, record) => {
  155. if (record.dunTypeName) {
  156. if (record.appropriationRatio) {
  157. return <span>{record.appropriationRatio}(拨款比例)</span>;
  158. } else {
  159. return <span>{text}</span>;
  160. }
  161. }
  162. },
  163. },
  164. {
  165. title: "服务年限",
  166. dataIndex: "startDate",
  167. key: "startDate",
  168. render: (text, record) => {
  169. if (record.dunTypeName) {
  170. return <span>{text}</span>;
  171. }
  172. },
  173. },
  174. {
  175. title: "催款状态",
  176. dataIndex: "status",
  177. key: "status",
  178. render: (text) => {
  179. return <span>{text == 1 ? "已启动" : "未启动"}</span>;
  180. },
  181. },
  182. ],
  183. ContactsLists: [
  184. {
  185. title: "催款科目",
  186. dataIndex: "dunSubject",
  187. key: "dunSubject",
  188. render: (text) => {
  189. return getjiedian(text);
  190. },
  191. },
  192. {
  193. title: "金额(万元)",
  194. dataIndex: "money",
  195. key: "money",
  196. },
  197. {
  198. title: "催款状态",
  199. dataIndex: "dunStatus",
  200. key: "dunStatus",
  201. render: (text) => {
  202. return getCuikuan(text);
  203. },
  204. },
  205. ],
  206. tabsKey:'1',
  207. dataSourcerizhi:[],
  208. }
  209. this.jiedian =this.jiedian.bind(this);
  210. this.jiedianNew =this.jiedianNew.bind(this);
  211. this.xiangqing =this.xiangqing.bind(this);
  212. this.rizhi =this.rizhi.bind(this);
  213. this.closeOrderLog =this.closeOrderLog.bind(this);
  214. this.tableRowClickX =this.tableRowClickX.bind(this);
  215. this.nextCancel =this.nextCancel.bind(this);
  216. this.rizhi =this.rizhi.bind(this);
  217. this.getOrderLog =this.getOrderLog.bind(this);
  218. this.xiangmu =this.xiangmu.bind(this);
  219. }
  220. componentDidMount() {
  221. this.xiangqing();
  222. this.jiedian();
  223. this.jiedianNew();
  224. this.xiangmu();
  225. }
  226. getOrderLog() {
  227. this.setState({
  228. rizhivisible: true,
  229. });
  230. this.rizhi();
  231. }
  232. closeOrderLog() {
  233. this.setState({
  234. rizhivisible: false,
  235. dataSourcerizhi:[],
  236. });
  237. }
  238. tableRowClickX(record) {
  239. this.setState({
  240. addnextVisible: true,
  241. dataInfor:record,
  242. });
  243. }
  244. nextCancel() {
  245. this.setState({
  246. addnextVisible: false,
  247. dataInfor:{}
  248. });
  249. }
  250. rizhi() {
  251. this.setState({
  252. selectOrderLogLoading: true,
  253. });
  254. $.ajax({
  255. method: "get",
  256. dataType: "json",
  257. crossDomain: false,
  258. url: "/api/admin/newOrder/selectOrderLog",
  259. data: {
  260. orderNo: this.props.orderNo,
  261. },
  262. success: function (data) {
  263. let theArr = [];
  264. let thisData = data.data;
  265. if (!thisData.length) {
  266. if (data.error && data.error.length) {
  267. message.warning(data.error[0].message);
  268. }
  269. } else {
  270. for (let i = 0; i < data.data.length; i++) {
  271. let thisdata = data.data[i];
  272. theArr.push({
  273. processName: thisdata.processName,
  274. adminName: thisdata.adminName,
  275. createDate: thisdata.createDate,
  276. remarks: thisdata.remarks,
  277. });
  278. }
  279. }
  280. this.setState({
  281. dataSourcerizhi: theArr,
  282. });
  283. }.bind(this),
  284. }).always(
  285. function () {
  286. this.setState({
  287. selectOrderLogLoading: false,
  288. });
  289. }.bind(this)
  290. );
  291. }
  292. jiedian() {
  293. $.ajax({
  294. method: "get",
  295. dataType: "json",
  296. crossDomain: false,
  297. url: globalConfig.context + "/api/admin/newOrder/selectOrderDun",
  298. data: {
  299. orderNo: this.props.orderNo,
  300. },
  301. success: function (data) {
  302. let theArr = [];
  303. let thisData = [];
  304. if (data.error.length || data.data.list == "") {
  305. if (data.error && data.error.length) {
  306. message.warning(data.error[0].message);
  307. }
  308. } else {
  309. for (let i = 0; i < data.data.length; i++) {
  310. thisData = data.data[i];
  311. theArr.push({
  312. key: i,
  313. dunSubject: thisData.dunSubject
  314. ? thisData.dunSubject.toString()
  315. : "", //催款科目
  316. id: thisData.id, //节点Id
  317. money: thisData.money, //催款金额
  318. dunStatus: thisData.dunStatus, //催款状态
  319. });
  320. }
  321. this.setState({
  322. contactList: theArr,
  323. });
  324. }
  325. }.bind(this),
  326. }).always(
  327. function () {
  328. }.bind(this)
  329. );
  330. }
  331. //查看催款节点
  332. jiedianNew() {
  333. this.setState({
  334. newOrderDunLoading: true,
  335. });
  336. $.ajax({
  337. method: "get",
  338. dataType: "json",
  339. crossDomain: false,
  340. url:
  341. globalConfig.context + "/api/admin/newOrderDun/selectListNewOrderDun",
  342. data: {
  343. orderNo: this.props.orderNo,
  344. },
  345. success: function (data) {
  346. if (data.error && data.error.length) {
  347. message.warning(data.error[0].message);
  348. } else {
  349. let theArr = [];
  350. let thisData = [];
  351. let arr = data.data || [];
  352. let totalCui = 0;
  353. for (let i = 0; i < arr.length; i++) {
  354. thisData = arr[i];
  355. totalCui += +thisData.money;
  356. theArr.push({
  357. key: i,
  358. dunSubject: thisData.dunSubject
  359. ? thisData.dunSubject.toString()
  360. : "", //催款科目
  361. id: thisData.id, //节点Id
  362. money: thisData.money, //催款金额
  363. commodityName: thisData.commodityName,
  364. projectType: thisData.projectType,
  365. dunTypeName: thisData.dunTypeName,
  366. status: thisData.status,
  367. waitDay: thisData.waitDay,
  368. effectiveCount: thisData.effectiveCount,
  369. startDate: thisData.startDate,
  370. dunType: thisData.dunType,
  371. appropriationRatio: thisData.appropriationRatio,
  372. customizeName: thisData.customizeName,
  373. customizeTimes: thisData.customizeTimes,
  374. tid: thisData.tid,
  375. });
  376. }
  377. if (!totalCui) {
  378. totalCui = 0;
  379. }
  380. totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
  381. this.setState({
  382. contactListNew: theArr,
  383. totalCui,
  384. });
  385. }
  386. }.bind(this),
  387. }).always(
  388. function () {
  389. this.setState({
  390. newOrderDunLoading: false,
  391. });
  392. }.bind(this)
  393. );
  394. }
  395. xiangqing() {
  396. this.setState({
  397. loading: true,
  398. });
  399. $.ajax({
  400. method: "get",
  401. dataType: "json",
  402. crossDomain: false,
  403. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  404. data: {
  405. orderNo: this.props.orderNo,
  406. },
  407. success: function (data) {
  408. if (data.error.length || data.data.list == "") {
  409. if (data.error && data.error.length) {
  410. message.warning(data.error[0].message);
  411. }
  412. } else {
  413. let thisdata = data.data;
  414. this.setState({
  415. orderUid: thisdata.uid,
  416. orderNo: thisdata.orderNo, //订单编号
  417. contractNo: thisdata.contractNo, //合同编号
  418. userName: thisdata.userName, //客户名称
  419. signDate: thisdata.signDate, //签单时间
  420. processStatus: thisdata.processStatus, //流程状态
  421. liquidationStatus: thisdata.liquidationStatus, //结算状态
  422. contacts: thisdata.contacts, //企业联系人
  423. contactMobile: thisdata.contactMobile, //联系人电话
  424. legalPerson: thisdata.legalPerson, //法人
  425. legalPersonTel: thisdata.legalPersonTel, //法人电话
  426. firstAmount: thisdata.firstAmount, //签单金额
  427. totalAmount: thisdata.totalAmount, //首付金额
  428. approval: thisdata.approval, //特批状态
  429. settlementAmount: thisdata.settlementAmount, //已收款项
  430. orderRemarks: thisdata.orderRemarks, //订单留言
  431. orgCodeUrl: thisdata.contractPictureUrl
  432. ? splitUrl(
  433. thisdata.contractPictureUrl,
  434. ",",
  435. globalConfig.avatarHost + "/upload"
  436. )
  437. : [], //图片地址
  438. replenishUrl: thisdata.agreementUrl
  439. ? splitUrl(
  440. thisdata.agreementUrl,
  441. ",",
  442. globalConfig.avatarHost + "/upload"
  443. )
  444. : [], //图片地址
  445. salesmanName: thisdata.salesmanName, //营销员名称
  446. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  447. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  448. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  449. financeName: thisdata.financeName, //财务名称
  450. financeMobile: thisdata.financeMobile, //财务电话
  451. nowFinance: thisdata.nowFinance, //财务名称
  452. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  453. depName: thisdata.depName,
  454. outsource: thisdata.outsource == 0 ? "否" : "是",
  455. deleteSign:thisdata.deleteSign,
  456. });
  457. }
  458. }.bind(this),
  459. }).always(
  460. function () {
  461. this.setState({
  462. loading: false,
  463. });
  464. }.bind(this)
  465. );
  466. }
  467. xiangmu() {
  468. this.setState({
  469. orderTaskLoading:true
  470. })
  471. $.ajax({
  472. method: "get",
  473. dataType: "json",
  474. crossDomain: false,
  475. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  476. data: {
  477. orderNo: this.props.orderNo,
  478. },
  479. success: function (data) {
  480. let theArr = [];
  481. if (data.error.length || data.data.list == "") {
  482. if (data.error && data.error.length) {
  483. message.warning(data.error[0].message);
  484. }
  485. } else {
  486. for (let i = 0; i < data.data.length; i++) {
  487. let thisdata = data.data[i];
  488. thisdata.key = i;
  489. theArr.push(thisdata);
  490. }
  491. this.setState({
  492. dataSourceX: theArr,
  493. });
  494. }
  495. }.bind(this),
  496. }).always(
  497. function () {
  498. this.setState({
  499. orderTaskLoading: false,
  500. });
  501. }.bind(this)
  502. );
  503. }
  504. render() {
  505. return (
  506. <Modal
  507. className="customeDetails"
  508. footer=""
  509. title={null}
  510. width="1200px"
  511. maskClosable={false}
  512. visible={this.props.visible}
  513. onOk={this.props.onCancel}
  514. onCancel={this.props.onCancel}
  515. >
  516. <div>
  517. <Tabs
  518. defaultActiveKey="1"
  519. className="test"
  520. activeKey={this.state.tabsKey}
  521. onChange={(e)=>{this.setState({tabsKey:e})}}
  522. tabBarExtraContent={
  523. <div style={{fontWeight:'bold',paddingRight:'15px'}}>
  524. <OrderItemStatus deleteSign={this.state.deleteSign}/>
  525. </div>
  526. }
  527. >
  528. <TabPane tab="订单详情" key="1">
  529. <Form
  530. layout="horizontal"
  531. id="demand-form"
  532. style={{ paddingBottom: "40px" }}
  533. >
  534. <Spin spinning={this.state.loading}>
  535. <div className="clearfix">
  536. <FormItem
  537. className="half-item"
  538. {...formItemLayout}
  539. label="订单编号"
  540. >
  541. <span>{this.state.orderNo}</span>
  542. </FormItem>
  543. <FormItem
  544. className="half-item"
  545. {...formItemLayout}
  546. label="合同编号"
  547. >
  548. <span>{this.state.contractNo}</span>
  549. </FormItem>
  550. <FormItem
  551. className="half-item"
  552. {...formItemLayout}
  553. label="客户名称"
  554. >
  555. <span>{this.state.userName}</span>
  556. <EnterpriseNameChange
  557. type='journal'
  558. style={{ marginLeft: 10 }}
  559. enterpriseId={this.state.orderUid}/>
  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;