|
|
|
@ -481,26 +481,33 @@ |
|
|
|
|
if(key.key == 'allorders'){ |
|
|
|
|
/* this.allOrders = this.allOrders1*/ |
|
|
|
|
this.allOrders = this.allOrders2 |
|
|
|
|
this.invoiceList=[] |
|
|
|
|
} |
|
|
|
|
else if(key.key == 'daizhifu'){ |
|
|
|
|
/* this.allOrders = this.allOrders1.filter(item=>item.pay == false)*/ |
|
|
|
|
this.allOrders = this.allOrders2.filter(item=>item.pay == false) |
|
|
|
|
this.invoiceList=[] |
|
|
|
|
} |
|
|
|
|
else if(key.key == 'daishouhuo'){ |
|
|
|
|
/*this.allOrders = this.allOrders1.filter(item=>item.receipt == false && item.pay == true)*/ |
|
|
|
|
this.allOrders = this.allOrders2.filter(item=>item.receipt == false && item.pay == true) |
|
|
|
|
this.invoiceList=[] |
|
|
|
|
} |
|
|
|
|
else if(key.key == 'yiwancheng'){ |
|
|
|
|
/*this.allOrders = this.allOrders1.filter(item=>item.receipt == true)*/ |
|
|
|
|
this.allOrders = this.allOrders2.filter(item=>item.receipt == true) |
|
|
|
|
this.invoiceList=[] |
|
|
|
|
}else if(key.key == 'invoice1'){//选择全部发票选项 |
|
|
|
|
this.invoiceList = this.invoiceList1 |
|
|
|
|
this.allOrders=[] |
|
|
|
|
} |
|
|
|
|
else if(key.key == 'invoice2'){//选择已开发票选项 |
|
|
|
|
this.invoiceList = this.invoiceList1.filter(item=>item.billing == true) |
|
|
|
|
this.allOrders=[] |
|
|
|
|
} |
|
|
|
|
else if(key.key == 'invoice3'){//选择未开发票选项 |
|
|
|
|
this.invoiceList = this.invoiceList1.filter(item=>item.billing == false) |
|
|
|
|
this.allOrders=[] |
|
|
|
|
}else{ |
|
|
|
|
this.allOrders=[] |
|
|
|
|
this.invoiceList=[] |
|
|
|
|