|
@@ -84,7 +84,7 @@ export default {
|
|
|
//返回上一页时不需要刷新
|
|
//返回上一页时不需要刷新
|
|
|
let pages = getCurrentPages();
|
|
let pages = getCurrentPages();
|
|
|
let prevPage = pages[ pages.length - 2 ];
|
|
let prevPage = pages[ pages.length - 2 ];
|
|
|
- prevPage.$vm.fromDetail = {status:1}
|
|
|
|
|
|
|
+ prevPage.$vm.refreshPage = 0
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -142,10 +142,23 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
getOrderList() {
|
|
getOrderList() {
|
|
|
- let productId = this.option.productId ? this.option.productId : 0
|
|
|
|
|
- return getOrderInfoList({ productId:productId, page: this.list.page }).then((res) => {
|
|
|
|
|
|
|
+ if(this.option.productId){
|
|
|
|
|
+ return getOrderInfoList({ productId:this.option.productId, page: this.list.page,ids:ids }).then((res) => {
|
|
|
this.completes(res)
|
|
this.completes(res)
|
|
|
})
|
|
})
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if(this.option.customId){
|
|
|
|
|
+ return getListB({ page: this.list.page,customId:this.option.customId }).then((res) => {
|
|
|
|
|
+ this.completes(res)
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ if(this.option.ids){
|
|
|
|
|
+ return getListB({ page: this.list.page,ids:this.option.ids }).then((res) => {
|
|
|
|
|
+ this.completes(res)
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|