fix: 隐藏虚比,同步订单号
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m53s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m53s
This commit is contained in:
@@ -36,20 +36,19 @@
|
||||
<div class="flow-stat-item">
|
||||
<span class="flow-stat-label">总量</span>
|
||||
<span class="flow-stat-value">
|
||||
{{
|
||||
formatDataSize(
|
||||
currentPackage.data_limit_mb || currentPackage.package_total_data || 0
|
||||
)
|
||||
}}
|
||||
{{ formatDataSize(currentPackage.data_limit_mb || 0) }}
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
v-if="isAdminOrPlatform && currentPackage.enable_virtual_data"
|
||||
class="flow-stat-item"
|
||||
>
|
||||
<div v-if="isAdminOrPlatform" class="flow-stat-item">
|
||||
<span class="flow-stat-label">实际可用</span>
|
||||
<span class="flow-stat-value">
|
||||
{{ formatDataSize(currentPackage.virtual_limit_mb || 0) }}
|
||||
{{
|
||||
formatDataSize(
|
||||
currentPackage.enable_virtual_data
|
||||
? currentPackage.virtual_limit_mb || 0
|
||||
: currentPackage.data_limit_mb || 0
|
||||
)
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="flow-stat-item">
|
||||
@@ -59,8 +58,7 @@
|
||||
formatDataSize(
|
||||
currentPackage.enable_virtual_data
|
||||
? currentPackage.virtual_remain_mb || 0
|
||||
: (currentPackage.data_limit_mb || currentPackage.package_total_data || 0) -
|
||||
(currentPackage.data_usage_mb || 0)
|
||||
: (currentPackage.data_limit_mb || 0) - (currentPackage.data_usage_mb || 0)
|
||||
)
|
||||
}}
|
||||
</span>
|
||||
@@ -100,7 +98,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 套餐详情表格 -->
|
||||
<ElDescriptions :column="3" border class="package-info-table">
|
||||
<ElDescriptions :column="4" border class="package-info-table">
|
||||
<ElDescriptionsItem label="订单号">
|
||||
{{ currentPackage.order_no || '-' }}
|
||||
</ElDescriptionsItem>
|
||||
@@ -113,12 +111,12 @@
|
||||
<ElDescriptionsItem label="套餐类型">
|
||||
{{ getPackageTypeName(currentPackage.package_type) }}
|
||||
</ElDescriptionsItem>
|
||||
<ElDescriptionsItem
|
||||
v-if="isAdminOrPlatform && currentPackage.enable_virtual_data"
|
||||
label="虚流量比例"
|
||||
>
|
||||
{{ currentPackage.virtual_ratio || '-' }}
|
||||
</ElDescriptionsItem>
|
||||
<!--<ElDescriptionsItem-->
|
||||
<!-- v-if="isAdminOrPlatform && currentPackage.enable_virtual_data"-->
|
||||
<!-- label="虚流量比例"-->
|
||||
<!-->-->
|
||||
<!-- {{ currentPackage.virtual_ratio || '-' }}-->
|
||||
<!--</ElDescriptionsItem>-->
|
||||
<ElDescriptionsItem label="开始时间">
|
||||
{{ formatDateTime(currentPackage.start_time) || '-' }}
|
||||
</ElDescriptionsItem>
|
||||
|
||||
Reference in New Issue
Block a user