|
|
@@ -81,13 +81,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- // tab切换
|
|
|
change(e) {
|
|
|
if (this.tabIndex == e.index) {
|
|
|
return false;
|
|
|
} else {
|
|
|
+ this.resetList()
|
|
|
this.tabIndex = e.index;
|
|
|
- console.log(e.item.key)
|
|
|
this.status = e.item.key
|
|
|
this.getpurchaseList()
|
|
|
}
|
|
|
@@ -95,7 +94,6 @@ export default {
|
|
|
init() {
|
|
|
this.getpurchaseList()
|
|
|
},
|
|
|
- // 获取采购记录列表
|
|
|
getpurchaseList () {
|
|
|
return purchaseList({ status: this.status,page: this.list.page }).then(res => {
|
|
|
this.completes(res)
|