|  | @@ -174,7 +174,9 @@ const MySettlementDetaile = Form.create()(React.createClass({
 | 
												
													
														
															|  |                      thisData = {};
 |  |                      thisData = {};
 | 
												
													
														
															|  |                  };
 |  |                  };
 | 
												
													
														
															|  |                  this.setState({
 |  |                  this.setState({
 | 
												
													
														
															|  | 
 |  | +                	orderType:thisData.orderType,
 | 
												
													
														
															|  |  					id:thisData.id,
 |  |  					id:thisData.id,
 | 
												
													
														
															|  | 
 |  | +					contractNo:thisData.contractNo,
 | 
												
													
														
															|  |  					orderList:thisData,
 |  |  					orderList:thisData,
 | 
												
													
														
															|  |  					orderAmount:thisData.orderAmount,
 |  |  					orderAmount:thisData.orderAmount,
 | 
												
													
														
															|  |  					firstPayment:thisData.firstPayment,
 |  |  					firstPayment:thisData.firstPayment,
 | 
												
											
												
													
														
															|  | @@ -270,6 +272,36 @@ const MySettlementDetaile = Form.create()(React.createClass({
 | 
												
													
														
															|  |              });
 |  |              });
 | 
												
													
														
															|  |          }.bind(this));
 |  |          }.bind(this));
 | 
												
													
														
															|  |  	},
 |  |  	},
 | 
												
													
														
															|  | 
 |  | +	//保存合同编号
 | 
												
													
														
															|  | 
 |  | +	subContract(e) {
 | 
												
													
														
															|  | 
 |  | +		e.preventDefault();
 | 
												
													
														
															|  | 
 |  | +		this.setState({
 | 
												
													
														
															|  | 
 |  | +			loading: true
 | 
												
													
														
															|  | 
 |  | +		});
 | 
												
													
														
															|  | 
 |  | +		let api='/api/admin/order/updateServiceOrder';
 | 
												
													
														
															|  | 
 |  | +		$.ajax({
 | 
												
													
														
															|  | 
 |  | +			method: "POST",
 | 
												
													
														
															|  | 
 |  | +			dataType: "json",
 | 
												
													
														
															|  | 
 |  | +			crossDomain: false,
 | 
												
													
														
															|  | 
 |  | +			url: globalConfig.context + api,
 | 
												
													
														
															|  | 
 |  | +			data:{
 | 
												
													
														
															|  | 
 |  | +				orderNo:this.state.orderNo,
 | 
												
													
														
															|  | 
 |  | +				contractNo:this.state.contractNo,
 | 
												
													
														
															|  | 
 |  | +				signTotalAmount:this.state.signTotalAmount,
 | 
												
													
														
															|  | 
 |  | +				signFirstPayment:this.state.signFirstPayment,
 | 
												
													
														
															|  | 
 |  | +			}
 | 
												
													
														
															|  | 
 |  | +		}).done(function(data) {
 | 
												
													
														
															|  | 
 |  | +			this.setState({
 | 
												
													
														
															|  | 
 |  | +				loading: false
 | 
												
													
														
															|  | 
 |  | +			});
 | 
												
													
														
															|  | 
 |  | +			if(!data.error.length) {
 | 
												
													
														
															|  | 
 |  | +				message.success('保存成功!');
 | 
												
													
														
															|  | 
 |  | +				this.handleOk()
 | 
												
													
														
															|  | 
 |  | +			} else {
 | 
												
													
														
															|  | 
 |  | +				message.warning(data.error[0].message);
 | 
												
													
														
															|  | 
 |  | +			}
 | 
												
													
														
															|  | 
 |  | +		}.bind(this));
 | 
												
													
														
															|  | 
 |  | +	},
 | 
												
													
														
															|  |  	lookCancel(){
 |  |  	lookCancel(){
 | 
												
													
														
															|  |  		this.setState({
 |  |  		this.setState({
 | 
												
													
														
															|  |  			lookVisible:false
 |  |  			lookVisible:false
 | 
												
											
												
													
														
															|  | @@ -376,8 +408,8 @@ const MySettlementDetaile = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				                    		</FormItem>
 |  |  				                    		</FormItem>
 | 
												
													
														
															|  |  				                    		<FormItem className="half-item"
 |  |  				                    		<FormItem className="half-item"
 | 
												
													
														
															|  |  					                            {...formItemLayout}
 |  |  					                            {...formItemLayout}
 | 
												
													
														
															|  | -					                            label="合同编号" >   
 |  | 
 | 
												
													
														
															|  | -					                            <span>{orderDetaiel.contractNo}</span>
 |  | 
 | 
												
													
														
															|  | 
 |  | +					                            label="合同编号" >
 | 
												
													
														
															|  | 
 |  | +							                    <Input placeholder="实签订单金额" value={this.state.contractNo} onChange={(e)=>{this.setState({contractNo:e.target.value})}} style={{width:'240px'}} />
 | 
												
													
														
															|  |  				                    		</FormItem>
 |  |  				                    		</FormItem>
 | 
												
													
														
															|  |  					                        <div className='clearfix'>
 |  |  					                        <div className='clearfix'>
 | 
												
													
														
															|  |  									        	<FormItem
 |  |  									        	<FormItem
 | 
												
											
												
													
														
															|  | @@ -451,6 +483,10 @@ const MySettlementDetaile = Form.create()(React.createClass({
 | 
												
													
														
															|  |  					                            />
 |  |  					                            />
 | 
												
													
														
															|  |  					                    </Spin>
 |  |  					                    </Spin>
 | 
												
													
														
															|  |  						            </div>
 |  |  						            </div>
 | 
												
													
														
															|  | 
 |  | +						            <div style={{marginTop:'10px'}}>
 | 
												
													
														
															|  | 
 |  | +						            	<Button type="primary" onClick={this.subContract} style={{float:'left',marginLeft:'200px'}}>保存</Button>
 | 
												
													
														
															|  | 
 |  | +						            	<Button className="cancel" type="ghost" onClick={this.handleCancel} style={{float:'right',marginRight:'200px'}}>返回</Button>
 | 
												
													
														
															|  | 
 |  | +						            </div>
 | 
												
													
														
															|  |  			                    </div>
 |  |  			                    </div>
 | 
												
													
														
															|  |  			                </Spin>
 |  |  			                </Spin>
 | 
												
													
														
															|  |  			            </Form >
 |  |  			            </Form >
 |