|
|
@ -8,7 +8,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-form ref="form_obj" :model="finance" class="formaddcopy02"> |
|
|
|
<div v-if="finance.isShowMore"> |
|
|
|
<div v-if="isShowMore"> |
|
|
|
<el-row style="border-top: 1px solid #E0E3EB"> |
|
|
|
<el-col :span="6"> |
|
|
|
<div class="span-sty">是否打包</div> |
|
|
@ -328,6 +328,7 @@ export default { |
|
|
|
dealWay_list: [], |
|
|
|
policy_list: [], |
|
|
|
other_list: [], |
|
|
|
isShowMore: false, |
|
|
|
finance: { |
|
|
|
accessoriesAmount: '', |
|
|
|
accessoriesAmountCb: false, |
|
|
@ -432,6 +433,7 @@ export default { |
|
|
|
this.init() |
|
|
|
this.modelSid = modelSid |
|
|
|
this.finance = JSON.parse(JSON.stringify(value)) |
|
|
|
this.isShowMore = this.finance.isShowMore |
|
|
|
this.orgPath = orgSidPath |
|
|
|
if (this.finance.isPack !== '' && this.finance.isPack !== null) { |
|
|
|
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack, modelSid: this.modelSid }).then((resp) => { |
|
|
@ -772,6 +774,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
this.submitdisabled = true |
|
|
|
if (this.isShowMore) { |
|
|
|
calculate(this.finance).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.submitdisabled = false |
|
|
@ -794,6 +797,7 @@ export default { |
|
|
|
this.finance.offsetTotal = resp.data.offsetTotal |
|
|
|
this.finance.realTotal = resp.data.realTotal |
|
|
|
this.finance.vehTotalPrice = resp.data.vehTotalPrice |
|
|
|
this.finance.isShowMore = this.isShowMore |
|
|
|
this.$emit('backData', this.finance) |
|
|
|
this.handleColse() |
|
|
|
} else { |
|
|
@ -802,6 +806,11 @@ export default { |
|
|
|
}).catch(() => { |
|
|
|
this.submitdisabled = false |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$emit('backData', this.finance) |
|
|
|
this.submitdisabled = false |
|
|
|
this.handleColse() |
|
|
|
} |
|
|
|
}, |
|
|
|
handleColse() { |
|
|
|
this.finance = { |
|
|
@ -877,6 +886,7 @@ export default { |
|
|
|
} |
|
|
|
this.orgPath = '' |
|
|
|
this.modelSid = '' |
|
|
|
this.isShowMore = false |
|
|
|
this.$emit('doback') |
|
|
|
} |
|
|
|
} |
|
|
|