Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
22be9d25
Commit
22be9d25
authored
Apr 15, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外国人身份证bug处理
parent
0179279e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+18
-3
No files found.
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
View file @
22be9d25
...
...
@@ -904,8 +904,16 @@ export default {
}
})
}
}
else
{
//有可能部分产品没有配置credential,但是接口数据进行了变化,还是需要重新组装数据
item
.
contactTotal
.
forEach
(
item2
=>
{
if
(
item2
.
contactVos
.
length
>
0
){
item2
.
id
=
item2
.
contactVos
[
0
].
id
item2
.
credentialNumber
=
item2
.
contactVos
[
0
].
credentialNumber
item2
.
credentialType
=
item2
.
contactVos
[
0
].
credentialType
}
})
}
//数据不出现问题
this
.
$forceUpdate
()
})
...
...
@@ -961,12 +969,19 @@ export default {
}
})
}
}
else
{
//有可能部分产品没有配置credential,但是接口数据进行了变化,还是需要重新组装数据
item
.
contactTotal
.
forEach
(
item2
=>
{
if
(
item2
.
contactVos
.
length
>
0
){
item2
.
id
=
item2
.
contactVos
[
0
].
id
item2
.
credentialNumber
=
item2
.
contactVos
[
0
].
credentialNumber
item2
.
credentialType
=
item2
.
contactVos
[
0
].
credentialType
}
})
}
//数据不出现问题
this
.
$forceUpdate
()
})
}
else
{
uni
.
showToast
({
title
:
res
.
message
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment