mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 04:36:44 +08:00
Merge branch 'feature/GFRS-2015【待确定】开门红需求-电投改造' into release/20201210
This commit is contained in:
@@ -270,6 +270,13 @@
|
||||
<span style="font-weight:bold" v-else>保额(元):</span>
|
||||
<span class="fee red" v-if="trialList && trialList.length > 0">{{ trialList[index].showPrem | moneyFormat }}</span>
|
||||
</div>
|
||||
<div class="flex justify-content-fs pv10 border-bottom prem align-items-c" v-if="item.isMainRisk == 0 && activeType == 'KMH' && isFrom != 'proposal'">
|
||||
<span>指定保单生效日</span>
|
||||
<van-radio-group v-model="activeRadio" class="pl20">
|
||||
<van-radio name="1" icon-size="1rem"></van-radio>
|
||||
</van-radio-group>
|
||||
<span class="pl5">2021年1月1日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-btn bg-white">
|
||||
<van-button type="danger" size="large" @click="nextStep" :disabled="nextStepFlag" v-no-more-click="1000">完成</van-button>
|
||||
@@ -281,7 +288,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { Tag, Icon, Dialog, ActionSheet, Popup, Picker, Stepper, Field, Checkbox } from 'vant'
|
||||
import { Tag, Icon, Dialog, ActionSheet, Popup, Picker, Stepper, Field, Checkbox, RadioGroup, Radio } from 'vant'
|
||||
import { trial } from '@/api/ebiz/common/common'
|
||||
import { saveOrUpdateOrderInfo, getOrderDetail } from '@/api/ebiz/sale/sale'
|
||||
import { saveProposal } from '@/api/ebiz/proposal/proposal.js'
|
||||
@@ -338,6 +345,8 @@ const DUTY_DEFAULT_MIN = 10000
|
||||
export default {
|
||||
name: 'calculatePremium',
|
||||
components: {
|
||||
[RadioGroup.name]: RadioGroup,
|
||||
[Radio.name]: Radio,
|
||||
[Tag.name]: Tag,
|
||||
[Icon.name]: Icon,
|
||||
[ActionSheet.name]: ActionSheet,
|
||||
@@ -350,6 +359,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeRadio: '1',
|
||||
activeType: localStorage.getItem('active_type'),
|
||||
chooseProducts: [],
|
||||
productIndex: '',
|
||||
calFactorIndex: '',
|
||||
@@ -1212,6 +1223,12 @@ export default {
|
||||
})
|
||||
this.setRemitRisk()
|
||||
let params = this.getParams()
|
||||
// 开门红产品试算增加标识
|
||||
if (this.activeType == 'KMH' && this.isFrom != 'proposal') {
|
||||
for (let product of params.trialInfos) {
|
||||
product.isKmh = '1'
|
||||
}
|
||||
}
|
||||
let resultData = await trial(params)
|
||||
|
||||
//试算成功,信息返显
|
||||
|
||||
Reference in New Issue
Block a user