|
@@ -1103,7 +1103,7 @@
|
|
|
<span style="display: flex; align-items: center; color: #FF4545;"><el-icon class="mr-2">
|
|
<span style="display: flex; align-items: center; color: #FF4545;"><el-icon class="mr-2">
|
|
|
<WarningFilled size="14" color="#FF4545" />
|
|
<WarningFilled size="14" color="#FF4545" />
|
|
|
</el-icon>核保失败</span>
|
|
</el-icon>核保失败</span>
|
|
|
- <el-popover title="提示" :width="300" raw-content placement="bottom-end">
|
|
|
|
|
|
|
+ <el-popover title="提示" :width="500" raw-content placement="bottom">
|
|
|
<template #default>
|
|
<template #default>
|
|
|
<span v-html="scope.row.underwritingMsg.replace(/\n/g, '<br>')"></span>
|
|
<span v-html="scope.row.underwritingMsg.replace(/\n/g, '<br>')"></span>
|
|
|
</template>
|
|
</template>
|
|
@@ -1456,6 +1456,7 @@ const router = useRouter() // 路由器实例
|
|
|
* @returns 格式化后的日期字符串
|
|
* @returns 格式化后的日期字符串
|
|
|
*/
|
|
*/
|
|
|
const changeDate = (e: any) => {
|
|
const changeDate = (e: any) => {
|
|
|
|
|
+
|
|
|
return dayjs(e.target.value).format('YYYY-MM-DD')
|
|
return dayjs(e.target.value).format('YYYY-MM-DD')
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -3129,6 +3130,15 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
InsurancePolicyRefs?.resetFields()
|
|
InsurancePolicyRefs?.resetFields()
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ if (!insurancePolicyForm.value.salesman) {
|
|
|
|
|
+ ElMessage({
|
|
|
|
|
+ message: '业务员必选',
|
|
|
|
|
+ type: 'warning'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log(insurancePolicyForm.value)
|
|
|
|
|
+ // return
|
|
|
await InsurancePolicyRefs.validate((valid: any) => {
|
|
await InsurancePolicyRefs.validate((valid: any) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
// 设置当前报价项的加载状态
|
|
// 设置当前报价项的加载状态
|
|
@@ -3224,6 +3234,7 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
let data = {
|
|
let data = {
|
|
|
systemType: '2',
|
|
systemType: '2',
|
|
|
order: {
|
|
order: {
|
|
|
|
|
+ realQuoteUserId: insurancePolicyForm.value.mobile,
|
|
|
insuranceCompanyCode: quoteData.value[scope.$index].id, // 保险公司代码
|
|
insuranceCompanyCode: quoteData.value[scope.$index].id, // 保险公司代码
|
|
|
quoteNo: insurancePolicyForm.value.order.quoteNo, // 报价单号
|
|
quoteNo: insurancePolicyForm.value.order.quoteNo, // 报价单号
|
|
|
agreementId: quoteData.value[scope.$index].isDispatch ? quoteData.value[scope.$index].dispatchAgreementId : quoteData.value[scope.$index].agreement, // 协议ID
|
|
agreementId: quoteData.value[scope.$index].isDispatch ? quoteData.value[scope.$index].dispatchAgreementId : quoteData.value[scope.$index].agreement, // 协议ID
|