积分兑换
This commit is contained in:
@@ -74,19 +74,22 @@ export default {
|
||||
})
|
||||
},
|
||||
submit() {
|
||||
this.$http.post(`/app/appintegralmerchandiseorder/addOrUpdate`, {
|
||||
merchandiseId: this.id,
|
||||
merchandiseNumber: this.number,
|
||||
remark: this.remark
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({delta: 2})
|
||||
}, 600)
|
||||
}
|
||||
this.$confirm('是否确认提交订单?').then(() => {
|
||||
this.$http.post(`/app/appintegralmerchandiseorder/addOrUpdate`, {
|
||||
merchandiseId: this.id,
|
||||
merchandiseNumber: this.number,
|
||||
remark: this.remark
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({delta: 2})
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user