From fd6d3138d911e919327be0ec19d147091ade5ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= Date: Mon, 16 Mar 2020 11:40:24 +0800 Subject: [PATCH] =?UTF-8?q?GFRS-729=E3=80=900326=E3=80=91=E5=9B=BD?= =?UTF-8?q?=E5=AF=8C=E4=BA=BA=E5=AF=BF=E5=9B=BD=E5=AF=8C=E6=B0=91=E5=AE=89?= =?UTF-8?q?=E9=87=8D=E5=A4=A7=E7=96=BE=E7=97=85=E4=BF=9D=E9=99=A9=EF=BC=88?= =?UTF-8?q?2020=E7=89=88=EF=BC=89=5F1=20=E8=B4=A3=E4=BB=BB=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=81=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B=20--?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/utils/data-dictionary.js | 36 +++++++++++----------- src/views/ebiz/common/CalculatePremium.vue | 3 ++ 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index 9e97c9471..88014c8e5 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -165,19 +165,19 @@ export default { id: 6, text: '台湾居民来往大陆通行证' }, - { + /* { id: 7, text: '其他', disabled: true + }*/ + { + id: 8, + text: '外国人永久居留身份证' + }, + { + id: 9, + text: '港澳台居民居住证' } - // { - // id: 8, - // text: '外国人永久居留身份证' - // }, - // { - // id: 9, - // text: '港澳台居民居住证' - // } ], //投保人证件类型 insuredIdType: [ @@ -207,19 +207,19 @@ export default { id: 6, text: '台湾居民来往大陆通行证' }, - { + /* { id: 7, text: '其他', disabled: true + }*/ + { + id: 8, + text: '外国人永久居留身份证' + }, + { + id: 9, + text: '港澳台居民居住证' } - // { - // id: 8, - // text: '外国人永久居留身份证' - // }, - // { - // id: 9, - // text: '港澳台居民居住证' - // } ], //出生证明 birthType: [ diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 0e82a0c32..18fe1eefd 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -692,6 +692,9 @@ export default { }, //险种 GFRS_A0004 险种验证规则 valiA0004Duty(value, showHint, currentEle) { + if (!currentEle.necess) { + return true + } // 验证其他 最小50 其他为50 10 倍数 if (currentEle.duty == '320206' || currentEle.duty == '320207') { let numberValue = Number(value)