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 1d603b67
authored
Sep 21, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加状态判断
1 parent
c94fb031
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/views/claims/ghOrder.vue
src/views/claims/ghOrder.vue
View file @
1d603b6
...
...
@@ -402,7 +402,7 @@ export default {
// 通过订单
toPassOrder
()
{
this
.
isSave
=
false
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
)
{
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
const
isPass
=
this
.
verifyImages
(
this
.
claimsAttachmentConfigs
)
if
(
!
isPass
)
{
this
.
$message
({
...
...
@@ -599,7 +599,7 @@ export default {
// 案件补充说明
handlerExplain
()
{
let
obj
=
{}
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
)
{
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
this
.
repotData
.
supplementList2
.
forEach
((
item
,
index
)
=>
{
let
idx
=
`supplementList2[
${
index
}
].id`
let
claimsId
=
`supplementList2[
${
index
}
].claimsId`
...
...
@@ -639,7 +639,7 @@ export default {
hanlerImg
()
{
let
imgs
=
[]
let
serviceImgs
=
[]
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
)
{
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
this
.
claimsAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
firstClassifyName
.
indexOf
(
'其他'
)
!=
-
1
)
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
...
...
@@ -690,7 +690,7 @@ export default {
imgs
=
[...
serviceImgs
,
...
imgs
]
}
let
obj
=
{}
let
type
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
?
2
:
1
let
type
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
?
2
:
1
imgs
.
forEach
((
item
,
index
)
=>
{
let
idx
=
`attachments
${
type
}
[
${
index
}
].id`
let
claimsId
=
`attachments
${
type
}
[
${
index
}
].claimsId`
...
...
@@ -790,13 +790,13 @@ export default {
writeOffCode
:
this
.
repotData
.
writeOffCode
,
...
imgObj
}
return
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
?
claims
:
para
return
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
?
claims
:
para
},
// 保存订单
toSaveOrder
()
{
this
.
isSave
=
true
let
para
=
this
.
savePara
()
const
name
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
||
this
.
orderMsg
.
status
==
26
?
'saveClaimsCG'
:
'saveCG'
const
name
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
?
'saveClaimsCG'
:
'saveCG'
let
loading
=
this
.
createLoading
()
this
.
$apis
.
claims
[
name
](
para
).
then
(
res
=>
{
loading
.
close
()
...
...
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