|
@@ -95,9 +95,10 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
startFinalReceivablesTime: this.state.shouKuanDate[0],
|
|
|
endFinalReceivablesTime: this.state.shouKuanDate[1],
|
|
|
departmentId: this.state.departmenttList,
|
|
|
- // processStatus: this.state.processStatusSearch,
|
|
|
+ processStatus: this.state.processStatusSearch,
|
|
|
contractNo: this.state.contractNoSearch,
|
|
|
- outsource: 1
|
|
|
+ outsource: 1,
|
|
|
+ liquidationStatus: this.state.liquidationStatus
|
|
|
},
|
|
|
success: function(data) {
|
|
|
let theArr = [];
|
|
@@ -1486,7 +1487,7 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
});
|
|
|
}}
|
|
|
/>
|
|
|
- {/* <Select
|
|
|
+ <Select
|
|
|
placeholder="流程状态"
|
|
|
onChange={e => {
|
|
|
this.setState({ processStatusSearch: e });
|
|
@@ -1496,8 +1497,20 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
>
|
|
|
<Option value="3">未分配</Option>
|
|
|
<Option value="4">已分配</Option>
|
|
|
- </Select> */}
|
|
|
- <span style={{ marginRight: 10 }}>下单日期:</span>
|
|
|
+ </Select>
|
|
|
+ <Select
|
|
|
+ placeholder="结算状态"
|
|
|
+ onChange={e => {
|
|
|
+ this.setState({ liquidationStatus: e });
|
|
|
+ }}
|
|
|
+ style={{ width: 160, marginRight: 5 }}
|
|
|
+ value={this.state.liquidationStatus}
|
|
|
+ >
|
|
|
+ <Option value="0">首付待付清</Option>
|
|
|
+ <Option value="1">尾款待付清</Option>
|
|
|
+ <Option value="2">已付清</Option>
|
|
|
+ </Select>
|
|
|
+ <span style={{ marginRight: 0 }}>下单日期:</span>
|
|
|
<RangePicker
|
|
|
value={[
|
|
|
this.state.releaseDate[0]
|
|
@@ -1507,6 +1520,7 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
? moment(this.state.releaseDate[1])
|
|
|
: null
|
|
|
]}
|
|
|
+ style={{ marginRight: 5 }}
|
|
|
onChange={(data, dataString) => {
|
|
|
this.setState({ releaseDate: dataString });
|
|
|
}}
|
|
@@ -1790,7 +1804,10 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
footer={null}
|
|
|
visible={this.state.previewVisible}
|
|
|
onCancel={() => {
|
|
|
- this.setState({ previewVisible: false });
|
|
|
+ this.setState({
|
|
|
+ previewVisible: false,
|
|
|
+ rotateDeg: 0
|
|
|
+ });
|
|
|
}}
|
|
|
>
|
|
|
<img
|
|
@@ -1801,9 +1818,38 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
}}
|
|
|
src={this.state.previewImage || ""}
|
|
|
/>
|
|
|
- <Button onClick={this.rotate}>旋转</Button>
|
|
|
- <Button onClick={this.upImg}>上一张</Button>
|
|
|
- <Button onClick={this.downImg}>下一张</Button>
|
|
|
+ <Button
|
|
|
+ onClick={this.rotate}
|
|
|
+ style={{
|
|
|
+ position: "relative",
|
|
|
+ left: "50%",
|
|
|
+ transform: "translateX(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 旋转
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ onClick={this.upImg}
|
|
|
+ style={{
|
|
|
+ position: "absolute",
|
|
|
+ left: -81,
|
|
|
+ top: "50%",
|
|
|
+ transform: "translateY(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 上一张
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ onClick={this.downImg}
|
|
|
+ style={{
|
|
|
+ position: "absolute",
|
|
|
+ right: -81,
|
|
|
+ top: "50%",
|
|
|
+ transform: "translateY(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 下一张
|
|
|
+ </Button>
|
|
|
</Modal>
|
|
|
<Button
|
|
|
style={{
|
|
@@ -2069,9 +2115,44 @@ const approvedOutsourcingAll = React.createClass({
|
|
|
>
|
|
|
<img
|
|
|
alt=""
|
|
|
- style={{ width: "100%" }}
|
|
|
+ style={{
|
|
|
+ width: "100%",
|
|
|
+ transform: `rotate(${this.state.rotateDeg}deg)`
|
|
|
+ }}
|
|
|
src={this.state.previewImage || ""}
|
|
|
/>
|
|
|
+ <Button
|
|
|
+ onClick={this.rotate}
|
|
|
+ style={{
|
|
|
+ position: "relative",
|
|
|
+ left: "50%",
|
|
|
+ transform: "translateX(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 旋转
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ onClick={this.upImg}
|
|
|
+ style={{
|
|
|
+ position: "absolute",
|
|
|
+ left: -81,
|
|
|
+ top: "50%",
|
|
|
+ transform: "translateY(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 上一张
|
|
|
+ </Button>
|
|
|
+ <Button
|
|
|
+ onClick={this.downImg}
|
|
|
+ style={{
|
|
|
+ position: "absolute",
|
|
|
+ right: -81,
|
|
|
+ top: "50%",
|
|
|
+ transform: "translateY(-50%)"
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 下一张
|
|
|
+ </Button>
|
|
|
</Modal>
|
|
|
</FormItem>
|
|
|
</div>
|