增加券
This commit is contained in:
@@ -108,12 +108,16 @@
|
||||
onLoad,
|
||||
onReady
|
||||
} from '@dcloudio/uni-app'
|
||||
import * as orderApi from '@/http/yskApi/order.js'
|
||||
import {
|
||||
$activateByOrderId
|
||||
} from '@/http/yskApi/Instead.js'
|
||||
function back(){
|
||||
uni.navigateBack()
|
||||
}
|
||||
let order=ref({
|
||||
|
||||
})
|
||||
const myQuan = reactive({
|
||||
fullReductionCouponSel: {
|
||||
id: ''
|
||||
@@ -146,8 +150,10 @@
|
||||
function toUse(item) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function getQuan() {
|
||||
order.value=await orderApi.tbOrderInfoDetail(option.orderId)
|
||||
console.log(order.value);
|
||||
const res = await $activateByOrderId(option)
|
||||
res.fullReductionCoupon = res.fullReductionCoupon.filter((v) => !v.use)
|
||||
res.productCoupon = res.productCoupon.filter((v) => !v.use).map(v => {
|
||||
@@ -162,6 +168,7 @@
|
||||
const option = reactive({
|
||||
orderId: '',
|
||||
memberId: '',
|
||||
payPrice:''
|
||||
})
|
||||
|
||||
function toEmitChooseQuan(item){
|
||||
|
||||
Reference in New Issue
Block a user