hookehuyr

style(plan): 调整每年提取金额字段位置至提取期下方

- 统一单阶段和多阶段模式的字段录入顺序
- 单阶段:调整 withdrawal_fields 中的数组顺序
- 多阶段:调整阶段卡片中的 HTML 渲染顺序

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# CHANGELOG
## [2026-02-27] - 计划书字段顺序调整
### 优化
- 调整"每年提取金额"字段位置,移至"提取期"下方
- 统一单阶段和多阶段模式的字段录入顺序
---
## [2026-02-22] - CHANGELOG 自动更新功能
### 配置
......
......@@ -77,17 +77,6 @@
</nut-button>
</div>
<!-- 每年提取金额 -->
<PlanFieldAmount
v-model="stage.annual_withdrawal_amount"
label="每年提取金额"
placeholder="请输入每年提取金额"
inputLabel="请输入每年提取金额"
:required="true"
:currency="config.withdrawal_plan?.default_currency || config.currency"
class="mb-3"
/>
<!-- 由几岁开始 -->
<PlanFieldAgePicker
v-model="stage.withdrawal_start_age"
......@@ -107,6 +96,17 @@
class="mb-3"
/>
<!-- 每年提取金额 -->
<PlanFieldAmount
v-model="stage.annual_withdrawal_amount"
label="每年提取金额"
placeholder="请输入每年提取金额"
inputLabel="请输入每年提取金额"
:required="true"
:currency="config.withdrawal_plan?.default_currency || config.currency"
class="mb-3"
/>
<!-- 每年递增提取之百分比(可选) -->
<div class="percentage-field">
<div class="text-sm text-gray-700 mb-2 flex items-center">
......
......@@ -99,9 +99,9 @@ const savingsFormSchema = {
{ id: 'withdrawal_mode', key: 'withdrawal_mode', type: 'radio', label: '提取选项', options: ['指定提取金额', '最高固定提取金额'], required: true, default: '指定提取金额', section_title: '款项提取(允许减少名义金额)', clear_when_hidden: true },
// 指定提取金额模式字段
{ id: 'withdrawal_method', key: 'withdrawal_method', type: 'radio', label: '提取方式', options: ['按年岁'], required: true, default: '按年岁', show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
{ id: 'annual_withdrawal_amount', key: 'annual_withdrawal_amount', type: 'amount', label: '每年提取金额', placeholder: '请输入每年提取金额', input_label: '请输入每年提取金额', required: true, currency_from: 'withdrawal_plan.default_currency', show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
{ id: 'withdrawal_start_age_specified', key: 'withdrawal_start_age_specified', type: 'age', label: '由几岁开始', placeholder: '请输入开始提取年龄', required: true, show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
{ id: 'withdrawal_period_specified', key: 'withdrawal_period_specified', type: 'select', label: '提取期(年)', placeholder: '请选择提取期', required: true, options_from: 'withdrawal_plan.withdrawal_periods', show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
{ id: 'annual_withdrawal_amount', key: 'annual_withdrawal_amount', type: 'amount', label: '每年提取金额', placeholder: '请输入每年提取金额', input_label: '请输入每年提取金额', required: true, currency_from: 'withdrawal_plan.default_currency', show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
{ id: 'annual_increase_percentage', key: 'annual_increase_percentage', type: 'percentage', label: '每年递增提取之百分比(%)', placeholder: '请输入递增百分比', required: true, show_when: { field: 'withdrawal_mode', op: 'eq', value: '指定提取金额' }, clear_when_hidden: true },
// 最高固定提取金额模式字段
{ id: 'withdrawal_start_age_fixed', key: 'withdrawal_start_age_fixed', type: 'age', label: '按年岁:由几岁开始', placeholder: '请输入开始提取年龄', required: true, show_when: { field: 'withdrawal_mode', op: 'eq', value: '最高固定提取金额' }, clear_when_hidden: true },
......