|
|
@@ -107,10 +107,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getCollectionList(index, list, allList) {
|
|
|
- console.log('gagagfasfa');
|
|
|
if (index >= allList.length) {
|
|
|
this.collectionList = list;
|
|
|
- console.log('cgcgvcg', this.collectionList.length, this.$route.query.id.length);
|
|
|
this.collectionList.forEach(item => {
|
|
|
this.price += Number(item.price);
|
|
|
});
|
|
|
@@ -269,6 +267,15 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submit() {
|
|
|
+ if (this.collectionList.length == 0) {
|
|
|
+ this.$dialog
|
|
|
+ .alert({
|
|
|
+ title: '提示',
|
|
|
+ message: '订单列表正在刷新,请稍等'
|
|
|
+ })
|
|
|
+ .then(res => {});
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (this.payType == 'BALANCE') {
|
|
|
this.showPwdDialog = true;
|
|
|
}
|