|
@@ -1479,7 +1479,8 @@
|
|
|
订单状态:已核保待缴费
|
|
订单状态:已核保待缴费
|
|
|
</div>
|
|
</div>
|
|
|
<template #footer>
|
|
<template #footer>
|
|
|
- <el-button size="small" type="primary" @click="handlePayment(quoteData[underwritingIndex]?.quoteResult.ordersNo)">缴费二维码</el-button>
|
|
|
|
|
|
|
+ <el-button size="small" type="primary"
|
|
|
|
|
+ @click="handlePayment(quoteData[underwritingIndex]?.quoteResult.ordersNo)">缴费二维码</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
<el-dialog :close-on-click-modal="false" v-model="payCodeShow" title="支付码" width="400">
|
|
<el-dialog :close-on-click-modal="false" v-model="payCodeShow" title="支付码" width="400">
|
|
@@ -3097,21 +3098,15 @@ const handleUnderwriting = (scope: any) => {
|
|
|
}
|
|
}
|
|
|
api.insurancePolicyApi.imagesUpload(data).then((res: any) => {
|
|
api.insurancePolicyApi.imagesUpload(data).then((res: any) => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
- scope.row.loading = false
|
|
|
|
|
- isUnderwriting.value = false
|
|
|
|
|
underwritingShow.value = true
|
|
underwritingShow.value = true
|
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
|
UnderwritingRefs.value.initEdit(data)
|
|
UnderwritingRefs.value.initEdit(data)
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
- } else {
|
|
|
|
|
- scope.row.loading = false
|
|
|
|
|
- isUnderwriting.value = false
|
|
|
|
|
- ElMessage({
|
|
|
|
|
- message: res.msg,
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- })
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ }).finally(() => {
|
|
|
|
|
+ scope.row.loading = false;
|
|
|
|
|
+ isUnderwriting.value = false
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
const historyhandleUnderwriting = (ordersNo: String, scope: any) => {
|
|
const historyhandleUnderwriting = (ordersNo: String, scope: any) => {
|
|
@@ -3127,19 +3122,12 @@ const historyhandleUnderwriting = (ordersNo: String, scope: any) => {
|
|
|
}
|
|
}
|
|
|
api.insurancePolicyApi.imagesUpload(data).then((res: any) => {
|
|
api.insurancePolicyApi.imagesUpload(data).then((res: any) => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
- scope.row.loading = false
|
|
|
|
|
underwritingShow.value = true
|
|
underwritingShow.value = true
|
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
|
UnderwritingRefs.value.initEdit(data)
|
|
UnderwritingRefs.value.initEdit(data)
|
|
|
})
|
|
})
|
|
|
- } else {
|
|
|
|
|
- scope.row.loading = false
|
|
|
|
|
- ElMessage({
|
|
|
|
|
- message: res.msg,
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- })
|
|
|
|
|
}
|
|
}
|
|
|
- })
|
|
|
|
|
|
|
+ }).finally(() => scope.row.loading = false)
|
|
|
}
|
|
}
|
|
|
let underwritingMsgShow = ref(false)
|
|
let underwritingMsgShow = ref(false)
|
|
|
|
|
|
|
@@ -3366,11 +3354,6 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
}
|
|
}
|
|
|
return val;
|
|
return val;
|
|
|
})
|
|
})
|
|
|
- } else {
|
|
|
|
|
- ElMessage({
|
|
|
|
|
- message: res.msg,
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- })
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -4132,10 +4115,12 @@ onMounted(() => {
|
|
|
.payCodeInfo {
|
|
.payCodeInfo {
|
|
|
.ORtitle>div {
|
|
.ORtitle>div {
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
|
|
+
|
|
|
:first-child {
|
|
:first-child {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
:last-child {
|
|
:last-child {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #333;
|
|
color: #333;
|