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

fix: 试算

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