Commit a2e76c80 authored by 郭志伟's avatar 郭志伟

fix: 字段调整

parent f5352547
...@@ -261,13 +261,13 @@ ...@@ -261,13 +261,13 @@
</cr-cell-group> </cr-cell-group>
<cr-cell-group title="保障方案"> <cr-cell-group title="保障方案">
<cr-field <cr-field
v-model="formData.productItem.insuredAmount" v-model="formData.productItem.amountInsured"
name="productItem_insuredAmount" name="productItem_insuredAmount"
label="投保限额" label="投保限额"
:rules="[{ required: true, message: '请选择投保限额' }]" :rules="[{ required: true, message: '请选择投保限额' }]"
> >
<template #input> <template #input>
<stepper v-model="formData.productItem.insuredAmount" :option="insuredAmountOptions" /> <stepper v-model="formData.productItem.amountInsured" :option="insuredAmountOptions" />
</template> </template>
</cr-field> </cr-field>
<cr-field <cr-field
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
longTerm: "1" longTerm: "1"
}, },
productItem: { productItem: {
insuredAmount: "500000" amountInsured: "500000"
}, },
payPeriod: "1" payPeriod: "1"
}, },
...@@ -573,7 +573,7 @@ export default { ...@@ -573,7 +573,7 @@ export default {
}, },
getParamFromSession() { getParamFromSession() {
const { const {
amountInsured: insuredAmount, amountInsured,
policyPeriod, policyPeriod,
payPeriod: paymentPeriod, payPeriod: paymentPeriod,
payType, payType,
...@@ -582,7 +582,7 @@ export default { ...@@ -582,7 +582,7 @@ export default {
this.formData.productNo = productNo; this.formData.productNo = productNo;
this.formData.productItem = { this.formData.productItem = {
...this.formData.productItem, ...this.formData.productItem,
...{ insuredAmount, policyPeriod, paymentPeriod, payType } ...{ amountInsured, policyPeriod, paymentPeriod, payType }
}; };
const nextDate = Date.parse(new Date()) + 86400000; const nextDate = Date.parse(new Date()) + 86400000;
this.formData.effectiveDate = parseTime(nextDate, "{y}-{m}-{d} 00:00:00"); this.formData.effectiveDate = parseTime(nextDate, "{y}-{m}-{d} 00:00:00");
...@@ -619,7 +619,7 @@ export default { ...@@ -619,7 +619,7 @@ export default {
async calFee() { async calFee() {
let { price } = this.headerInfo; let { price } = this.headerInfo;
const { const {
insuredAmount: amountInsured, amountInsured,
policyPeriod, policyPeriod,
paymentPeriod: payPeriod, paymentPeriod: payPeriod,
payType payType
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment