Merge branch 'master' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend
This commit is contained in:
commit
06d0e90be6
|
@ -227,7 +227,12 @@ export default class orderlist extends React.Component{
|
||||||
data.key_word=key_word;
|
data.key_word=key_word;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(this.state.selectiondata&&this.state.selectiondata.length>0){
|
||||||
|
console.log(this.state.selectiondata);
|
||||||
|
let orders=this.state.selectiondata;
|
||||||
|
let orderNum=orders.map(item=>item.order_number);
|
||||||
|
data.order_numbers=orderNum.join(',');
|
||||||
|
}
|
||||||
Sweetalert.confirm({
|
Sweetalert.confirm({
|
||||||
type:'warning',
|
type:'warning',
|
||||||
closeBtn:true,
|
closeBtn:true,
|
||||||
|
@ -374,6 +379,7 @@ export default class orderlist extends React.Component{
|
||||||
//page
|
//page
|
||||||
pageChange(e){
|
pageChange(e){
|
||||||
this.setState({page:e});
|
this.setState({page:e});
|
||||||
|
this.setState({'selectiondata':[]})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getOrderFn();
|
this.getOrderFn();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
@ -382,6 +388,7 @@ export default class orderlist extends React.Component{
|
||||||
//limit
|
//limit
|
||||||
countChange(e){
|
countChange(e){
|
||||||
this.setState({page:1,limit:e});
|
this.setState({page:1,limit:e});
|
||||||
|
this.setState({'selectiondata':[]})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getOrderFn();
|
this.getOrderFn();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
Loading…
Reference in New Issue