This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
:close-on-click-modal="false"
|
||||
@closed="handleDialogClosed"
|
||||
>
|
||||
<ElForm ref="formRef" :model="form" :rules="rules" label-width="150px">
|
||||
<ElForm ref="formRef" :model="form" :rules="rules" label-width="165px">
|
||||
<ElRow :gutter="20">
|
||||
<ElCol :span="24">
|
||||
<ElFormItem label="套餐编码" prop="package_code">
|
||||
@@ -183,7 +183,10 @@
|
||||
</ElRow>
|
||||
|
||||
<!-- 套餐天数(流量重置周期为每日,或calendar_type为by_day时显示) -->
|
||||
<ElRow :gutter="20" v-if="form.data_reset_cycle === 'daily' || form.calendar_type === 'by_day'">
|
||||
<ElRow
|
||||
:gutter="20"
|
||||
v-if="form.data_reset_cycle === 'daily' || form.calendar_type === 'by_day'"
|
||||
>
|
||||
<ElCol :span="12">
|
||||
<ElFormItem label="套餐天数" prop="duration_days">
|
||||
<ElInputNumber
|
||||
@@ -1067,7 +1070,10 @@
|
||||
data.calendar_type = form.calendar_type
|
||||
}
|
||||
// 当流量重置周期为每日,或套餐周期类型为按天时,传递套餐天数
|
||||
if ((form.data_reset_cycle === 'daily' || form.calendar_type === 'by_day') && form.duration_days) {
|
||||
if (
|
||||
(form.data_reset_cycle === 'daily' || form.calendar_type === 'by_day') &&
|
||||
form.duration_days
|
||||
) {
|
||||
data.duration_days = form.duration_days
|
||||
}
|
||||
if (suggestedRetailPriceInCents !== undefined) {
|
||||
|
||||
@@ -379,7 +379,7 @@
|
||||
/>
|
||||
<div class="form-tip">
|
||||
该代理能获得的固定佣金金额(单位:元)
|
||||
<span v-if="form.series_max_commission_amount > 0" class="max-amount-hint">
|
||||
<span class="max-amount-hint">
|
||||
<br />
|
||||
该系列最大佣金金额:
|
||||
<span class="amount-value"
|
||||
@@ -543,7 +543,7 @@
|
||||
/>
|
||||
<div class="form-tip">
|
||||
该代理能获得的固定佣金金额(单位:元)
|
||||
<span v-if="form.series_max_commission_amount > 0" class="max-amount-hint">
|
||||
<span class="max-amount-hint">
|
||||
<br />
|
||||
该系列最大佣金金额:
|
||||
<span class="amount-value"
|
||||
|
||||
Reference in New Issue
Block a user