@@ -114,7 +114,8 @@ export default {
let status = this.tabs[this.tabIndex].key
let options = { page: this.list.page, status: status, ghsId:ghsId,location:0,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime }
return getPurchaseListApi(options) .then(res => {
- this.completes(res);
+ this.completes(res)
+ this.tabs[this.tabIndex].value = res.data.totalNum?res.data.totalNum:0
})
},
changeTabEvent(info) {