建议书编辑功能修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-06-30 11:52:14 +08:00
parent bea756a350
commit f08e9d5dbe

View File

@@ -685,9 +685,8 @@ export default {
this.activeType = detailPromise.orderDTO.orderInfoDTO.activeType this.activeType = detailPromise.orderDTO.orderInfoDTO.activeType
} }
this.cvalidateFlag = this.activeType && this.isFrom != 'proposal' this.cvalidateFlag = this.activeType && this.isFrom != 'proposal'
//构建提交数据、渲染险种 //构建提交数据、渲染险种
if(this.$route.query.insuanceIdInfo && this.isFrom == 'proposal' && !localStorage.editproposaladdrisk){ if(this.$route.query.insuanceIdInfo && this.isFrom == 'proposal'){
// 获取试算记录详情 // 获取试算记录详情
let serialNo = '' let serialNo = ''
if (this.$route.query.orderNo) { if (this.$route.query.orderNo) {
@@ -715,7 +714,6 @@ export default {
}) })
}else{ }else{
this.chooseProducts = JSON.parse(localStorage.chooseProducts) this.chooseProducts = JSON.parse(localStorage.chooseProducts)
localStorage.editproposaladdrisk = false
} }
this.chooseProducts.forEach((item, index) => { this.chooseProducts.forEach((item, index) => {
if (item.isCrossChannel == '1') { if (item.isCrossChannel == '1') {
@@ -2376,7 +2374,6 @@ export default {
} else if (this.$route.query.proposalOrderNo) { } else if (this.$route.query.proposalOrderNo) {
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
} }
localStorage.editproposaladdrisk = true
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
@@ -2891,7 +2888,6 @@ export default {
} }
if (resultData.result == 0) { if (resultData.result == 0) {
localStorage.editproposaladdrisk = false
//电投 //电投
if (isFrom != 'orderTrial' && localStorage.isFrom == 'sale') { if (isFrom != 'orderTrial' && localStorage.isFrom == 'sale') {
if (resultData.deleteFlag == '0') { if (resultData.deleteFlag == '0') {