Commit 749dfbc4 authored by 郭志伟's avatar 郭志伟

fix: 华贵试算

parent 045101e1
...@@ -167,12 +167,12 @@ export default { ...@@ -167,12 +167,12 @@ 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 (
!relation && !relation ||
idNoWho && (idNoWho &&
idNoWho.indexOf("************") === -1 && idNoWho.indexOf("************") === -1 &&
!isIdNo(idNoWho) && !isIdNo(idNoWho) &&
idNoWho === oldidNoWho && idNoWho === oldidNoWho &&
amountInsured === oldamountInsured amountInsured === oldamountInsured)
) { ) {
return; return;
} }
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
let idNoWho = !relation || relation === "1" ? selfIdNo : idNo; let idNoWho = !relation || relation === "1" ? selfIdNo : idNo;
let idWho = !relation || relation === "1" ? selfSecId : userInfoSecId; let idWho = !relation || relation === "1" ? selfSecId : userInfoSecId;
idWho = idNoWho.indexOf("**") > -1 ? idWho || undefined : undefined; idWho = idNoWho.indexOf("**") > -1 ? idWho || undefined : undefined;
if (!idNoWho || !amountInsured) return; if (!idNoWho && !amountInsured) return;
const _param = { const _param = {
productNo: this.goodId, productNo: this.goodId,
productUserInfo: { productUserInfo: {
......
...@@ -102,7 +102,9 @@ export default { ...@@ -102,7 +102,9 @@ export default {
} }
break; break;
case 3: case 3:
if (a === 2 && +p !== 3) { if (a === 2 && +p === 6) {
item.disabled = false;
} else if (a === 2 && +p !== 3) {
item.disabled = true; item.disabled = true;
} else { } else {
item.disabled = item.disabled =
......
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