fix: id兼容, 通知入口
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m0s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m0s
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
</ElSelect>
|
||||
<template v-if="noSeriesId">
|
||||
<div style="margin-top: 4px; font-size: 12px; color: var(--el-text-color-warning)">
|
||||
该设备未关联套餐系列,无法购买套餐
|
||||
{{ noSeriesMessage }}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="packagesEmptyWithSeriesId">
|
||||
@@ -616,6 +616,10 @@
|
||||
return false
|
||||
})
|
||||
|
||||
const noSeriesMessage = computed(
|
||||
() => `该${createForm.order_type === 'single_card' ? '卡' : '设备'}未关联套餐系列,无法购买套餐`
|
||||
)
|
||||
|
||||
// 检查是否选择了赠送套餐
|
||||
const selectedPackageIsGift = computed(() => {
|
||||
if (!createForm.package_id) return false
|
||||
@@ -892,7 +896,8 @@
|
||||
prop: 'is_expired',
|
||||
label: '是否过期',
|
||||
width: 100,
|
||||
formatter: (row: Order) => (row.is_expired === undefined ? '-' : row.is_expired ? '是' : '否')
|
||||
formatter: (row: Order) =>
|
||||
row.is_expired === undefined ? '-' : row.is_expired ? '是' : '否'
|
||||
},
|
||||
{
|
||||
prop: 'expires_at',
|
||||
|
||||
Reference in New Issue
Block a user