|
@@ -173,7 +173,7 @@ export default {
|
|
|
console.log('提交的二维码列表:', this.codeList);
|
|
console.log('提交的二维码列表:', this.codeList);
|
|
|
uni.showLoading({ title: '提交中...' });
|
|
uni.showLoading({ title: '提交中...' });
|
|
|
let obj = {};
|
|
let obj = {};
|
|
|
- obj.storeId = 1;
|
|
|
|
|
|
|
+ obj.storeId = this.storeId;
|
|
|
obj.qrcodeIds = this.codeList;
|
|
obj.qrcodeIds = this.codeList;
|
|
|
if(this.type == 1){
|
|
if(this.type == 1){
|
|
|
active(obj).then(res=>{
|
|
active(obj).then(res=>{
|
|
@@ -182,7 +182,9 @@ export default {
|
|
|
uni.showToast({ title: '操作成功', icon: 'none' });
|
|
uni.showToast({ title: '操作成功', icon: 'none' });
|
|
|
this.numberList = []
|
|
this.numberList = []
|
|
|
this.codeList = [];
|
|
this.codeList = [];
|
|
|
- uni.navigateBack();
|
|
|
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
|
+ uni.navigateBack();
|
|
|
|
|
+ },1000)
|
|
|
}else{
|
|
}else{
|
|
|
uni.showToast({ title: res.msg, icon: 'none' });
|
|
uni.showToast({ title: res.msg, icon: 'none' });
|
|
|
}
|
|
}
|