|
@@ -107,6 +107,10 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ onShow(){
|
|
|
|
+ this.getCount();
|
|
|
|
+ },
|
|
|
|
+
|
|
methods: {
|
|
methods: {
|
|
getCount() {
|
|
getCount() {
|
|
this.$api.post('/material/salses/count')
|
|
this.$api.post('/material/salses/count')
|
|
@@ -132,6 +136,7 @@ export default {
|
|
this.loadStatus = 2;
|
|
this.loadStatus = 2;
|
|
}
|
|
}
|
|
this.dataList = this.dataList.concat(list);
|
|
this.dataList = this.dataList.concat(list);
|
|
|
|
+ this.getCount();
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
this.loadStatus = 2;
|
|
this.loadStatus = 2;
|
|
}).finally(res => {
|
|
}).finally(res => {
|