更新订单管理模块,增加订单详情跳转用户订单

This commit is contained in:
2024-09-29 15:40:51 +08:00
parent efc8485082
commit 1ff0b14f93
7 changed files with 209 additions and 54 deletions

View File

@@ -119,7 +119,7 @@
import * as Api from '@/http/yskApi/Instead.js'
import * as orderApi from '@/http/yskApi/order.js'
import infoBox from '@/commons/utils/infoBox.js'
import editDiscount from '@/pagesCreateOrder/components/edit-discount.vue'
import editDiscount from '@/components/my-components/edit-discount.vue'
let payStatus = ref(null) //loading success
@@ -247,18 +247,18 @@
});
}
watch(() => pays.payTypes.selIndex, (newval) => {
const item = pays.payTypes.list[newval]
if (item.payType == "vipPay") {
return
}
if (item.payType == "deposit") {
//储值卡支付
return saomaPay('deposit')
}
if (item.payType == "scanCode") {
//扫码支付
return saomaPay('scanCode')
}
// const item = pays.payTypes.list[newval]
// if (item.payType == "vipPay") {
// return
// }
// if (item.payType == "deposit") {
// //储值卡支付
// return saomaPay('deposit')
// }
// if (item.payType == "scanCode") {
// //扫码支付
// return saomaPay('scanCode')
// }
})
let payCodeUrl = ref('')
async function init() {