Commit 48c89560 authored by 郭志伟's avatar 郭志伟

fix: 字段纠正

parent a2e76c80
......@@ -291,16 +291,13 @@
</template>
</cr-field>
<cr-field
v-model="formData.productItem.paymentPeriod"
v-model="formData.productItem.payPeriod"
name="productItem_paymentPeriod"
label="交费期间"
:rules="[{ required: true, message: '请选择交费期间' }]"
>
<template #input>
<cr-radio-btn
v-model="formData.productItem.paymentPeriod"
:radio-data="benefitOptions"
/>
<cr-radio-btn v-model="formData.productItem.payPeriod" :radio-data="benefitOptions" />
</template>
</cr-field>
<cr-field :value="formData.effectiveDate" name="effectiveDate" readonly label="生效日期" />
......@@ -572,17 +569,11 @@ export default {
this.popupShow = true;
},
getParamFromSession() {
const {
amountInsured,
policyPeriod,
payPeriod: paymentPeriod,
payType,
productNo
} = this.policyFormData;
const { amountInsured, policyPeriod, payPeriod, payType, productNo } = this.policyFormData;
this.formData.productNo = productNo;
this.formData.productItem = {
...this.formData.productItem,
...{ amountInsured, policyPeriod, paymentPeriod, payType }
...{ amountInsured, policyPeriod, payPeriod, payType }
};
const nextDate = Date.parse(new Date()) + 86400000;
this.formData.effectiveDate = parseTime(nextDate, "{y}-{m}-{d} 00:00:00");
......@@ -618,12 +609,7 @@ export default {
},
async calFee() {
let { price } = this.headerInfo;
const {
amountInsured,
policyPeriod,
paymentPeriod: payPeriod,
payType
} = this.formData.productItem;
const { amountInsured, policyPeriod, payPeriod, payType } = this.formData.productItem;
let idNo = "";
let userInfoSecId = undefined;
const { socialSecurity } = this.formData.insuredUserInfo;
......
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