mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 21:16:44 +08:00
建议书编辑状态删除主险添加提示语"编辑状态不可删除主险"
This commit is contained in:
@@ -1908,6 +1908,9 @@ export default {
|
|||||||
},
|
},
|
||||||
//删除所选产品
|
//删除所选产品
|
||||||
deleteRisk(index,data) {
|
deleteRisk(index,data) {
|
||||||
|
if (this.chooseProducts[index].isMainRisk == 0 && this.$route.query.insuanceIdInfo) {
|
||||||
|
this.$toast('编辑状态不可删除主险')
|
||||||
|
} else {
|
||||||
Dialog.confirm({
|
Dialog.confirm({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
message: '确认删除该险种?',
|
message: '确认删除该险种?',
|
||||||
@@ -2011,7 +2014,9 @@ export default {
|
|||||||
localStorage.chooseProducts = JSON.stringify(this.chooseProducts)
|
localStorage.chooseProducts = JSON.stringify(this.chooseProducts)
|
||||||
this.getTrial()
|
this.getTrial()
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//试算
|
//试算
|
||||||
async getTrial() {
|
async getTrial() {
|
||||||
|
|||||||
Reference in New Issue
Block a user