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
dd6fb12d
Commit
dd6fb12d
authored
Jul 17, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改播种墙配货
parent
882de5c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
src/views/order/podUs/PodMakeOrder.vue
+11
-7
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
dd6fb12d
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
<div
<div
v-for=
"img in row.previewImgs"
v-for=
"img in row.previewImgs"
:key=
"img"
:key=
"img"
@
click=
"handleCurrentChange(img.url)"
@
click
.
stop
=
"handleCurrentChange(img.url)"
style=
"cursor: pointer; margin-right: 5px; flex: 1"
style=
"cursor: pointer; margin-right: 5px; flex: 1"
>
>
<img
v-if=
"img.url"
:src=
"img.url"
alt=
""
/>
<img
v-if=
"img.url"
:src=
"img.url"
alt=
""
/>
...
@@ -225,7 +225,7 @@ import type { WebSocketMessage } from '@/utils/websocket'
...
@@ -225,7 +225,7 @@ import type { WebSocketMessage } from '@/utils/websocket'
import
{
import
{
OrderData
,
OrderData
,
PodMakeOrderData
,
PodMakeOrderData
,
//
ProductList,
ProductList
,
}
from
'@/types/api/podMakeOrder'
}
from
'@/types/api/podMakeOrder'
import
useOrderStore
from
'@/store/order'
import
useOrderStore
from
'@/store/order'
import
{
import
{
...
@@ -676,14 +676,16 @@ const initOrderDetailBox = async () => {
...
@@ -676,14 +676,16 @@ const initOrderDetailBox = async () => {
}
}
return
item
return
item
})
})
console
.
log
(
669
,
podOrderDetailsData
.
value
)
podOrderDetailsData
.
value
=
podOrderDetailsData
.
value
=
boxList
.
find
((
item
)
=>
item
.
data
)?.
data
||
undefined
boxList
.
find
((
item
)
=>
item
.
data
)?.
data
||
undefined
boxIndex
.
value
=
boxList
.
find
((
item
)
=>
item
.
data
)?.
box
||
null
boxIndex
.
value
=
boxList
.
find
((
item
)
=>
item
.
data
)?.
box
||
null
podOrderDetailsData
.
value
?.
productList
?.
forEach
((
el
)
=>
{
if
(
!
el
.
previewImgs
)
el
.
previewImgs
=
JSON
.
parse
(
el
.
imageAry
)
})
coverImage
.
value
=
coverImage
.
value
=
boxList
.
find
((
item
)
=>
item
.
data
)?.
data
?.
productList
?.[
0
]
podOrderDetailsData
.
value
?.
productList
?.[
0
]?.
previewImgs
?.[
0
].
url
||
''
?.
previewImgs
?.[
0
].
url
||
''
if
(
if
(
podOrderDetailsData
.
value
&&
podOrderDetailsData
.
value
&&
podOrderDetailsData
.
value
.
pickingNumber
===
podOrderDetailsData
.
value
.
pickingNumber
===
...
@@ -903,7 +905,9 @@ const clearAllBox = async () => {
...
@@ -903,7 +905,9 @@ const clearAllBox = async () => {
console
.
error
(
error
)
console
.
error
(
error
)
}
}
}
}
const
handleRowClick
=
()
=>
{
const
handleRowClick
=
(
row
:
ProductList
)
=>
{
console
.
log
(
907
,
row
)
coverImage
.
value
=
row
.
previewImgs
?.[
0
]?.
url
||
''
productionOrderRef
.
value
.
focus
()
productionOrderRef
.
value
.
focus
()
}
}
const
handleCurrentChange
=
(
url
:
string
)
=>
{
const
handleCurrentChange
=
(
url
:
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