changeDetailJszj.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. import React, { Component } from "react";
  2. import { Form, Upload, Modal, Input, Button, message, Select, Table } from "antd";
  3. import AgreeButton from "./agreeButton.js";
  4. import Rizhi from "./rizhi.js";
  5. import { getProcessStatusNew, changeColor, splitUrl } from "@/tools.js";
  6. import { shenghePeo } from "@/tools.js";
  7. import $ from "jquery/src/ajax";
  8. import tongguo from "../../../../../../image/tongguo.png";
  9. import quxiao from "../../../../../../image/quxiao.png";
  10. import ProAndCuiList from "./proAndCuiList.jsx";
  11. import "./xButton.less";
  12. import Refund from "./refund.js"
  13. // import ReactToPrint from "react-to-print";
  14. const formItemLayout = {
  15. labelCol: { span: 8 },
  16. wrapperCol: { span: 14 }
  17. };
  18. const changeType = [
  19. {
  20. value: "0",
  21. key: "退单退款"
  22. },
  23. {
  24. value: "1",
  25. key: "项目及金额变更"
  26. },
  27. {
  28. value: "2",
  29. key: "仅项目变更"
  30. },
  31. {
  32. value: "3",
  33. key: "仅金额变更"
  34. },
  35. {
  36. value: "4",
  37. key: "重报"
  38. },
  39. {
  40. value: "5",
  41. key: "赠送"
  42. }
  43. ];
  44. const getChangeType = function (e) {
  45. if (e || e == 0) {
  46. let str = e.toString();
  47. let theType = "";
  48. changeType.map(function (item) {
  49. if (item.value == str) {
  50. theType = item.key;
  51. }
  52. });
  53. return theType;
  54. }
  55. };
  56. class Itemlist extends Component {
  57. constructor(props) {
  58. super(props);
  59. }
  60. render() {
  61. let pageData = this.props.pageData;
  62. return (
  63. <div className="clearfix">
  64. <Form.Item
  65. label={pageData.labelA}
  66. {...pageData.formItemLayoutA}
  67. className="half-item"
  68. >
  69. <p style={{ width: 350, wordWrap: "break-word" }}>{pageData.dataA}</p>
  70. </Form.Item>
  71. <Form.Item
  72. label={pageData.labelB}
  73. {...pageData.formItemLayoutB}
  74. className="half-item"
  75. >
  76. <span>{pageData.dataB}</span>
  77. </Form.Item>
  78. </div>
  79. );
  80. }
  81. }
  82. class ChangeDetail extends Component {
  83. constructor(props) {
  84. super(props);
  85. this.state = {
  86. rotateDeg: 0,
  87. previewVisible: false,
  88. buttonStatus: true,
  89. dataSource: [],
  90. reason: "",
  91. // 累计回收退票
  92. refundInvoice: 0,
  93. // 退票数组
  94. contactList: [],
  95. rejectState: 0,
  96. // 收款信息
  97. proceedsData: [],
  98. proceedsTotal: this.props.proceedsTotal,
  99. // 开票信息
  100. invoiceData: [],
  101. invoiceTotal: this.props.invoiceTotal,
  102. cost: 10,
  103. refund: 8,
  104. // 测试添加退票
  105. contactList: this.props.contactList,
  106. ContactsLists: [
  107. {
  108. title: "金额(万元)",
  109. dataIndex: "amount",
  110. key: "amount",
  111. render: (text, record) => {
  112. return (
  113. <div>
  114. 实际回收退票(万元)
  115. <Input
  116. value={record.amount}
  117. placeholder="请输入金额(必填项)"
  118. disabled={record.load}
  119. key={record.id}
  120. required="required"
  121. onChange={(e) => {
  122. record.amount = e.target.value;
  123. this.setState({ contactList: this.state.contactList });
  124. }}
  125. style={{ width: "120px" }}
  126. />
  127. </div>
  128. );
  129. },
  130. },
  131. {
  132. title: "时间",
  133. dataIndex: "createTimes",
  134. key: "createTimes",
  135. render: (text, record) => {
  136. return <div>{record.createTimes}</div>;
  137. },
  138. },
  139. ],
  140. };
  141. this.getOrgCodeUrl = this.getOrgCodeUrl.bind(this);
  142. this.changeButtonStatus = this.changeButtonStatus.bind(this);
  143. this.moneyOld = this.moneyOld.bind(this);
  144. this.rotate = this.rotate.bind(this);
  145. this.downImg = this.downImg.bind(this);
  146. this.upImg = this.upImg.bind(this);
  147. }
  148. componentWillReceiveProps(nextProps) {
  149. this.setState({
  150. paymentTimes: nextProps.data.paymentTimes,
  151. paymentAmount: nextProps.data.paymentAmount,
  152. invoiceTimes: nextProps.data.invoiceTimes,
  153. invoiceAmount: nextProps.data.invoiceAmount,
  154. cwCost: nextProps.data.cwCost,
  155. refundableAmount: nextProps.data.refundableAmount,
  156. cwRemarks: nextProps.data.cwRemarks,
  157. contactList: nextProps.contactList,
  158. refundInvoice: nextProps.data.refundInvoice,
  159. });
  160. }
  161. getOrgCodeUrl(e) {
  162. this.setState({
  163. orgCodeUrl: e,
  164. });
  165. }
  166. moneyOld(str, money) {
  167. if (money) {
  168. return (
  169. <span style={{ color: "red", fontWeight: 900, fontSize: 16 }}>
  170. {str}(原合同金额{money}万元)
  171. </span>
  172. );
  173. } else {
  174. return (
  175. <span style={{ color: "red", fontWeight: 900, fontSize: 16 }}>
  176. {str}
  177. </span>
  178. );
  179. }
  180. }
  181. //同意拒绝按钮的有无
  182. changeButtonStatus() {
  183. this.setState({
  184. buttonStatus: !this.state.buttonStatus,
  185. });
  186. }
  187. downImg() {
  188. let num = 0;
  189. for (let i = 0; i < this.props.pictureUrl.length; i++) {
  190. if (this.props.pictureUrl[i].url == this.state.previewImage) {
  191. num = i;
  192. }
  193. }
  194. if (num == this.props.pictureUrl.length - 1) {
  195. return message.warning("已经是最后一张了哦");
  196. }
  197. this.state.previewImage = this.props.pictureUrl[num + 1].url;
  198. this.setState({
  199. previewImage: this.state.previewImage,
  200. rotateDeg: 0,
  201. });
  202. }
  203. upImg() {
  204. let num = 0;
  205. for (let i = 0; i < this.props.pictureUrl.length; i++) {
  206. if (this.props.pictureUrl[i].url == this.state.previewImage) {
  207. num = i;
  208. }
  209. }
  210. if (num == 0) {
  211. return message.warning("已经是第一张了哦");
  212. }
  213. this.state.previewImage = this.props.pictureUrl[num - 1].url;
  214. this.setState({
  215. previewImage: this.state.previewImage,
  216. rotateDeg: 0,
  217. });
  218. }
  219. rotate() {
  220. let rotateDeg = this.state.rotateDeg + 90;
  221. this.setState({
  222. rotateDeg,
  223. });
  224. }
  225. render() {
  226. const pageData = [
  227. {
  228. labelA: "客户名称",
  229. formItemLayoutA: formItemLayout,
  230. dataA: this.props.data.userName,
  231. labelB: "合同编号",
  232. formItemLayoutB: formItemLayout,
  233. dataB: this.props.data.contractNo,
  234. },
  235. {
  236. labelA: "时间",
  237. formItemLayoutA: formItemLayout,
  238. dataA: this.props.data.createTimes,
  239. labelB: "发起人",
  240. formItemLayoutB: formItemLayout,
  241. dataB: this.props.data.applicant,
  242. },
  243. {
  244. labelA: "当前进度",
  245. formItemLayoutA: formItemLayout,
  246. // 当前是咨询师以及咨询师经理时使用shenhePeo函数,其他流程正常显示
  247. dataA:
  248. this.props.data.processState == 2 || this.props.data.processState == 3
  249. ? shenghePeo(
  250. this.props.data.processState == 2
  251. ? this.props.data.consultantExamine
  252. : this.props.data.managerExamine,
  253. this.props.data.processState
  254. )
  255. : getProcessStatusNew(
  256. this.props.data.processState,
  257. this.props.data.status
  258. ),
  259. labelB: "变更类型",
  260. formItemLayoutB: formItemLayout,
  261. dataB: getChangeType(this.props.data.type),
  262. },
  263. {
  264. labelA: "合同额(万元)",
  265. formItemLayoutA: formItemLayout,
  266. dataA: this.moneyOld(this.props.data.totalAmount, this.props.money),
  267. labelB: "已收款(万元)",
  268. formItemLayoutB: formItemLayout,
  269. dataB: changeColor(this.props.data.settlementAmount),
  270. },
  271. {
  272. labelA: "欠款(万元)",
  273. formItemLayoutA: formItemLayout,
  274. dataA: changeColor(this.props.data.arrears),
  275. labelB: "申请退款(万元)",
  276. formItemLayoutB: formItemLayout,
  277. dataB: changeColor(this.props.data.changeAmount),
  278. },
  279. {
  280. labelA: "变更原因",
  281. formItemLayoutA: formItemLayout,
  282. dataA: this.props.data.remarks,
  283. },
  284. ];
  285. const planData = [
  286. {
  287. labelA: "项目进度",
  288. formItemLayoutA: formItemLayout,
  289. dataA: this.props.data.projectState,
  290. onChangeA: (value) => {
  291. this.setState({
  292. projectState: value,
  293. });
  294. },
  295. labelB: "发生成本费用(万元)",
  296. formItemLayoutB: formItemLayout,
  297. dataB: this.props.data.zxsCost,
  298. onChangeB: (value) => {
  299. this.setState({
  300. zxsCost: value,
  301. });
  302. },
  303. },
  304. {
  305. labelA: "备注",
  306. formItemLayoutA: formItemLayout,
  307. dataA: this.props.data.zxsRemarks,
  308. onChangeA: (value) => {
  309. this.setState({
  310. zxsRemarks: value,
  311. });
  312. },
  313. },
  314. ];
  315. const financeData = [
  316. {
  317. labelA: "发生成本(万元)",
  318. formItemLayoutA: formItemLayout,
  319. dataA: this.props.data.cwCost,
  320. labelB: "应退金额(万元)",
  321. formItemLayoutB: formItemLayout,
  322. dataB: this.props.data.refundableAmount,
  323. },
  324. ];
  325. const buttonData = [
  326. {
  327. name: "同意",
  328. title: "理由",
  329. placeholder: "请输入理由",
  330. type: "primary",
  331. status: 2,
  332. onChange: (value) => {
  333. this.setState({
  334. remarks: value,
  335. });
  336. },
  337. },
  338. {
  339. name: "拒绝",
  340. title: "理由",
  341. placeholder: "请输入理由",
  342. type: "danger",
  343. status: 3,
  344. onChange: (value) => {
  345. this.setState({
  346. remarks: value,
  347. });
  348. },
  349. },
  350. ];
  351. const orgCodeUrl = this.props.pictureUrl;
  352. return (
  353. <div className="clearfix changeDetail">
  354. <div
  355. className="clearfix"
  356. ref={(e) => {
  357. this.refs = e;
  358. }}
  359. >
  360. <div
  361. style={{
  362. borderRadius: "50%",
  363. width: 300,
  364. height: 300,
  365. position: "absolute",
  366. top: 230,
  367. left: 525,
  368. transform: "rotate(-5deg)",
  369. zIndex: 1,
  370. display:
  371. (this.props.data.processState == 7 ||
  372. this.props.data.processState == 8) &&
  373. this.props.data.status == 4
  374. ? "block"
  375. : "none",
  376. }}
  377. >
  378. {/* <span
  379. style={{
  380. fontSize: 29,
  381. position: "absolute",
  382. left: "50%",
  383. top: "50%",
  384. transform: "translate(-50%,-50%)",
  385. color: "red"
  386. }}
  387. >
  388. 通过
  389. </span> */}
  390. <img src={tongguo} style={{ width: "100%" }} />
  391. </div>
  392. <div
  393. style={{
  394. borderRadius: "50%",
  395. width: 300,
  396. height: 300,
  397. position: "absolute",
  398. top: 284,
  399. left: 586,
  400. transform: "rotate(-5deg)",
  401. zIndex: 1,
  402. display: this.props.data.status == 5 ? "block" : "none",
  403. }}
  404. >
  405. <img src={quxiao} style={{ width: "63%" }} />
  406. </div>
  407. <h2 style={{ textAlign: "center", marginBottom: 10 }}>
  408. 合同变更记录
  409. </h2>
  410. {pageData.map((item, index) => {
  411. return <Itemlist key={index} pageData={item} />;
  412. })}
  413. <Form.Item
  414. label="变更凭证"
  415. labelCol={{ span: 4 }}
  416. wrapperCol={{ span: 18 }}
  417. >
  418. <Upload
  419. className="demandDetailShow-upload"
  420. listType="picture-card"
  421. fileList={orgCodeUrl}
  422. onPreview={(file) => {
  423. this.setState({
  424. previewImage: file.url || file.thumbUrl,
  425. previewVisible: true,
  426. });
  427. }}
  428. />
  429. <Modal
  430. maskClosable={false}
  431. footer={null}
  432. width={"70%"}
  433. visible={this.state.previewVisible}
  434. onCancel={() => {
  435. this.state.rotateDeg = 0;
  436. this.setState({
  437. previewVisible: false,
  438. rotateDeg: this.state.rotateDeg,
  439. });
  440. }}
  441. >
  442. <img
  443. alt=""
  444. style={{
  445. width: "100%",
  446. transform: `rotate(${this.state.rotateDeg}deg)`,
  447. }}
  448. src={this.state.previewImage || ""}
  449. />
  450. <Button
  451. onClick={this.rotate}
  452. style={{
  453. position: "relative",
  454. left: "50%",
  455. transform: "translateX(-50%)",
  456. }}
  457. >
  458. 旋转
  459. </Button>
  460. <Button
  461. onClick={this.upImg}
  462. style={{
  463. position: "absolute",
  464. left: -81,
  465. top: "50%",
  466. transform: "translateY(-50%)",
  467. }}
  468. >
  469. 上一张
  470. </Button>
  471. <Button
  472. onClick={this.downImg}
  473. style={{
  474. position: "absolute",
  475. right: -81,
  476. top: "50%",
  477. transform: "translateY(-50%)",
  478. }}
  479. >
  480. 下一张
  481. </Button>
  482. </Modal>
  483. <Rizhi changeId={this.props.id} />
  484. </Form.Item>
  485. <ul
  486. style={{
  487. width: "868px",
  488. overflow: "hidden",
  489. paddingLeft: "90px",
  490. position: "relative",
  491. bottom: "0px",
  492. }}
  493. >
  494. {/* <span>操作人:</span> */}
  495. {this.props.dataSource.map((item, index) => {
  496. if (item.status == 0) {
  497. item.status = "发起";
  498. } else if (item.status == 1) {
  499. item.status = "审核中";
  500. } else if (item.status == 2) {
  501. item.status = "通过";
  502. } else if (item.status == 3) {
  503. item.status = "驳回";
  504. } else if (item.status == 4) {
  505. item.status = "完成";
  506. }
  507. return (
  508. <li
  509. key={index}
  510. style={{
  511. width: "100%",
  512. height: "auto",
  513. wordBreak: "break-all",
  514. marginBottom: "10px",
  515. }}
  516. >
  517. {item.aname + ":" + "(" + item.status + ")" + item.remarks}
  518. </li>
  519. );
  520. })}
  521. </ul>
  522. <ProAndCuiList id={this.props.id} />
  523. <div className="clearfix">
  524. <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
  525. 收款情况
  526. </h3>
  527. <div style={{ marginLeft: "90px" }}>
  528. <ul>
  529. {(this.props.proceedsData.bill || []).map((item, index) => (
  530. <li key={index}>
  531. {item.payTime +
  532. " " +
  533. item.aName +
  534. " 收款:" +
  535. item.transactionAmount +
  536. "万元"}
  537. </li>
  538. ))}
  539. </ul>
  540. <div>收款总计:{this.props.proceedsTotal}万元</div>
  541. </div>
  542. <br />
  543. <div style={{ marginLeft: "90px" }}>
  544. <ul>
  545. {(this.props.proceedsData.invoice || []).map((item, index) => (
  546. <li key={index}>
  547. {item.createTime + " " + " 开票:" + item.amount + "万元"}
  548. </li>
  549. ))}
  550. </ul>
  551. <div>开票总计:{this.props.invoiceTotal}万元</div>
  552. </div>
  553. <p style={{ marginLeft: "90px", color: "red" }}>
  554. 系统预估 产生成本(万元):
  555. {this.props.data.estimateCost
  556. ? this.props.data.estimateCost
  557. : "0"}{" "}
  558. &nbsp;应退金额(万元):
  559. {this.props.data.estimateRefundable
  560. ? this.props.data.estimateRefundable
  561. : "0"}
  562. </p>
  563. </div>
  564. {/* {this.props.data.type === 0 ? (
  565. <div>
  566. <h3 style={{ marginLeft: 10, fontWeight: 800, marginBottom: 10 }}>
  567. 当前项目进度(咨询师经理填写)
  568. </h3>
  569. {planData.map((item, index) => {
  570. return <Itemlist key={index} pageData={item} />;
  571. })}
  572. </div>
  573. ) : (
  574. ""
  575. )} */}
  576. <div
  577. style={{
  578. display:
  579. (this.props.data.processState == 8 ||
  580. this.props.data.processState == 7) &&
  581. (this.props.data.status == 2 || this.props.data.status == 4)
  582. ? "block"
  583. : "none",
  584. }}
  585. >
  586. <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
  587. 回收退票
  588. </h3>
  589. <Table
  590. pagination={false}
  591. bordered
  592. columns={this.state.ContactsLists}
  593. dataSource={this.state.contactList}
  594. />
  595. </div>
  596. <div
  597. style={{
  598. display: this.props.data.processState > 5 ? "block" : "none",
  599. }}
  600. >
  601. <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
  602. 当前财务状态(财务填写)
  603. </h3>
  604. {financeData.map((item, index) => {
  605. return <Itemlist key={index} pageData={item} />;
  606. })}
  607. </div>
  608. {/* {this.props.data.processState >= 4 ? (
  609. <div>
  610. <h3 style={{ marginLeft: 10, fontWeight: 800, marginBottom: 10 }}>
  611. 当前项目进度(咨询师经理填写)
  612. </h3>
  613. {planData.map((item, index) => {
  614. return <Itemlist key={index} pageData={item} />;
  615. })}
  616. </div>
  617. ) : (
  618. ""
  619. )} */}
  620. {/* {this.props.data.processState >= 5 ? (
  621. <div>
  622. <h3 style={{ marginLeft: 10, fontWeight: 800, marginBottom: 10 }}>
  623. 当前财务状态(财务填写)
  624. </h3>
  625. {financeData.map((item, index) => {
  626. return <Itemlist key={index} pageData={item} />;
  627. })}
  628. </div>
  629. ) : (
  630. ""
  631. )} */}
  632. <div
  633. style={{
  634. display:
  635. (this.props.data.processState == 7 ||
  636. this.props.data.processState == 8) &&
  637. this.props.data.status == 4 &&
  638. this.props.data.refundStatus
  639. ? "block"
  640. : "none",
  641. }}
  642. >
  643. <Refund data={this.props.data} id={this.props.id} />
  644. </div>
  645. </div>
  646. {this.props.data.processState === 4 &&
  647. (this.props.data.status == 1 || this.props.data.status == 3) ? (
  648. // this.state.buttonStatus ? (
  649. <div>
  650. <div style={{ marginBottom: 10 }}>
  651. <Form.Item
  652. label="备注"
  653. labelCol={{ span: 4 }}
  654. wrapperCol={{ span: 14 }}
  655. >
  656. <Input.TextArea
  657. value={this.state.reason}
  658. rows={4}
  659. placeholder="请输入备注"
  660. onChange={(e) => {
  661. let reason = e.target.value;
  662. this.setState({ reason });
  663. }}
  664. />
  665. </Form.Item>
  666. </div>
  667. <div
  668. className="clearfix"
  669. style={{ display: "flex", justifyContent: "space-around" }}
  670. >
  671. {buttonData.map((item, index) => {
  672. return (
  673. <AgreeButton
  674. data={item}
  675. key={index}
  676. backData={this.props.data}
  677. processState={this.props.processState}
  678. visible={this.changeButtonStatus}
  679. loadData={this.props.loadData}
  680. ajaxData={this.state}
  681. rejectState={this.state.rejectState}
  682. reason={this.state.reason}
  683. onCancel={this.props.onCancel}
  684. />
  685. );
  686. })}
  687. </div>
  688. <Select
  689. defaultValue="0"
  690. style={{
  691. width: 120,
  692. float: "left",
  693. position: "relative",
  694. bottom: "28px",
  695. right: "-600px",
  696. }}
  697. onChange={(val) => {
  698. this.setState({ rejectState: val });
  699. }}
  700. >
  701. <Option
  702. value="0"
  703. style={{
  704. display: this.props.processState >= 1 ? "block" : "none",
  705. }}
  706. >
  707. 营销员
  708. </Option>
  709. <Option
  710. value="1"
  711. style={{
  712. display: this.props.processState >= 2 ? "block" : "none",
  713. }}
  714. >
  715. 营销管理员
  716. </Option>
  717. <Option
  718. value="2"
  719. style={{
  720. display: this.props.processState >= 3 ? "block" : "none",
  721. }}
  722. >
  723. 咨询师
  724. </Option>
  725. <Option
  726. value="3"
  727. style={{
  728. display: this.props.processState >= 4 ? "block" : "none",
  729. }}
  730. >
  731. 咨询师经理
  732. </Option>
  733. <Option
  734. value="4"
  735. style={{
  736. display: this.props.processState >= 5 ? "block" : "none",
  737. }}
  738. >
  739. 咨询师总监
  740. </Option>
  741. <Option
  742. value="5"
  743. style={{
  744. display: this.props.processState >= 6 ? "block" : "none",
  745. }}
  746. >
  747. 财务专员(退单)
  748. </Option>
  749. <Option
  750. value="6"
  751. style={{
  752. display: this.props.processState >= 7 ? "block" : "none",
  753. }}
  754. >
  755. 财务总监
  756. </Option>
  757. <Option
  758. value="7"
  759. style={{
  760. display: this.props.processState >= 8 ? "block" : "none",
  761. }}
  762. >
  763. 总裁
  764. </Option>
  765. </Select>
  766. </div>
  767. ) : (
  768. // ) : (
  769. // ""
  770. // )
  771. ""
  772. )}
  773. {/* <ReactToPrint
  774. trigger={() => (
  775. <div className="clearfix">
  776. <Button type="primary" style={{ float: "right", marginTop: 10 }}>
  777. 打印
  778. </Button>
  779. </div>
  780. )}
  781. content={() => this.refs}
  782. /> */}
  783. </div>
  784. );
  785. }
  786. }
  787. export { ChangeDetail };