|
@@ -197,6 +197,7 @@
|
|
|
tipShow: false,
|
|
|
tipData: {},
|
|
|
payInfo: {},
|
|
|
+ // infoItem: {},
|
|
|
};
|
|
|
},
|
|
|
onShow() {
|
|
@@ -337,8 +338,12 @@
|
|
|
$http.post('/api/v1/mp/user/mine/prize/saveSku', this.tipData).then(res => {
|
|
|
uni.hideLoading();
|
|
|
if (res.code == 0) {
|
|
|
+ for (var i = 0; i < this.list.length; i++) {
|
|
|
+ if(this.list[i].storageId == this.info.storageId){
|
|
|
+ this.$set(this.list[i],"properties",this.tipData.properties)
|
|
|
+ }
|
|
|
+ }
|
|
|
this.close()
|
|
|
- this.pageList()
|
|
|
} else if (res.code == 1021) {
|
|
|
uni.$u.toast(res.msg);
|
|
|
}
|
|
@@ -451,10 +456,9 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- return
|
|
|
- }
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
this.list.forEach(item => {
|
|
|
if (item.checked) {
|
|
|
arr.push(item)
|