|
@@ -19,6 +19,8 @@ import { ShowModal, splitUrl, getAccountName, getVehicleName, getTypeName, commo
|
|
import ShowModalDiv from "@/showModal.jsx";
|
|
import ShowModalDiv from "@/showModal.jsx";
|
|
import ImgList from "../../../common/imgList";
|
|
import ImgList from "../../../common/imgList";
|
|
import { accountType, accountStatus } from "@/dataDic";
|
|
import { accountType, accountStatus } from "@/dataDic";
|
|
|
|
+import ReactToPrint from "react-to-print";
|
|
|
|
+import './accountReview.less';
|
|
|
|
|
|
const FormItem = Form.Item;
|
|
const FormItem = Form.Item;
|
|
const { RangePicker } = DatePicker;
|
|
const { RangePicker } = DatePicker;
|
|
@@ -243,7 +245,7 @@ const AccountReview = React.createClass({
|
|
let datas = Object.assign(searchValues, {
|
|
let datas = Object.assign(searchValues, {
|
|
pageNo: pageNo || 1,
|
|
pageNo: pageNo || 1,
|
|
pageSize: pagination.pageSize,
|
|
pageSize: pagination.pageSize,
|
|
- processStatus: this.props.isOperate ? 1 : undefined,
|
|
+ processStatus: this.props.isOperate ? 1 : 2,
|
|
});
|
|
});
|
|
$.ajax({
|
|
$.ajax({
|
|
method: "get",
|
|
method: "get",
|
|
@@ -424,6 +426,7 @@ const AccountReview = React.createClass({
|
|
})
|
|
})
|
|
this.getDetails(e.id)
|
|
this.getDetails(e.id)
|
|
this.getAccountList(e.id)
|
|
this.getAccountList(e.id)
|
|
|
|
+ this.getLogData(e.id)
|
|
},
|
|
},
|
|
|
|
|
|
// 报销信息详情
|
|
// 报销信息详情
|
|
@@ -563,10 +566,10 @@ const AccountReview = React.createClass({
|
|
|
|
|
|
render() {
|
|
render() {
|
|
const { TextArea } = Input
|
|
const { TextArea } = Input
|
|
- const { searchValues, data, visible, list = [], total, } = this.state
|
|
+ const { searchValues, data, visible, list = [], total, logdataSour, } = this.state
|
|
const formItemLayout = {
|
|
const formItemLayout = {
|
|
- labelCol: { span: 10 },
|
|
+ labelCol: { span: 5 },
|
|
- wrapperCol: { span: 14 },
|
|
+ wrapperCol: { span: 18 },
|
|
};
|
|
};
|
|
const dataSources = this.state.fjlist || [];
|
|
const dataSources = this.state.fjlist || [];
|
|
const options = dataSources.map((group) => (
|
|
const options = dataSources.map((group) => (
|
|
@@ -813,54 +816,68 @@ const AccountReview = React.createClass({
|
|
onOk={false}
|
|
onOk={false}
|
|
onCancel={() => { this.setState({ showDetails: false }) }}
|
|
onCancel={() => { this.setState({ showDetails: false }) }}
|
|
width="800px"
|
|
width="800px"
|
|
- title='报销详情'
|
|
+ title={<span style={{ fontWeight: "bold" }}>{"报销详情-" + getAccountName(data.type, data.typeOther)}</span>}
|
|
footer=""
|
|
footer=""
|
|
>
|
|
>
|
|
- <div>
|
|
+ <div className="m_body"
|
|
|
|
+ ref={(e) => {
|
|
|
|
+ this.refs.all = e;
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
<Form layout="horizontal" id="demand-form">
|
|
<Form layout="horizontal" id="demand-form">
|
|
<Spin spinning={this.state.loading}>
|
|
<Spin spinning={this.state.loading}>
|
|
- <div className="clearfix">
|
|
+ {data.type == 1 &&
|
|
- {data.type == 1 &&
|
|
+ <div>
|
|
- <div>
|
|
+ <div style={{ fontSize: 13, fontWeight: "bold" }}>公出信息</div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="公出企业"
|
|
label="公出企业"
|
|
>
|
|
>
|
|
<span>{data.userNames}</span>
|
|
<span>{data.userNames}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="公出地点"
|
|
label="公出地点"
|
|
>
|
|
>
|
|
<span>{data.districtName}</span>
|
|
<span>{data.districtName}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="时间"
|
|
label="时间"
|
|
>
|
|
>
|
|
<span>{data.releaseStartStr} 至 {data.releaseEndStr}</span>
|
|
<span>{data.releaseStartStr} 至 {data.releaseEndStr}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="公出时长"
|
|
label="公出时长"
|
|
>
|
|
>
|
|
<span>{data.duration}小时</span>
|
|
<span>{data.duration}小时</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- </div>}
|
|
+ </div>
|
|
|
|
+ </div>}
|
|
|
|
+ <div style={{ fontSize: 13, fontWeight: "bold" }}>申请类型</div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="申请类型"
|
|
label="申请类型"
|
|
>
|
|
>
|
|
<span>{getAccountName(data.type, data.typeOther)}</span>
|
|
<span>{getAccountName(data.type, data.typeOther)}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
-
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="报销至订单"
|
|
label="报销至订单"
|
|
>
|
|
>
|
|
@@ -869,29 +886,34 @@ const AccountReview = React.createClass({
|
|
<div>{data.contractNo}</div>
|
|
<div>{data.contractNo}</div>
|
|
</div>
|
|
</div>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="报销人"
|
|
label="报销人"
|
|
>
|
|
>
|
|
<span>{data.aname}</span>
|
|
<span>{data.aname}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="报销公司"
|
|
label="报销公司"
|
|
>
|
|
>
|
|
<span>{data.appDepName}</span>
|
|
<span>{data.appDepName}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
+
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="支付公司"
|
|
label="支付公司"
|
|
>
|
|
>
|
|
<span>{data.payDepName}</span>
|
|
<span>{data.payDepName}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
labelCol={{ span: 5 }}
|
|
labelCol={{ span: 5 }}
|
|
@@ -903,33 +925,35 @@ const AccountReview = React.createClass({
|
|
</p>
|
|
</p>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
-
|
|
+ <div style={{ fontSize: 13, fontWeight: "bold" }}>费用详细</div>
|
|
{/* 差旅费显示 */}
|
|
{/* 差旅费显示 */}
|
|
{data.type == 1 &&
|
|
{data.type == 1 &&
|
|
list.length > 0 && list.map(item =>
|
|
list.length > 0 && list.map(item =>
|
|
item.type == 1
|
|
item.type == 1
|
|
- ? <div className="clearfix" style={{ border: "1px solid #333", marginBottom: 1 }}>
|
|
+ ? <div>
|
|
- <FormItem
|
|
+ <div className="clearfix" >
|
|
- className="half-item"
|
|
+ <FormItem
|
|
- {...formItemLayout}
|
|
+ {...formItemLayout}
|
|
- label="交通工具"
|
|
+ label="交通工具"
|
|
- >
|
|
+ >
|
|
- <span>
|
|
+ <span>
|
|
- {getVehicleName(item.vehicle, item.vehicleOther)}
|
|
+ {getVehicleName(item.vehicle, item.vehicleOther)}
|
|
-
|
|
+ {/* */}
|
|
- {!!item.startDistrict && <span>({item.startDistrict} ⇀ {item.endDistrict})</span>}
|
|
+ {/* {!!item.startDistrict && <span>({item.startDistrict} ⇀ {item.endDistrict})</span>} */}
|
|
- </span>
|
|
+ </span>
|
|
- </FormItem>
|
|
+ </FormItem>
|
|
- {/* <FormItem
|
|
+ </div>
|
|
- className="half-item"
|
|
+ <div className="clearfix" >
|
|
- {...formItemLayout}
|
|
+ <FormItem
|
|
- label="地点"
|
|
+ {...formItemLayout}
|
|
- >
|
|
+ label="地点"
|
|
- <span>{item.startDistrict}
|
|
+ >
|
|
- <span> ⇀ </span>
|
|
+ <span>{item.startDistrict}
|
|
- {item.endDistrict}</span>
|
|
+ <span> ⇀ </span>
|
|
- </FormItem> */}
|
|
+ {item.endDistrict}</span>
|
|
- <div className="clearfix" style={{ marginBottom: "-10px" }}>
|
|
+ </FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
labelCol={{ span: 5 }}
|
|
labelCol={{ span: 5 }}
|
|
wrapperCol={{ span: 18 }}
|
|
wrapperCol={{ span: 18 }}
|
|
@@ -938,17 +962,17 @@ const AccountReview = React.createClass({
|
|
<span>{item.startTimeStr} 至 {item.endTimeStr}</span>
|
|
<span>{item.startTimeStr} 至 {item.endTimeStr}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
- <FormItem
|
|
+ <div className="clearfix">
|
|
- className="half-item"
|
|
+ <FormItem
|
|
- {...formItemLayout}
|
|
+ {...formItemLayout}
|
|
- label="交通费"
|
|
+ label="交通费"
|
|
- >
|
|
+ >
|
|
- <span>{item.amount}(元)</span>
|
|
+ <span>{item.amount}(元)</span>
|
|
- </FormItem>
|
|
+ </FormItem>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- : <div className="clearfix" style={{ border: "1px solid #333", marginBottom: 1 }}>
|
|
+ : <div className="clearfix" >
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label={getTypeName(item.type)}
|
|
label={getTypeName(item.type)}
|
|
>
|
|
>
|
|
@@ -961,17 +985,15 @@ const AccountReview = React.createClass({
|
|
{/* 通用 */}
|
|
{/* 通用 */}
|
|
{(data.type == 0 || data.type == 2 || data.type == 4 || data.type == 5) &&
|
|
{(data.type == 0 || data.type == 2 || data.type == 4 || data.type == 5) &&
|
|
list.length > 0 && list.map(item =>
|
|
list.length > 0 && list.map(item =>
|
|
- <div className="clearfix" style={{ border: "1px solid #333", marginBottom: 1 }}>
|
|
+ <div className="clearfix" >
|
|
{!!item.agreeTimeStr &&
|
|
{!!item.agreeTimeStr &&
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label={data.type == 5 ? "支付时间:" : "需付款时间:"}
|
|
label={data.type == 5 ? "支付时间:" : "需付款时间:"}
|
|
>
|
|
>
|
|
<span>{item.agreeTimeStr.slice(0, 10)}</span>
|
|
<span>{item.agreeTimeStr.slice(0, 10)}</span>
|
|
</FormItem>}
|
|
</FormItem>}
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label={data.type == 4
|
|
label={data.type == 4
|
|
? "预借支金额:" : data.type == 5
|
|
? "预借支金额:" : data.type == 5
|
|
@@ -986,10 +1008,9 @@ const AccountReview = React.createClass({
|
|
{/* 第三方付款 */}
|
|
{/* 第三方付款 */}
|
|
{data.type == 3 &&
|
|
{data.type == 3 &&
|
|
list.length > 0 && list.map(item =>
|
|
list.length > 0 && list.map(item =>
|
|
- <div className="clearfix" style={{ border: "1px solid #333", marginBottom: 1 }}>
|
|
+ <div className="clearfix" >
|
|
{!!item.agreeTimeStr &&
|
|
{!!item.agreeTimeStr &&
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="需付款时间"
|
|
label="需付款时间"
|
|
>
|
|
>
|
|
@@ -997,56 +1018,48 @@ const AccountReview = React.createClass({
|
|
</FormItem>
|
|
</FormItem>
|
|
}
|
|
}
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="付款方式"
|
|
label="付款方式"
|
|
>
|
|
>
|
|
<span>{["公对公转账"][item.payType]}</span>
|
|
<span>{["公对公转账"][item.payType]}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="发票类型"
|
|
label="发票类型"
|
|
>
|
|
>
|
|
<span>{["普票", "专票"][item.invoiceType]}</span>
|
|
<span>{["普票", "专票"][item.invoiceType]}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="发票号"
|
|
label="发票号"
|
|
>
|
|
>
|
|
<span>{item.invoiceNo}</span>
|
|
<span>{item.invoiceNo}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="付款单位"
|
|
label="付款单位"
|
|
>
|
|
>
|
|
<span>{item.payerName}</span>
|
|
<span>{item.payerName}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="开户银行"
|
|
label="开户银行"
|
|
>
|
|
>
|
|
<span>{item.openBank}</span>
|
|
<span>{item.openBank}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="银行账户"
|
|
label="银行账户"
|
|
>
|
|
>
|
|
<span>{item.bankAccounts}</span>
|
|
<span>{item.bankAccounts}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="开户行地址"
|
|
label="开户行地址"
|
|
>
|
|
>
|
|
<span>{item.openBankAddress}</span>
|
|
<span>{item.openBankAddress}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="金额(元)"
|
|
label="金额(元)"
|
|
>
|
|
>
|
|
@@ -1059,7 +1072,6 @@ const AccountReview = React.createClass({
|
|
{data.type != 4 && data.debitTotalAmount &&
|
|
{data.type != 4 && data.debitTotalAmount &&
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="预借支"
|
|
label="预借支"
|
|
>
|
|
>
|
|
@@ -1070,7 +1082,6 @@ const AccountReview = React.createClass({
|
|
{data.type != 4 && data.type != 5 &&
|
|
{data.type != 4 && data.type != 5 &&
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="总金额"
|
|
label="总金额"
|
|
>
|
|
>
|
|
@@ -1081,7 +1092,6 @@ const AccountReview = React.createClass({
|
|
{data.type != 4 && data.type != 5 &&
|
|
{data.type != 4 && data.type != 5 &&
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- className="half-item"
|
|
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="实报金额"
|
|
label="实报金额"
|
|
>
|
|
>
|
|
@@ -1091,8 +1101,7 @@ const AccountReview = React.createClass({
|
|
|
|
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem
|
|
<FormItem
|
|
- labelCol={{ span: 5 }}
|
|
+ {...formItemLayout}
|
|
- wrapperCol={{ span: 18 }}
|
|
|
|
label="附件"
|
|
label="附件"
|
|
>
|
|
>
|
|
<div style={{ paddingTop: '10px', paddingBottom: '10px' }}>
|
|
<div style={{ paddingTop: '10px', paddingBottom: '10px' }}>
|
|
@@ -1100,31 +1109,67 @@ const AccountReview = React.createClass({
|
|
</div>
|
|
</div>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
-
|
|
+ <div style={{ fontSize: 13, fontWeight: "bold" }}>收款详情</div>
|
|
{data.type != 3 && data.type != 5 &&
|
|
{data.type != 3 && data.type != 5 &&
|
|
- <div className="clearfix" style={{ border: "1px dashed #000" }}>
|
|
+ <div>
|
|
- <FormItem
|
|
+ <div className="clearfix">
|
|
- className="half-item"
|
|
+ <FormItem
|
|
- {...formItemLayout}
|
|
+ {...formItemLayout}
|
|
- label="收款人"
|
|
+ label="收款人"
|
|
- >
|
|
+ >
|
|
- <span>{data.name}</span>
|
|
+ <span>{data.name}</span>
|
|
- </FormItem>
|
|
+ </FormItem>
|
|
- <FormItem
|
|
+ </div>
|
|
- className="half-item"
|
|
+ <div className="clearfix">
|
|
- {...formItemLayout}
|
|
+ <FormItem
|
|
- label="收款银行"
|
|
+ {...formItemLayout}
|
|
- >
|
|
+ label="收款银行"
|
|
- <span>{data.bank}</span>
|
|
+ >
|
|
- </FormItem>
|
|
+ <span>{data.bank}</span>
|
|
- <FormItem
|
|
+ </FormItem>
|
|
- className="half-item"
|
|
+ </div>
|
|
- {...formItemLayout}
|
|
+ <div className="clearfix">
|
|
- label="收款账户"
|
|
+ <FormItem
|
|
- >
|
|
+ {...formItemLayout}
|
|
- <span>{data.accounts}</span>
|
|
+ label="收款账户"
|
|
- </FormItem>
|
|
+ >
|
|
|
|
+ <span>{data.accounts}</span>
|
|
|
|
+ </FormItem>
|
|
|
|
+ </div>
|
|
</div>}
|
|
</div>}
|
|
|
|
+ <div style={{ fontSize: 13, fontWeight: "bold" }}>审核意见</div>
|
|
|
|
+ <ul
|
|
|
|
+ style={{
|
|
|
|
+ width: "560px",
|
|
|
|
+ overflow: "hidden",
|
|
|
|
+ paddingLeft: "90px",
|
|
|
|
+ position: "relative",
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
|
|
+ {logdataSour.map((item, index) => {
|
|
|
|
+ return (
|
|
|
|
+ <li
|
|
|
|
+ key={index}
|
|
|
|
+ style={{
|
|
|
|
+ width: "100%",
|
|
|
|
+ height: "auto",
|
|
|
|
+ wordBreak: "break-all",
|
|
|
|
+ marginBottom: "10px",
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
|
|
+ {/* {item.auditorName + ":" + item.status + item.remarks + "(" + item.createTimeStr + ")"} */}
|
|
|
|
+ <span>{item.auditorName}:</span>
|
|
|
|
+ <span style={{ color: ["#1D4FEA", "#34DE38", "#108EE9", "red", "#1D4FEA"][item.status] }}>
|
|
|
|
+ {["【发起】,", "【通过】,", "【完成】,", "【驳回】,", "【重新发起】,"][item.status]}
|
|
|
|
+ {this.state.processStatus == item.processStatus && !item.id && data.status != 0 &&
|
|
|
|
+ <span style={{ color: "#FFA500" }}> 审核中...</span>}
|
|
|
|
+ </span>
|
|
|
|
+ <span>{item.remarks}</span>
|
|
|
|
+ <span> {item.createTimeStr}</span>
|
|
|
|
+ </li>
|
|
|
|
+ );
|
|
|
|
+ })}
|
|
|
|
+ </ul>
|
|
|
|
|
|
<div className="clearfix" style={{ marginTop: 20 }}>
|
|
<div className="clearfix" style={{ marginTop: 20 }}>
|
|
<Button
|
|
<Button
|
|
@@ -1190,6 +1235,23 @@ const AccountReview = React.createClass({
|
|
</Spin>
|
|
</Spin>
|
|
</Form>
|
|
</Form>
|
|
</div>
|
|
</div>
|
|
|
|
+ <ReactToPrint
|
|
|
|
+ trigger={() => (
|
|
|
|
+ <Button
|
|
|
|
+ type="primary"
|
|
|
|
+ style={{
|
|
|
|
+ float: "right",
|
|
|
|
+ marginTop: 10,
|
|
|
|
+ position: "absolute",
|
|
|
|
+ top: 0,
|
|
|
|
+ right: 30,
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
|
|
+ 打印
|
|
|
|
+ </Button>
|
|
|
|
+ )}
|
|
|
|
+ content={() => this.refs.all}
|
|
|
|
+ />
|
|
</Modal>
|
|
</Modal>
|
|
}
|
|
}
|
|
{
|
|
{
|
|
@@ -1205,7 +1267,6 @@ const AccountReview = React.createClass({
|
|
onCancel={() => {
|
|
onCancel={() => {
|
|
this.setState({
|
|
this.setState({
|
|
logvisible: false,
|
|
logvisible: false,
|
|
- logdataSour: []
|
|
|
|
})
|
|
})
|
|
}}
|
|
}}
|
|
>
|
|
>
|