修改遗留BUG

This commit is contained in:
zhouna
2019-10-15 12:42:36 +08:00
parent e361bdffd5
commit e37b88ccfa

View File

@@ -14,7 +14,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item.text}户主页` : `${item.text}正面`" disabled />
</van-cell-group>
<div @click="test('', saleInsuredInfo.idType)" class="flex align-items-e">
<div @click="test('fileListIdFront', saleInsuredInfo.idType)" class="flex align-items-e">
<van-uploader
name="fileListIdFront"
v-model="fileListIdFront"
@@ -199,7 +199,7 @@
</div>
</div>
<!-- 受益人类型 -->
<div v-if="typebeneficiary==true">
<div v-if="typebeneficiary == true">
<div class="flex bg-white p10 align-items-c">
<span>受益人附件</span>
</div>
@@ -974,10 +974,10 @@ export default {
// 1.趸交保费≥20万元或期交保费*总期数≥20万元时
// 2.指定受益人
// 3.受益人与被保人关系为其他
if ((!window.localStorage.getItem('trialList') == true) || (!window.localStorage.getItem('beneficiaryInfo') == true)) {
if (!window.localStorage.getItem('trialList') == true || !window.localStorage.getItem('beneficiaryInfo') == true) {
return false
} else {
let beneficiaryInfoList = JSON.parse(window.localStorage.getItem('beneficiaryInfo'))
let beneficiaryInfoList = JSON.parse(window.localStorage.getItem('beneficiaryInfo'))
if (JSON.parse(window.localStorage.getItem('trialList'))[0].prem >= 100000) {
for (let index = 0; index < beneficiaryInfoList.length; index++) {
if (beneficiaryInfoList[index].relationToInsured == 5) {