个人中心

zhc4dev
暖暖 2 years ago
parent f772865cf0
commit 824ca1ec32
  1. 7
      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=[]

Loading…
Cancel
Save