2023-02-22
业务功能完善
This commit is contained in:
@@ -56,10 +56,10 @@
|
||||
},
|
||||
methods: {
|
||||
async acceptCoupon(item) {
|
||||
this.types =!this.types
|
||||
uni.showLoading({
|
||||
title: '请稍后'
|
||||
});
|
||||
this.types = !this.types
|
||||
uni.showLoading({
|
||||
title: '请稍后'
|
||||
});
|
||||
|
||||
let params = {
|
||||
couponId: item.id
|
||||
@@ -68,11 +68,17 @@
|
||||
console.log(data);
|
||||
if (data) {
|
||||
this.$api.msg(data);
|
||||
this.clickSubMethod(item)
|
||||
|
||||
}
|
||||
uni.hideLoading();
|
||||
|
||||
},
|
||||
async useCoupon(item){
|
||||
clickSubMethod(vel) {
|
||||
console.log('clickSubMethod')
|
||||
this.$emit('callParentMethod', JSON.stringify(vel))
|
||||
},
|
||||
async useCoupon(item) {
|
||||
uni.showLoading({
|
||||
title: '请稍后'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user