Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
dab03bc9
Commit
dab03bc9
authored
Jun 12, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
7f7897ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
src/views/order/pod/index.vue
+18
-1
No files found.
src/views/order/pod/index.vue
View file @
dab03bc9
...
@@ -1372,6 +1372,7 @@ const saveCompleteShipment = async () => {
...
@@ -1372,6 +1372,7 @@ const saveCompleteShipment = async () => {
const
CardOrderList
=
ref
<
(
PodProductList
|
CardOrderData
)[]
>
([])
const
CardOrderList
=
ref
<
(
PodProductList
|
CardOrderData
)[]
>
([])
const
loadCardList
=
async
()
=>
{
const
loadCardList
=
async
()
=>
{
loading
.
value
=
true
try
{
try
{
const
res
=
await
getCardOrderList
(
const
res
=
await
getCardOrderList
(
{
{
...
@@ -1410,7 +1411,17 @@ const loadCardList = async () => {
...
@@ -1410,7 +1411,17 @@ const loadCardList = async () => {
item
.
images
=
images
item
.
images
=
images
}
else
{
}
else
{
if
(
item
.
imageAry
)
{
if
(
item
.
imageAry
)
{
const
images
=
JSON
.
parse
(
item
.
imageAry
as
string
)
console
.
log
(
item
.
imageAry
)
let
images
if
(
typeof
item
.
imageAry
===
'string'
&&
item
.
imageAry
.
startsWith
(
'https'
)
)
{
images
=
[]
}
else
{
images
=
JSON
.
parse
(
item
.
imageAry
as
string
)
}
if
(
Array
.
isArray
(
images
))
{
if
(
Array
.
isArray
(
images
))
{
item
.
images
=
images
.
map
((
e
:
imageAryInter
)
=>
{
item
.
images
=
images
.
map
((
e
:
imageAryInter
)
=>
{
return
{
return
{
...
@@ -1426,10 +1437,14 @@ const loadCardList = async () => {
...
@@ -1426,10 +1437,14 @@ const loadCardList = async () => {
}
)
}
)
total
.
value
=
res
.
data
.
total
total
.
value
=
res
.
data
.
total
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
)
// showError(error)
// showError(error)
}
finally
{
loading
.
value
=
false
}
}
}
}
const
loadOrderList
=
async
()
=>
{
const
loadOrderList
=
async
()
=>
{
loading
.
value
=
true
try
{
try
{
const
res
=
await
getOrderList
(
const
res
=
await
getOrderList
(
{
{
...
@@ -1452,6 +1467,8 @@ const loadOrderList = async () => {
...
@@ -1452,6 +1467,8 @@ const loadOrderList = async () => {
total
.
value
=
res
.
data
.
total
total
.
value
=
res
.
data
.
total
}
catch
(
error
)
{
}
catch
(
error
)
{
// showError(error)
// showError(error)
}
finally
{
loading
.
value
=
false
}
}
}
}
const
currentImage
=
ref
(
''
)
const
currentImage
=
ref
(
''
)
...
...
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