diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue index c3e67382..146b45ff 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue @@ -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=[]