Merge branch 'master' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend

This commit is contained in:
姜棚 2021-11-28 10:56:49 +08:00
commit 06d0e90be6
1 changed files with 8 additions and 1 deletions

View File

@ -227,7 +227,12 @@ export default class orderlist extends React.Component{
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({
type:'warning',
closeBtn:true,
@ -374,6 +379,7 @@ export default class orderlist extends React.Component{
//page
pageChange(e){
this.setState({page:e});
this.setState({'selectiondata':[]})
setTimeout(() => {
this.getOrderFn();
}, 0);
@ -382,6 +388,7 @@ export default class orderlist extends React.Component{
//limit
countChange(e){
this.setState({page:1,limit:e});
this.setState({'selectiondata':[]})
setTimeout(() => {
this.getOrderFn();
}, 0);