|
@@ -170,7 +170,7 @@ const SettlementManage=Form.create()(React.createClass({
|
|
|
dataIndex: 'buyerName',
|
|
|
key: 'buyerName',
|
|
|
render:(text)=>{
|
|
|
- return (text.length>9?text.substr(0,9)+'...':text)
|
|
|
+ return (text&&text.length>9?text.substr(0,9)+'...':text)
|
|
|
}
|
|
|
}, {
|
|
|
title: '实际下单金额(万元)',
|
|
@@ -456,16 +456,6 @@ const SettlementManage=Form.create()(React.createClass({
|
|
|
</div>
|
|
|
<div className='clearfix' style={{marginTop:'5px'}}>
|
|
|
<div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
|
|
|
- <Select placeholder="订单状态"
|
|
|
- style={{ width: 150 ,marginRight:'10px',marginBottom:'10px'}}
|
|
|
- value={this.state.orderStatusSearch}
|
|
|
- onChange={(e) => { this.setState({ orderStatusSearch: e }) }}>
|
|
|
- {
|
|
|
- orderState.map(function (item) {
|
|
|
- return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
- })
|
|
|
- }
|
|
|
- </Select>
|
|
|
<Input placeholder="订单编号" style={{width:'150px',marginRight:'10px'}}
|
|
|
value={this.state.orderNoSearch}
|
|
|
onChange={(e) => { this.setState({ orderNoSearch: e.target.value }); }} />
|