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
11f3962b
Commit
11f3962b
authored
Sep 11, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
955dc3f6
63cb141f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
src/views/order/hook/usePodShipment.ts
+8
-4
src/views/order/pod/index.vue
+1
-2
No files found.
src/views/order/hook/usePodShipment.ts
View file @
11f3962b
...
...
@@ -48,12 +48,18 @@ export default function useShipment(callback?: () => void) {
offset
:
window
.
innerHeight
/
2
,
})
}
if
(
!
orderList
.
value
.
length
)
{
await
getPackingData
(
code
)
}
let
rowData
const
code1
=
code
?.
split
(
'_'
)[
0
]
const
code1
=
code
?.
split
(
'_'
)[
3
]
const
code2
=
code
?.
split
(
'_'
)[
0
]
for
(
const
item
of
orderList
.
value
)
{
// rowData = item.productList?.find((jj) => jj.factorySubOrderNumber === code1)
rowData
=
item
.
productList
?.
find
(
(
jj
)
=>
`
${
item
.
userMark
}
-
${
jj
.
thirdSubOrderNumber
}
`
===
code1
,
(
jj
)
=>
`
${
jj
.
thirdSubOrderNumber
}
`
===
code1
&&
item
.
userMark
===
code2
,
)
if
(
rowData
)
{
rowData
.
factoryOrderNumber
=
item
.
factoryOrderNumber
...
...
@@ -100,8 +106,6 @@ export default function useShipment(callback?: () => void) {
rowEl
.
scrollIntoView
()
}
}
else
{
getPackingData
(
code
)
}
}
const
getPackingData
=
async
(
code
:
string
)
=>
{
...
...
src/views/order/pod/index.vue
View file @
11f3962b
...
...
@@ -1622,7 +1622,7 @@ const saveCompleteShipment = async () => {
loadDiffList
()
}
catch
(
e
)
{
console
.
error
(
e
)
}
finally
{
}
finally
{
loading
.
close
()
}
}
...
...
@@ -1675,7 +1675,6 @@ const loadCardList = async () => {
item
.
images
=
images
}
else
{
if
(
item
.
imageAry
)
{
console
.
log
(
item
.
imageAry
)
let
images
if
(
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