|
@@ -174,9 +174,6 @@ const NewService = Form.create()(React.createClass({
|
|
title: '平台流水号',
|
|
title: '平台流水号',
|
|
dataIndex: 'billNo',
|
|
dataIndex: 'billNo',
|
|
key: 'billNo',
|
|
key: 'billNo',
|
|
- render:(text)=>{
|
|
|
|
- return text&&text.substr(0,9)+'…'
|
|
|
|
- }
|
|
|
|
}, {
|
|
}, {
|
|
title: '平台流水时间',
|
|
title: '平台流水时间',
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
@@ -296,7 +293,6 @@ const NewService = Form.create()(React.createClass({
|
|
},
|
|
},
|
|
//查看基本详情基本信息
|
|
//查看基本详情基本信息
|
|
loaduser(record){
|
|
loaduser(record){
|
|
- if(record){
|
|
|
|
this.state.orderList=[]
|
|
this.state.orderList=[]
|
|
$.ajax({
|
|
$.ajax({
|
|
method: "get",
|
|
method: "get",
|
|
@@ -304,7 +300,7 @@ const NewService = Form.create()(React.createClass({
|
|
crossDomain: false,
|
|
crossDomain: false,
|
|
url: globalConfig.context + '/api/admin/order/getServiceOrderDetail',
|
|
url: globalConfig.context + '/api/admin/order/getServiceOrderDetail',
|
|
data: {
|
|
data: {
|
|
- orderNo: record.orderNo
|
|
|
|
|
|
+ orderNo:record?record.orderNo:this.props.datauser.orderNo
|
|
},
|
|
},
|
|
success: function (data) {
|
|
success: function (data) {
|
|
let thisData = data.data;
|
|
let thisData = data.data;
|
|
@@ -334,7 +330,6 @@ const NewService = Form.create()(React.createClass({
|
|
loading: false
|
|
loading: false
|
|
});
|
|
});
|
|
}.bind(this));
|
|
}.bind(this));
|
|
- }
|
|
|
|
},
|
|
},
|
|
handleOk(e) {
|
|
handleOk(e) {
|
|
this.setState({
|
|
this.setState({
|
|
@@ -367,10 +362,11 @@ const NewService = Form.create()(React.createClass({
|
|
this.setState({
|
|
this.setState({
|
|
loading: false,
|
|
loading: false,
|
|
});
|
|
});
|
|
|
|
+ this.loaduser()
|
|
|
|
+ this.loadData();
|
|
} else {
|
|
} else {
|
|
message.warning(data.error[0].message);
|
|
message.warning(data.error[0].message);
|
|
};
|
|
};
|
|
- this.loadData();
|
|
|
|
}.bind(this));
|
|
}.bind(this));
|
|
},
|
|
},
|
|
//添加明细
|
|
//添加明细
|
|
@@ -1145,9 +1141,7 @@ const NewService = Form.create()(React.createClass({
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="市场价格" >
|
|
label="市场价格" >
|
|
- <Input placeholder="输入市场价格" value={this.state.commodityPrice} style={{width:'200px'}}
|
|
|
|
- onChange={(e)=>{this.setState({commodityPrice:e.target.value})}} ref='commodityPrice'/>
|
|
|
|
- <span className="mandatory">*</span>
|
|
|
|
|
|
+ <span>{this.state.commodityPrice}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
@@ -1166,9 +1160,7 @@ const NewService = Form.create()(React.createClass({
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="市场首付金额" >
|
|
label="市场首付金额" >
|
|
- <Input placeholder="请输入市场首付金额" value={this.state.commodityFirstPayment} style={{width:'200px'}}
|
|
|
|
- onChange={(e)=>{this.setState({commodityFirstPayment:e.target.value})}} ref='commodityFirstPayment'/>
|
|
|
|
- <span className="mandatory">*</span>
|
|
|
|
|
|
+ <span>{this.state.commodityFirstPayment}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
@@ -1177,12 +1169,6 @@ const NewService = Form.create()(React.createClass({
|
|
onChange={(e)=>{this.setState({discountFirstPayment:e.target.value})}} ref='discountFirstPayment'/>
|
|
onChange={(e)=>{this.setState({discountFirstPayment:e.target.value})}} ref='discountFirstPayment'/>
|
|
<span className="mandatory">*</span>
|
|
<span className="mandatory">*</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
- {...formItemLayout}
|
|
|
|
- label="商品规格" >
|
|
|
|
- <Input placeholder="请输入实签价格" value={this.state.commodityMode} style={{width:'200px'}}
|
|
|
|
- onChange={(e)=>{this.setState({commodityMode:e.target.value})}} />
|
|
|
|
- </FormItem>
|
|
|
|
<div className='clearfix'>
|
|
<div className='clearfix'>
|
|
<FormItem
|
|
<FormItem
|
|
labelCol={{ span: 4 }}
|
|
labelCol={{ span: 4 }}
|
|
@@ -1218,11 +1204,6 @@ const NewService = Form.create()(React.createClass({
|
|
label="服务数量" >
|
|
label="服务数量" >
|
|
<span>{editFws.commodityQuantity}</span>
|
|
<span>{editFws.commodityQuantity}</span>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem className="half-item"
|
|
|
|
- {...formItemLayout}
|
|
|
|
- label="商品规格" >
|
|
|
|
- <span>{editFws.commodityMode}</span>
|
|
|
|
- </FormItem>
|
|
|
|
<FormItem className="half-item"
|
|
<FormItem className="half-item"
|
|
{...formItemLayout}
|
|
{...formItemLayout}
|
|
label="市场首付金额" >
|
|
label="市场首付金额" >
|
|
@@ -1350,7 +1331,7 @@ const NewService = Form.create()(React.createClass({
|
|
</Modal>
|
|
</Modal>
|
|
<Modal maskClosable={false} visible={this.state.lookVisible}
|
|
<Modal maskClosable={false} visible={this.state.lookVisible}
|
|
onOk={this.lookCancel} onCancel={this.lookCancel}
|
|
onOk={this.lookCancel} onCancel={this.lookCancel}
|
|
- width='1200px'
|
|
|
|
|
|
+ width='1300px'
|
|
title= '查看流水'
|
|
title= '查看流水'
|
|
footer=''
|
|
footer=''
|
|
className="admin-desc-content">
|
|
className="admin-desc-content">
|