|
@@ -28,6 +28,7 @@ const Contract = React.createClass({
|
|
|
uid: this.state.unitId,
|
|
|
type: this.state.contractType,
|
|
|
status: this.state.contractState,
|
|
|
+ contractId: this.state.contractId,
|
|
|
startDateFormattedDate: this.state.startDateFormattedDate,
|
|
|
endDateFormattedDate: this.state.endDateFormattedDate,
|
|
|
},
|
|
@@ -380,6 +381,7 @@ const Contract = React.createClass({
|
|
|
this.state.unitId = undefined;
|
|
|
this.state.contractState = undefined;
|
|
|
this.state.contractType = undefined;
|
|
|
+ this.state.contractId = undefined;
|
|
|
this.state.startDateFormattedDate = [];
|
|
|
this.state.endDateFormattedDate = [];
|
|
|
this.loadData();
|
|
@@ -444,7 +446,7 @@ const Contract = React.createClass({
|
|
|
{this.state.typeOption}
|
|
|
</Select>
|
|
|
<Select style={{ width: 120 }}
|
|
|
- value={this.state.searchStatus}
|
|
|
+ value={this.state.contractState}
|
|
|
onChange={(e) => { this.setState({ contractState: e }) }}
|
|
|
placeholder="选择一个状态">
|
|
|
{this.state.stateOption}
|