mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 17:36:44 +08:00
提交意外伤害险种代码
This commit is contained in:
@@ -50,6 +50,46 @@
|
|||||||
@click="toSelect(index, riskFactorIndex, riskFactor.columns)"
|
@click="toSelect(index, riskFactorIndex, riskFactor.columns)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="border-bottom" v-if="riskFactor.type == 3">
|
||||||
|
<div class="pv12 border-bd">{{ riskFactor.name }}</div>
|
||||||
|
<div class="duty">
|
||||||
|
<div
|
||||||
|
class="flex justify-content-s border-bd pv10 align-items-c"
|
||||||
|
v-for="(dutyItem, dutyItemIndex) in riskFactor.rules"
|
||||||
|
:key="dutyItemIndex"
|
||||||
|
>
|
||||||
|
<span class="fs14">{{ dutyItem.dutyName }}({{ dutyItem.suffix }})</span>
|
||||||
|
<div class="flex">
|
||||||
|
<van-stepper
|
||||||
|
v-model="dutyItem.defaultDutyAmt"
|
||||||
|
:min="dutyItem.minDutyAmt"
|
||||||
|
:max="dutyItem.maxDutyAmt"
|
||||||
|
class="ml10 mr10"
|
||||||
|
@focus="focusStep"
|
||||||
|
@blur="blurStep"
|
||||||
|
@change="
|
||||||
|
dutyStepperChange(
|
||||||
|
item.calFactorLst[riskFactorIndex].rules[dutyItemIndex].defaultDutyAmt,
|
||||||
|
index,
|
||||||
|
riskFactorIndex,
|
||||||
|
dutyItemIndex,
|
||||||
|
dutyItem.checked,
|
||||||
|
dutyItem.minDutyAmt,
|
||||||
|
dutyItem.maxDutyAmt
|
||||||
|
)
|
||||||
|
"
|
||||||
|
input-width="100"
|
||||||
|
:integer="true"
|
||||||
|
/>
|
||||||
|
<van-checkbox
|
||||||
|
v-model="dutyItem.checked"
|
||||||
|
shape="square"
|
||||||
|
@change="changeChecked(index, riskFactorIndex, dutyItemIndex)"
|
||||||
|
></van-checkbox>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 豁免险条件 -->
|
<!-- 豁免险条件 -->
|
||||||
@@ -530,6 +570,17 @@ export default {
|
|||||||
}
|
}
|
||||||
} else if (factor.type == 2) {
|
} else if (factor.type == 2) {
|
||||||
trialInfo[factor.extra] = this.saleInsuredPersonInfo[factor.code]
|
trialInfo[factor.extra] = this.saleInsuredPersonInfo[factor.code]
|
||||||
|
} else if (factor.type == 3) {
|
||||||
|
let result = []
|
||||||
|
factor.rules.forEach(dutyItem => {
|
||||||
|
if (dutyItem.checked) {
|
||||||
|
result.push({
|
||||||
|
amt: dutyItem.amt,
|
||||||
|
dutyCode: dutyItem.duty
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
trialInfo.duty = result
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//通用规则1:交费方式为一次交情,无交费期限
|
//通用规则1:交费方式为一次交情,无交费期限
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
v-validate="'required|name'"
|
v-validate="'required|name'"
|
||||||
name="姓名"
|
name="姓名"
|
||||||
label="姓名"
|
label="姓名"
|
||||||
|
required
|
||||||
:parentShowPicker.sync="customerShowPicker"
|
:parentShowPicker.sync="customerShowPicker"
|
||||||
:value.sync="userInfo.name"
|
:value.sync="userInfo.name"
|
||||||
@nameChange="nameChange"
|
@nameChange="nameChange"
|
||||||
|
|||||||
Reference in New Issue
Block a user