Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 359641d3
authored
Dec 25, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
保险定损金额
1 parent
8e02f3b3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
5 deletions
src/views/GH/Renew/detail.vue
src/views/claims/components/check/index.vue
src/views/claims/components/checkClaims/index.vue
src/views/claims/components/repair.vue
src/views/claims/ghOrder.vue
src/views/claims/order.vue
src/views/GH/Renew/detail.vue
View file @
359641d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div>
<div>
<report
:key=
"comKey"
:renewDisable=
"orderStatus != 0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
:key=
"comKey"
:renewDisable=
"orderStatus != 0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
:renewDisable=
"orderStatus != 0"
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
:renewDisable=
"orderStatus != 0"
ref=
"repairRef"
:isXB=
"true"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
:renewDisable=
"orderStatus != 0"
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
:renewDisable=
"orderStatus != 0"
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<!-- 案件说明 -->
<!-- 案件说明 -->
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
...
...
src/views/claims/components/check/index.vue
View file @
359641d
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</div>
</div>
<div
v-if=
"item.lossAssessmentFlag"
style=
"margin-top: 10px;"
>
<div
v-if=
"item.lossAssessmentFlag"
style=
"margin-top: 10px;"
>
<label
class=
"required"
for=
""
>
保险公司定损金额/元:
</label>
<label
class=
"required"
for=
""
>
保险公司定损金额/元:
</label>
<el-input
maxlength=
"10"
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
placeholder=
"请输入保险定损金额"
v-model=
"item.lossAssessmentAmount"
></el-input>
<el-input
:disabled=
"!item.applyAmount"
maxlength=
"10"
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
placeholder=
"请输入保险定损金额"
v-model=
"item.lossAssessmentAmount"
></el-input>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/claims/components/checkClaims/index.vue
View file @
359641d
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<div
class=
"ms_lab"
>
预估损失金额/元:
</div>
<div
class=
"ms_lab"
>
预估损失金额/元:
</div>
<el-input
@
input=
"validPrice($event, index, 'applyAmount')"
@
blur=
"changePrice($event, index, 'applyAmount')"
v-model=
"item.applyAmount"
size=
"mini"
class=
"w432"
maxlength=
"10"
></el-input>
<el-input
@
input=
"validPrice($event, index, 'applyAmount')"
@
blur=
"changePrice($event, index, 'applyAmount')"
v-model=
"item.applyAmount"
size=
"mini"
class=
"w432"
maxlength=
"10"
></el-input>
</div>
</div>
<div
v-if=
"item.lossAssessmentFlag"
class=
"ms flex_sc"
>
<div
v-if=
"item.lossAssessmentFlag"
class=
"m
a20 m
s flex_sc"
>
<div
class=
"ms_lab"
>
保险公司定损金额/元:
</div>
<div
class=
"ms_lab"
>
保险公司定损金额/元:
</div>
<el-input
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
v-model=
"item.lossAssessmentAmount"
size=
"mini"
class=
"w432"
maxlength=
"10"
></el-input>
<el-input
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
v-model=
"item.lossAssessmentAmount"
size=
"mini"
class=
"w432"
maxlength=
"10"
></el-input>
</div>
</div>
...
...
src/views/claims/components/repair.vue
View file @
359641d
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
<label
class=
"label"
for=
""
>
定损批准金额:
</label>
<label
class=
"label"
for=
""
>
定损批准金额:
</label>
<el-input
:disabled=
"pageType == 2 || renewDisable"
maxlength=
"10"
@
input=
"validPrice($event, index, 'approveAmount')"
@
blur=
"changePrice($event, index, 'approveAmount')"
placeholder=
"请输入"
v-model=
"item.approveAmount"
></el-input>
<el-input
:disabled=
"pageType == 2 || renewDisable"
maxlength=
"10"
@
input=
"validPrice($event, index, 'approveAmount')"
@
blur=
"changePrice($event, index, 'approveAmount')"
placeholder=
"请输入"
v-model=
"item.approveAmount"
></el-input>
</div>
</div>
<div
v-if=
"item.lossAssessmentFlag"
class=
"price-wrap"
>
<div
v-if=
"
!isGH &&
item.lossAssessmentFlag"
class=
"price-wrap"
>
<label
class=
"label"
for=
""
>
保险公司定损金额:
</label>
<label
class=
"label"
for=
""
>
保险公司定损金额:
</label>
<el-input
:disabled=
"pageType == 2 || renewDisable"
maxlength=
"10"
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
placeholder=
"请输入"
v-model=
"item.lossAssessmentAmount"
></el-input>
<el-input
:disabled=
"pageType == 2 || renewDisable
|| !item.approveAmount
"
maxlength=
"10"
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
placeholder=
"请输入"
v-model=
"item.lossAssessmentAmount"
></el-input>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -73,6 +73,7 @@ export default {
...
@@ -73,6 +73,7 @@ export default {
serviceItemsList
:
Array
,
serviceItemsList
:
Array
,
totalPrice
:
Number
,
totalPrice
:
Number
,
isGH
:
Boolean
,
isGH
:
Boolean
,
isXB
:
Boolean
,
pageType
:
{
pageType
:
{
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
...
...
src/views/claims/ghOrder.vue
View file @
359641d
...
@@ -405,6 +405,8 @@ export default {
...
@@ -405,6 +405,8 @@ export default {
// 通过订单
// 通过订单
toPassOrder
()
{
toPassOrder
()
{
this
.
isSave
=
false
this
.
isSave
=
false
const
_target
=
this
.
itemList
?.
find
(
item
=>
item
.
applyAmount
&&
item
.
lossAssessmentFlag
&&
!
item
.
lossAssessmentAmount
)
if
(
_target
)
return
this
.
$message
.
error
(
`请输入
${
_target
.
serviceItemName
}
的保险公司定损金额`
)
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
const
isPass
=
this
.
verifyImages
(
this
.
claimsAttachmentConfigs
)
const
isPass
=
this
.
verifyImages
(
this
.
claimsAttachmentConfigs
)
if
(
!
isPass
)
{
if
(
!
isPass
)
{
...
...
src/views/claims/order.vue
View file @
359641d
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<span>
核赔不通过:
{{
noPassMap
[
reasonForFailureCode
]
}}
,
{{
reasonForFailure
}}
</span>
<span>
核赔不通过:
{{
noPassMap
[
reasonForFailureCode
]
}}
,
{{
reasonForFailure
}}
</span>
</div>
</div>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<!-- 维修信息 -->
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<wraning
:isWatchOrder=
"isWatchOrder"
@
getWarningData=
"getWarningData"
v-if=
"accountMatchResultList.length && detailOrderStatus != 2"
:list=
"accountMatchResultList"
></wraning>
<wraning
:isWatchOrder=
"isWatchOrder"
@
getWarningData=
"getWarningData"
v-if=
"accountMatchResultList.length && detailOrderStatus != 2"
:list=
"accountMatchResultList"
></wraning>
...
@@ -288,6 +289,8 @@ export default {
...
@@ -288,6 +289,8 @@ export default {
this
.
showNoPassDialog
=
true
this
.
showNoPassDialog
=
true
this
.
noPass_operation
=
operation
this
.
noPass_operation
=
operation
}
else
{
}
else
{
const
_target
=
this
.
serviceItemsList
?.
find
(
item
=>
item
.
approveAmount
&&
item
.
lossAssessmentFlag
&&
!
item
.
lossAssessmentAmount
)
if
(
_target
)
return
this
.
$message
.
error
(
`请输入
${
_target
.
serviceItemName
}
的保险公司定损金额`
)
this
.
toCheckOrder
(
operation
)
this
.
toCheckOrder
(
operation
)
}
}
},
},
...
@@ -485,15 +488,24 @@ export default {
...
@@ -485,15 +488,24 @@ export default {
})
})
if
(
!
valid
)
return
valid
if
(
!
valid
)
return
valid
let
requirePrice
=
true
let
requirePrice
=
true
let
lossAssTipItem
=
null
this
.
serviceItemsList
.
forEach
(
item
=>
{
this
.
serviceItemsList
.
forEach
(
item
=>
{
if
(
item
.
approveAmount
>
0
)
{
if
(
item
.
approveAmount
>
0
)
{
requirePrice
=
false
requirePrice
=
false
}
}
if
(
item
.
approveAmount
&&
item
.
lossAssessmentFlag
&&
!
item
.
lossAssessmentAmount
)
{
lossAssTipItem
=
item
}
})
})
console
.
log
(
lossAssTipItem
,
'lossAssTipItem'
)
if
(
requirePrice
)
{
if
(
requirePrice
)
{
this
.
$message
.
error
(
'至少输入一项服务的定损批准金额'
)
this
.
$message
.
error
(
'至少输入一项服务的定损批准金额'
)
return
false
return
false
}
}
if
(
lossAssTipItem
)
{
this
.
$message
.
error
(
`请输入
${
lossAssTipItem
.
serviceItemName
}
的保险公司定损金额`
)
return
false
}
let
fileTip
=
false
let
fileTip
=
false
for
(
let
key
in
this
.
materialForm
)
{
for
(
let
key
in
this
.
materialForm
)
{
if
(
this
.
materialForm
[
key
].
length
<
1
&&
!
fileTip
)
{
if
(
this
.
materialForm
[
key
].
length
<
1
&&
!
fileTip
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment