|
|
@@ -32,13 +32,13 @@ export default {
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
this.resetList();
|
|
|
- this._list().then((res) => {
|
|
|
+ this.getRefundList().then((res) => {
|
|
|
uni.stopPullDownRefresh();
|
|
|
});
|
|
|
},
|
|
|
onReachBottom() {
|
|
|
if (!this.list.finished) {
|
|
|
- this._list().then((res) => {
|
|
|
+ this.getRefundList().then((res) => {
|
|
|
uni.stopPullDownRefresh();
|
|
|
});
|
|
|
} else {
|
|
|
@@ -51,9 +51,12 @@ export default {
|
|
|
},
|
|
|
onShow() {
|
|
|
this.resetList();
|
|
|
- this._list();
|
|
|
+ this.getRefundList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+
|
|
|
+ },
|
|
|
goDetail(item){
|
|
|
if(item.book == 1){
|
|
|
this.$msg('预订单多退少补')
|
|
|
@@ -61,7 +64,7 @@ export default {
|
|
|
}
|
|
|
this.$util.pageTo({url: '/pagesPurchase/refundDetail',query: {id: item.id}})
|
|
|
},
|
|
|
- _list() {
|
|
|
+ getRefundList() {
|
|
|
return cgRefundList({
|
|
|
page: this.list.page,
|
|
|
cgId:this.option.id
|