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

Merge branch 'fix/policy_fix' into 'master'

fix: 身份证有效期问题修复

See merge request !48
parents 71a2b3af eba4111b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Description: 华贵大麦2020定期寿险 * @Description: 华贵大麦2020定期寿险
* @Date: 2020-07-27 15:46:37 * @Date: 2020-07-27 15:46:37
* @LastEditors: gzw * @LastEditors: gzw
* @LastEditTime: 2020-08-19 10:07:43 * @LastEditTime: 2020-08-19 11:20:24
*/ */
import goodsBg from "@/assets/images/goods/detail/shouxian/bg.png"; import goodsBg from "@/assets/images/goods/detail/shouxian/bg.png";
...@@ -57,15 +57,15 @@ export default { ...@@ -57,15 +57,15 @@ export default {
{ title: " ", value: "保至60岁/65岁/70岁" } { title: " ", value: "保至60岁/65岁/70岁" }
], ],
bankInfo: [ bankInfo: [
{title: "工商银行", value: "101"}, {title: "工商银行", value: "0101"},
{title: "农业银行", value: "102"}, {title: "农业银行", value: "0102"},
{title: "中国银行", value: "103"}, {title: "中国银行", value: "0103"},
{title: "建设银行", value: "104"}, {title: "建设银行", value: "0104"},
{title: "招商银行", value: "115"}, {title: "招商银行", value: "0115"},
{title: "贵州银行", value: "105"}, {title: "贵州银行", value: "0105"},
{title: "兴业银行", value: "116"}, {title: "兴业银行", value: "0116"},
{title: "民生银行", value: "112"}, {title: "民生银行", value: "0112"},
{title: "邮政储蓄", value: "128"} {title: "邮政储蓄", value: "0128"}
], ],
planTipOptions: ["最高350万", "高风险职业可保", "免体检"], planTipOptions: ["最高350万", "高风险职业可保", "免体检"],
noticeCellInfo: [ noticeCellInfo: [
......
...@@ -38,9 +38,12 @@ export default { ...@@ -38,9 +38,12 @@ export default {
} }
}, },
watch: { watch: {
value(val) { value: {
this.radioVal = val || ""; immediate: true,
this.$emit(CHANGE_EVENT, val); handler(val) {
this.radioVal = val || "";
this.$emit(CHANGE_EVENT, val);
}
}, },
radioVal(val) { radioVal(val) {
this.$emit(CHANGE_EVENT, val); this.$emit(CHANGE_EVENT, val);
......
...@@ -612,10 +612,12 @@ export default { ...@@ -612,10 +612,12 @@ export default {
getParamFromSession() { getParamFromSession() {
const { amountInsured, policyPeriod, payPeriod, payType, productNo } = this.policyFormData; const { amountInsured, policyPeriod, payPeriod, payType, productNo } = this.policyFormData;
this.formData.productNo = productNo; this.formData.productNo = productNo;
this.formData.productItem = { if (amountInsured && policyPeriod && payPeriod && payType) {
...this.formData.productItem, this.formData.productItem = {
...{ amountInsured, policyPeriod, payPeriod, payType } ...this.formData.productItem,
}; ...{ amountInsured, policyPeriod, payPeriod, 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");
this.$forceUpdate(); this.$forceUpdate();
......
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