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

fix: 试算

parent 749dfbc4
......@@ -227,12 +227,13 @@ export default {
sessionStorage.setItem("policyFormData", JSON.stringify(subFormDataCache));
}
if (
idNoWho &&
idNoWho.indexOf("************") === -1 &&
!isIdNo(idNoWho) &&
idNoWho === oldidNoWho &&
payType === oldpayType &&
amountInsured === oldamountInsured
!relation ||
(idNoWho &&
idNoWho.indexOf("************") === -1 &&
!isIdNo(idNoWho) &&
idNoWho === oldidNoWho &&
payType === oldpayType &&
amountInsured === oldamountInsured)
)
return;
this.calTimer = setTimeout(() => {
......
......@@ -176,10 +176,11 @@ export default {
let idNoWho = !relation || relation === "1" ? selfIdNo : idNo;
let oldidNoWho = !relation || relation === "1" ? oldselfIdNo : oldidNo;
if (
idNoWho &&
idNoWho.indexOf("************") === -1 &&
!isIdNo(idNoWho) &&
idNoWho === oldidNoWho
!relation ||
(idNoWho &&
idNoWho.indexOf("************") === -1 &&
!isIdNo(idNoWho) &&
idNoWho === oldidNoWho)
)
return;
this.calTimer = setTimeout(() => {
......
......@@ -102,7 +102,7 @@ export default {
}
break;
case 3:
if (a === 2 && +p === 6) {
if (a === 2 && (+p === 6 || +p === 3)) {
item.disabled = false;
} else if (a === 2 && +p !== 3) {
item.disabled = true;
......
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