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

fix: 字段调整

parent f5352547
......@@ -261,13 +261,13 @@
</cr-cell-group>
<cr-cell-group title="保障方案">
<cr-field
v-model="formData.productItem.insuredAmount"
v-model="formData.productItem.amountInsured"
name="productItem_insuredAmount"
label="投保限额"
:rules="[{ required: true, message: '请选择投保限额' }]"
>
<template #input>
<stepper v-model="formData.productItem.insuredAmount" :option="insuredAmountOptions" />
<stepper v-model="formData.productItem.amountInsured" :option="insuredAmountOptions" />
</template>
</cr-field>
<cr-field
......@@ -408,7 +408,7 @@ export default {
longTerm: "1"
},
productItem: {
insuredAmount: "500000"
amountInsured: "500000"
},
payPeriod: "1"
},
......@@ -573,7 +573,7 @@ export default {
},
getParamFromSession() {
const {
amountInsured: insuredAmount,
amountInsured,
policyPeriod,
payPeriod: paymentPeriod,
payType,
......@@ -582,7 +582,7 @@ export default {
this.formData.productNo = productNo;
this.formData.productItem = {
...this.formData.productItem,
...{ insuredAmount, policyPeriod, paymentPeriod, payType }
...{ amountInsured, policyPeriod, paymentPeriod, payType }
};
const nextDate = Date.parse(new Date()) + 86400000;
this.formData.effectiveDate = parseTime(nextDate, "{y}-{m}-{d} 00:00:00");
......@@ -619,7 +619,7 @@ export default {
async calFee() {
let { price } = this.headerInfo;
const {
insuredAmount: amountInsured,
amountInsured,
policyPeriod,
paymentPeriod: payPeriod,
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