|
@@ -21,6 +21,7 @@ import { shenghePeo, changeColor } from "@/tools.js";
|
|
|
import $ from "jquery/src/ajax";
|
|
|
import ReactToPrint from "react-to-print";
|
|
|
import tongguo from "../../../../../../image/tongguo.png";
|
|
|
+import quxiao from "../../../../../../image/quxiao.png";
|
|
|
import ProAndCuiList from "./proAndCuiList.jsx";
|
|
|
import Refund from "./refund.js"
|
|
|
import "./xButton.less"
|
|
@@ -1085,7 +1086,7 @@ class ChangeDetail extends Component {
|
|
|
<div className="clearfix changeDetail">
|
|
|
<div
|
|
|
className="clearfix"
|
|
|
- ref={e => {
|
|
|
+ ref={(e) => {
|
|
|
this.refs = e;
|
|
|
}}
|
|
|
>
|
|
@@ -1102,9 +1103,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 4
|
|
|
+ this.props.data.status == 4
|
|
|
? "block"
|
|
|
- : "none"
|
|
|
+ : "none",
|
|
|
}}
|
|
|
>
|
|
|
{/* <span
|
|
@@ -1121,6 +1122,21 @@ class ChangeDetail extends Component {
|
|
|
</span> */}
|
|
|
<img src={tongguo} style={{ width: "100%" }} />
|
|
|
</div>
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ borderRadius: "50%",
|
|
|
+ width: 300,
|
|
|
+ height: 300,
|
|
|
+ position: "absolute",
|
|
|
+ top: 284,
|
|
|
+ left: 586,
|
|
|
+ transform: "rotate(-5deg)",
|
|
|
+ zIndex: 1,
|
|
|
+ display: this.props.data.status == 5 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <img src={quxiao} style={{ width: "63%" }} />
|
|
|
+ </div>
|
|
|
|
|
|
<h2 style={{ textAlign: "center", marginBottom: 10, marginTop: 20 }}>
|
|
|
合同变更记录
|
|
@@ -1137,10 +1153,10 @@ class ChangeDetail extends Component {
|
|
|
className="demandDetailShow-upload"
|
|
|
listType="picture-card"
|
|
|
fileList={orgCodeUrl}
|
|
|
- onPreview={file => {
|
|
|
+ onPreview={(file) => {
|
|
|
this.setState({
|
|
|
previewImage: file.url || file.thumbUrl,
|
|
|
- previewVisible: true
|
|
|
+ previewVisible: true,
|
|
|
});
|
|
|
}}
|
|
|
/>
|
|
@@ -1158,7 +1174,7 @@ class ChangeDetail extends Component {
|
|
|
alt=""
|
|
|
style={{
|
|
|
width: "100%",
|
|
|
- transform: `rotate(${this.state.rotateDeg}deg)`
|
|
|
+ transform: `rotate(${this.state.rotateDeg}deg)`,
|
|
|
}}
|
|
|
src={this.state.previewImage || ""}
|
|
|
/>
|
|
@@ -1167,7 +1183,7 @@ class ChangeDetail extends Component {
|
|
|
style={{
|
|
|
position: "relative",
|
|
|
left: "50%",
|
|
|
- transform: "translateX(-50%)"
|
|
|
+ transform: "translateX(-50%)",
|
|
|
}}
|
|
|
>
|
|
|
旋转
|
|
@@ -1178,7 +1194,7 @@ class ChangeDetail extends Component {
|
|
|
position: "absolute",
|
|
|
left: -81,
|
|
|
top: "50%",
|
|
|
- transform: "translateY(-50%)"
|
|
|
+ transform: "translateY(-50%)",
|
|
|
}}
|
|
|
>
|
|
|
上一张
|
|
@@ -1189,7 +1205,7 @@ class ChangeDetail extends Component {
|
|
|
position: "absolute",
|
|
|
right: -81,
|
|
|
top: "50%",
|
|
|
- transform: "translateY(-50%)"
|
|
|
+ transform: "translateY(-50%)",
|
|
|
}}
|
|
|
>
|
|
|
下一张
|
|
@@ -1207,7 +1223,7 @@ class ChangeDetail extends Component {
|
|
|
position: "relative",
|
|
|
bottom: "20px",
|
|
|
fontSize: "12px",
|
|
|
- color: "rgba(0, 0, 0, 0.65)"
|
|
|
+ color: "rgba(0, 0, 0, 0.65)",
|
|
|
}}
|
|
|
>
|
|
|
{/* <span>操作人:</span> */}
|
|
@@ -1230,7 +1246,7 @@ class ChangeDetail extends Component {
|
|
|
width: "100%",
|
|
|
height: "auto",
|
|
|
wordBreak: "break-all",
|
|
|
- marginBottom: "10px"
|
|
|
+ marginBottom: "10px",
|
|
|
}}
|
|
|
>
|
|
|
{item.aname + ":" + "(" + item.status + ")" + item.remarks}
|
|
@@ -1301,9 +1317,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 8 ||
|
|
|
this.props.data.processState == 7) &&
|
|
|
- (this.props.data.status == 2 || this.props.data.status == 4)
|
|
|
+ (this.props.data.status == 2 || this.props.data.status == 4)
|
|
|
? "block"
|
|
|
- : "none"
|
|
|
+ : "none",
|
|
|
}}
|
|
|
>
|
|
|
<h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
|
|
@@ -1322,9 +1338,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 4
|
|
|
+ this.props.data.status == 4
|
|
|
? "none"
|
|
|
- : "block"
|
|
|
+ : "block",
|
|
|
}}
|
|
|
>
|
|
|
添加回收退票
|
|
@@ -1339,16 +1355,14 @@ class ChangeDetail extends Component {
|
|
|
dataSource={this.state.contactList}
|
|
|
size="small"
|
|
|
/>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
- {this.props.data.processState != 5 ? (
|
|
|
- <div>
|
|
|
- <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
|
|
|
- 当前财务状态(财务填写)
|
|
|
+ {this.props.data.processState != 5 ? (
|
|
|
+ <div>
|
|
|
+ <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
|
|
|
+ 当前财务状态(财务填写)
|
|
|
</h3>
|
|
|
- {/* <div className="clearfix">
|
|
|
+ {/* <div className="clearfix">
|
|
|
<Form.Item
|
|
|
className="half-item"
|
|
|
label="收款时间"
|
|
@@ -1384,17 +1398,17 @@ class ChangeDetail extends Component {
|
|
|
<span>{this.props.data.invoiceAmount}</span>
|
|
|
</Form.Item>
|
|
|
</div> */}
|
|
|
- {financeData.map((item, index) => {
|
|
|
- return <Itemlist key={index} pageData={item} />;
|
|
|
- })}
|
|
|
- </div>
|
|
|
- ) : (
|
|
|
- <div style={{ marginBottom: 10 }}>
|
|
|
- <h3 style={{ marginLeft: 10, fontWeight: 800, marginBottom: 10 }}>
|
|
|
- 当前财务状态(财务填写)
|
|
|
+ {financeData.map((item, index) => {
|
|
|
+ return <Itemlist key={index} pageData={item} />;
|
|
|
+ })}
|
|
|
+ </div>
|
|
|
+ ) : (
|
|
|
+ <div style={{ marginBottom: 10 }}>
|
|
|
+ <h3 style={{ marginLeft: 10, fontWeight: 800, marginBottom: 10 }}>
|
|
|
+ 当前财务状态(财务填写)
|
|
|
</h3>
|
|
|
- <div className="clearfix">
|
|
|
- {/* <Form.Item
|
|
|
+ <div className="clearfix">
|
|
|
+ {/* <Form.Item
|
|
|
className="half-item"
|
|
|
label="收款时间"
|
|
|
labelCol={{ span: 8 }}
|
|
@@ -1470,70 +1484,70 @@ class ChangeDetail extends Component {
|
|
|
}}
|
|
|
/>
|
|
|
</Form.Item> */}
|
|
|
- <Form.Item
|
|
|
- className="half-item"
|
|
|
- label="发生成本(万元)"
|
|
|
- labelCol={{ span: 8 }}
|
|
|
- wrapperCol={{ span: 14 }}
|
|
|
- >
|
|
|
- <Input
|
|
|
- style={{ width: 160 }}
|
|
|
- value={this.state.cwCost}
|
|
|
- placeholder="请输入发生成本"
|
|
|
- onChange={e => {
|
|
|
- this.setState({
|
|
|
- cwCost: e.target.value
|
|
|
- });
|
|
|
- }}
|
|
|
- />
|
|
|
- </Form.Item>
|
|
|
- <Form.Item
|
|
|
- className="half-item"
|
|
|
- label="应退金额(万元)"
|
|
|
- labelCol={{ span: 8 }}
|
|
|
- wrapperCol={{ span: 14 }}
|
|
|
- >
|
|
|
- <Input
|
|
|
- style={{ width: 160 }}
|
|
|
- value={this.state.refundableAmount}
|
|
|
- placeholder="请输入应退金额"
|
|
|
- onChange={e => {
|
|
|
- this.setState({
|
|
|
- refundableAmount: e.target.value
|
|
|
- });
|
|
|
- }}
|
|
|
- />
|
|
|
- </Form.Item>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style={{
|
|
|
- marginTop: "10px",
|
|
|
- display:
|
|
|
- this.props.data.processState == 5 &&
|
|
|
- this.props.data.status == 1
|
|
|
- ? "block"
|
|
|
- : "none"
|
|
|
- }}
|
|
|
+ <Form.Item
|
|
|
+ className="half-item"
|
|
|
+ label="发生成本(万元)"
|
|
|
+ labelCol={{ span: 8 }}
|
|
|
+ wrapperCol={{ span: 14 }}
|
|
|
>
|
|
|
- <Form.Item
|
|
|
- label="备注"
|
|
|
- labelCol={{ span: 4 }}
|
|
|
- wrapperCol={{ span: 14 }}
|
|
|
- >
|
|
|
- <Input.TextArea
|
|
|
- rows={4}
|
|
|
- value={this.state.reason}
|
|
|
- placeholder="请输入补充资料/备注"
|
|
|
- onChange={e => {
|
|
|
- this.setState({
|
|
|
- reason: e.target.value
|
|
|
- });
|
|
|
- }}
|
|
|
- />
|
|
|
- </Form.Item>
|
|
|
- </div>
|
|
|
+ <Input
|
|
|
+ style={{ width: 160 }}
|
|
|
+ value={this.state.cwCost}
|
|
|
+ placeholder="请输入发生成本"
|
|
|
+ onChange={(e) => {
|
|
|
+ this.setState({
|
|
|
+ cwCost: e.target.value,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </Form.Item>
|
|
|
+ <Form.Item
|
|
|
+ className="half-item"
|
|
|
+ label="应退金额(万元)"
|
|
|
+ labelCol={{ span: 8 }}
|
|
|
+ wrapperCol={{ span: 14 }}
|
|
|
+ >
|
|
|
+ <Input
|
|
|
+ style={{ width: 160 }}
|
|
|
+ value={this.state.refundableAmount}
|
|
|
+ placeholder="请输入应退金额"
|
|
|
+ onChange={(e) => {
|
|
|
+ this.setState({
|
|
|
+ refundableAmount: e.target.value,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </Form.Item>
|
|
|
</div>
|
|
|
- )}
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ marginTop: "10px",
|
|
|
+ display:
|
|
|
+ this.props.data.processState == 5 &&
|
|
|
+ this.props.data.status == 1
|
|
|
+ ? "block"
|
|
|
+ : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <Form.Item
|
|
|
+ label="备注"
|
|
|
+ labelCol={{ span: 4 }}
|
|
|
+ wrapperCol={{ span: 14 }}
|
|
|
+ >
|
|
|
+ <Input.TextArea
|
|
|
+ rows={4}
|
|
|
+ value={this.state.reason}
|
|
|
+ placeholder="请输入补充资料/备注"
|
|
|
+ onChange={(e) => {
|
|
|
+ this.setState({
|
|
|
+ reason: e.target.value,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </Form.Item>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
<ul
|
|
|
style={{
|
|
|
margin: "10px 0 0 20px",
|
|
@@ -1541,9 +1555,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- (this.props.data.status == 4 || this.props.data.status == 2)
|
|
|
+ (this.props.data.status == 4 || this.props.data.status == 2)
|
|
|
? "inline-block"
|
|
|
- : "none"
|
|
|
+ : "none",
|
|
|
}}
|
|
|
>
|
|
|
<li>
|
|
@@ -1565,17 +1579,40 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 4 && !this.props.data.refundStatus
|
|
|
+ this.props.data.status == 4 &&
|
|
|
+ !this.props.data.refundStatus
|
|
|
? "block"
|
|
|
: "none",
|
|
|
- marginTop: 10
|
|
|
+ marginTop: 10,
|
|
|
}}
|
|
|
>
|
|
|
- <hr style={{ marginTop: 12, marginBottom: 10, backgroundColor: "black", height: 1, border: "none" }} />
|
|
|
- <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10, display: "inline-block" }}>
|
|
|
- 执行退款 <span style={{ fontSize: 12, fontWeight: "normal", color: "red" }}>(注:执行退款,系统将从已收款金额中直接减款)</span>
|
|
|
+ <hr
|
|
|
+ style={{
|
|
|
+ marginTop: 12,
|
|
|
+ marginBottom: 10,
|
|
|
+ backgroundColor: "black",
|
|
|
+ height: 1,
|
|
|
+ border: "none",
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ <h3
|
|
|
+ style={{
|
|
|
+ marginLeft: 20,
|
|
|
+ fontWeight: 800,
|
|
|
+ marginBottom: 10,
|
|
|
+ display: "inline-block",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 执行退款{" "}
|
|
|
+ <span
|
|
|
+ style={{ fontSize: 12, fontWeight: "normal", color: "red" }}
|
|
|
+ >
|
|
|
+ (注:执行退款,系统将从已收款金额中直接减款)
|
|
|
+ </span>
|
|
|
</h3>
|
|
|
- <Button onClick={this.addRefund} style={{ float: "right" }}>添加执行退款</Button>
|
|
|
+ <Button onClick={this.addRefund} style={{ float: "right" }}>
|
|
|
+ 添加执行退款
|
|
|
+ </Button>
|
|
|
<Table
|
|
|
pagination={false}
|
|
|
bordered
|
|
@@ -1587,7 +1624,7 @@ class ChangeDetail extends Component {
|
|
|
<div className="clearfix">
|
|
|
<h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
|
|
|
上传退款凭证
|
|
|
- </h3>
|
|
|
+ </h3>
|
|
|
<div style={{ marginLeft: 20 }}>
|
|
|
<PicturesWall
|
|
|
fileList={this.getVoucherUrl}
|
|
@@ -1597,131 +1634,147 @@ class ChangeDetail extends Component {
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <Button type="primary" onClick={this.refundExecute} style={{ position: "relative", left: "50%", transform: "translateX(-50%)" }}>确定执行退款</Button>
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ onClick={this.refundExecute}
|
|
|
+ style={{
|
|
|
+ position: "relative",
|
|
|
+ left: "50%",
|
|
|
+ transform: "translateX(-50%)",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 确定执行退款
|
|
|
+ </Button>
|
|
|
</div>
|
|
|
<div
|
|
|
style={{
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 4 && this.props.data.refundStatus
|
|
|
+ this.props.data.status == 4 &&
|
|
|
+ this.props.data.refundStatus
|
|
|
? "block"
|
|
|
- : "none"
|
|
|
- }}>
|
|
|
- <Refund data={this.props.data} id={this.props.id} dataSource={this.state.refundDataSource} />
|
|
|
+ : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <Refund
|
|
|
+ data={this.props.data}
|
|
|
+ id={this.props.id}
|
|
|
+ dataSource={this.state.refundDataSource}
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
- { this.props.data.processState == 5 ? (
|
|
|
- this.state.buttonStatus ? (
|
|
|
- <div>
|
|
|
- <div
|
|
|
- className="clearfix"
|
|
|
- style={{ display: "flex", justifyContent: "space-around" }}
|
|
|
- >
|
|
|
- {buttonData.map((item, index) => {
|
|
|
- return (
|
|
|
- <AgreeButton
|
|
|
- data={item}
|
|
|
- key={index}
|
|
|
- backData={this.props.data}
|
|
|
- processState={this.props.processState}
|
|
|
- visible={this.changeButtonStatus}
|
|
|
- ajaxData={this.state}
|
|
|
- loadData={this.props.loadData}
|
|
|
- rejectState={this.state.rejectState}
|
|
|
- reason={this.state.reason}
|
|
|
- onCancel={this.props.onCancel}
|
|
|
- />
|
|
|
- );
|
|
|
- })}
|
|
|
- </div>
|
|
|
+ {this.props.data.processState == 5 ? (
|
|
|
+ this.state.buttonStatus ? (
|
|
|
+ <div>
|
|
|
+ <div
|
|
|
+ className="clearfix"
|
|
|
+ style={{ display: "flex", justifyContent: "space-around" }}
|
|
|
+ >
|
|
|
+ {buttonData.map((item, index) => {
|
|
|
+ return (
|
|
|
+ <AgreeButton
|
|
|
+ data={item}
|
|
|
+ key={index}
|
|
|
+ backData={this.props.data}
|
|
|
+ processState={this.props.processState}
|
|
|
+ visible={this.changeButtonStatus}
|
|
|
+ ajaxData={this.state}
|
|
|
+ loadData={this.props.loadData}
|
|
|
+ rejectState={this.state.rejectState}
|
|
|
+ reason={this.state.reason}
|
|
|
+ onCancel={this.props.onCancel}
|
|
|
+ />
|
|
|
+ );
|
|
|
+ })}
|
|
|
+ </div>
|
|
|
|
|
|
- <Select
|
|
|
- defaultValue="0"
|
|
|
+ <Select
|
|
|
+ defaultValue="0"
|
|
|
+ style={{
|
|
|
+ width: 120,
|
|
|
+ float: "left",
|
|
|
+ position: "relative",
|
|
|
+ bottom: "28px",
|
|
|
+ right: "-600px",
|
|
|
+ }}
|
|
|
+ onChange={(val) => {
|
|
|
+ this.setState({ rejectState: val });
|
|
|
+ // console.log(val, this.state.rejectState);
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <Option
|
|
|
+ value="0"
|
|
|
style={{
|
|
|
- width: 120,
|
|
|
- float: "left",
|
|
|
- position: "relative",
|
|
|
- bottom: "28px",
|
|
|
- right: "-600px"
|
|
|
- }}
|
|
|
- onChange={val => {
|
|
|
- this.setState({ rejectState: val });
|
|
|
- // console.log(val, this.state.rejectState);
|
|
|
+ display: this.props.processState >= 1 ? "block" : "none",
|
|
|
}}
|
|
|
>
|
|
|
- <Option
|
|
|
- value="0"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 1 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 营销员
|
|
|
+ 营销员
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="1"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 2 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 营销管理员
|
|
|
+ <Option
|
|
|
+ value="1"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 2 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 营销管理员
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="2"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 3 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 咨询师
|
|
|
+ <Option
|
|
|
+ value="2"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 3 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 咨询师
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="3"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 4 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 咨询师经理
|
|
|
+ <Option
|
|
|
+ value="3"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 4 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 咨询师经理
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="4"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 5 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 咨询师总监
|
|
|
+ <Option
|
|
|
+ value="4"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 5 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 咨询师总监
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="5"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 6 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 财务专员(退单)
|
|
|
+ <Option
|
|
|
+ value="5"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 6 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 财务专员(退单)
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="6"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 7 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 财务总监
|
|
|
+ <Option
|
|
|
+ value="6"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 7 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 财务总监
|
|
|
</Option>
|
|
|
- <Option
|
|
|
- value="7"
|
|
|
- style={{
|
|
|
- display: this.props.processState >= 8 ? "block" : "none"
|
|
|
- }}
|
|
|
- >
|
|
|
- 总裁
|
|
|
+ <Option
|
|
|
+ value="7"
|
|
|
+ style={{
|
|
|
+ display: this.props.processState >= 8 ? "block" : "none",
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 总裁
|
|
|
</Option>
|
|
|
- </Select>
|
|
|
- </div>
|
|
|
- ) : (
|
|
|
- ""
|
|
|
- )
|
|
|
+ </Select>
|
|
|
+ </div>
|
|
|
) : (
|
|
|
""
|
|
|
- )}
|
|
|
+ )
|
|
|
+ ) : (
|
|
|
+ ""
|
|
|
+ )}
|
|
|
|
|
|
<Button
|
|
|
type="primary"
|
|
@@ -1735,9 +1788,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 2
|
|
|
+ this.props.data.status == 2
|
|
|
? "block"
|
|
|
- : "none"
|
|
|
+ : "none",
|
|
|
}}
|
|
|
onClick={this.finish}
|
|
|
>
|
|
@@ -1757,9 +1810,9 @@ class ChangeDetail extends Component {
|
|
|
display:
|
|
|
(this.props.data.processState == 7 ||
|
|
|
this.props.data.processState == 8) &&
|
|
|
- this.props.data.status == 4
|
|
|
+ this.props.data.status == 4
|
|
|
? "block"
|
|
|
- : "block"
|
|
|
+ : "block",
|
|
|
}}
|
|
|
>
|
|
|
打印
|
|
@@ -1780,7 +1833,7 @@ class ChangeDetail extends Component {
|
|
|
<Form
|
|
|
layout="horizontal"
|
|
|
onSubmit={this.nextSubmit}
|
|
|
- // id="demand-form"
|
|
|
+ // id="demand-form"
|
|
|
>
|
|
|
<Spin spinning={this.state.loading}>
|
|
|
<div className="clearfix">
|
|
@@ -1793,11 +1846,12 @@ class ChangeDetail extends Component {
|
|
|
style={{ width: "155px" }}
|
|
|
placeholder="请输入退款金额"
|
|
|
value={this.state.refundMoney}
|
|
|
- onChange={e => {
|
|
|
+ onChange={(e) => {
|
|
|
this.setState({
|
|
|
- refundMoney: e.target.value
|
|
|
- })
|
|
|
- }} />
|
|
|
+ refundMoney: e.target.value,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ />
|
|
|
</FormItem>
|
|
|
|
|
|
<FormItem
|
|
@@ -1812,11 +1866,12 @@ class ChangeDetail extends Component {
|
|
|
: null
|
|
|
}
|
|
|
onChange={(date, dateString) => {
|
|
|
- console.log(date, dateString)
|
|
|
+ console.log(date, dateString);
|
|
|
this.setState({
|
|
|
- refundDate: dateString
|
|
|
- })
|
|
|
- }} />
|
|
|
+ refundDate: dateString,
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ />
|
|
|
</FormItem>
|
|
|
|
|
|
<FormItem
|
|
@@ -1830,10 +1885,10 @@ class ChangeDetail extends Component {
|
|
|
placeholder="请输入备注信息"
|
|
|
style={{ width: "95%" }}
|
|
|
value={this.state.refundRemarks}
|
|
|
- onChange={e => {
|
|
|
+ onChange={(e) => {
|
|
|
this.setState({
|
|
|
- refundRemarks: e.target.value
|
|
|
- })
|
|
|
+ refundRemarks: e.target.value,
|
|
|
+ });
|
|
|
}}
|
|
|
/>
|
|
|
</FormItem>
|
|
@@ -1848,7 +1903,7 @@ class ChangeDetail extends Component {
|
|
|
onClick={this.sumitRefund}
|
|
|
>
|
|
|
保存
|
|
|
- </Button>
|
|
|
+ </Button>
|
|
|
<Button
|
|
|
className="submitSave"
|
|
|
type="ghost"
|
|
@@ -1856,10 +1911,9 @@ class ChangeDetail extends Component {
|
|
|
onClick={this.refundCancel}
|
|
|
>
|
|
|
取消
|
|
|
- </Button>
|
|
|
+ </Button>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
-
|
|
|
</Spin>
|
|
|
</Form>
|
|
|
</Modal>
|