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
63cb141f
Commit
63cb141f
authored
Sep 10, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: pod发货优化
parent
1d7eda61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/views/order/hook/usePodShipment.ts
+4
-2
src/views/order/pod/index.vue
+1
-2
No files found.
src/views/order/hook/usePodShipment.ts
View file @
63cb141f
...
@@ -48,6 +48,10 @@ export default function useShipment(callback?: () => void) {
...
@@ -48,6 +48,10 @@ export default function useShipment(callback?: () => void) {
offset
:
window
.
innerHeight
/
2
,
offset
:
window
.
innerHeight
/
2
,
})
})
}
}
if
(
!
orderList
.
value
.
length
)
{
await
getPackingData
(
code
)
}
let
rowData
let
rowData
const
code1
=
code
?.
split
(
'_'
)[
3
]
const
code1
=
code
?.
split
(
'_'
)[
3
]
const
code2
=
code
?.
split
(
'_'
)[
0
]
const
code2
=
code
?.
split
(
'_'
)[
0
]
...
@@ -102,8 +106,6 @@ export default function useShipment(callback?: () => void) {
...
@@ -102,8 +106,6 @@ export default function useShipment(callback?: () => void) {
rowEl
.
scrollIntoView
()
rowEl
.
scrollIntoView
()
}
}
}
else
{
getPackingData
(
code
)
}
}
}
}
const
getPackingData
=
async
(
code
:
string
)
=>
{
const
getPackingData
=
async
(
code
:
string
)
=>
{
...
...
src/views/order/pod/index.vue
View file @
63cb141f
...
@@ -1622,7 +1622,7 @@ const saveCompleteShipment = async () => {
...
@@ -1622,7 +1622,7 @@ const saveCompleteShipment = async () => {
loadDiffList
()
loadDiffList
()
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
error
(
e
)
console
.
error
(
e
)
}
finally
{
}
finally
{
loading
.
close
()
loading
.
close
()
}
}
}
}
...
@@ -1675,7 +1675,6 @@ const loadCardList = async () => {
...
@@ -1675,7 +1675,6 @@ const loadCardList = async () => {
item
.
images
=
images
item
.
images
=
images
}
else
{
}
else
{
if
(
item
.
imageAry
)
{
if
(
item
.
imageAry
)
{
console
.
log
(
item
.
imageAry
)
let
images
let
images
if
(
if
(
typeof
item
.
imageAry
===
'string'
&&
typeof
item
.
imageAry
===
'string'
&&
...
...
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