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
885a48a6
Commit
885a48a6
authored
Jun 29, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: PODUS和工厂订单new缩略图优化
parent
93a3a450
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/components/Thumbnail.vue
+3
-2
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
+4
-3
No files found.
src/components/Thumbnail.vue
View file @
885a48a6
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
:style=
"imageStyle"
:style=
"imageStyle"
:src=
"imageUrl"
:src=
"imageUrl"
loading=
"lazy"
loading=
"lazy"
preview-teleported
/>
/>
</
template
>
</
template
>
...
@@ -46,8 +47,8 @@ const displayHeight = computed(() => {
...
@@ -46,8 +47,8 @@ const displayHeight = computed(() => {
const
imageStyle
=
computed
(()
=>
{
const
imageStyle
=
computed
(()
=>
{
return
{
return
{
width
:
`
${
displayWidth
}
px`
,
width
:
`
${
displayWidth
.
value
}
px`
,
height
:
`
${
displayHeight
}
px`
,
height
:
`
${
displayHeight
.
value
}
px`
,
}
}
})
})
...
...
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
View file @
885a48a6
...
@@ -66,6 +66,7 @@ import { getRestockListApi, restockCheckApi } from '@/api/factoryOrderNew'
...
@@ -66,6 +66,7 @@ import { getRestockListApi, restockCheckApi } from '@/api/factoryOrderNew'
import
type
{
RestockData
}
from
'@/types/api/factoryOrderNew'
import
type
{
RestockData
}
from
'@/types/api/factoryOrderNew'
import
TableView
from
'@/components/TableView.vue'
import
TableView
from
'@/components/TableView.vue'
import
usePageList
from
'@/utils/hooks/usePageList'
import
usePageList
from
'@/utils/hooks/usePageList'
import
Thumbnail
from
'@/components/Thumbnail.vue'
const
filterForm
=
reactive
({
const
filterForm
=
reactive
({
warehouseSku
:
''
,
warehouseSku
:
''
,
...
@@ -108,11 +109,11 @@ const columns = [
...
@@ -108,11 +109,11 @@ const columns = [
align
:
'center'
,
align
:
'center'
,
render
:
(
row
:
RestockData
)
=>
{
render
:
(
row
:
RestockData
)
=>
{
return
(
return
(
<
el
-
image
<
Thumbnail
src
=
{
row
.
image
??
''
}
src
=
{
row
.
image
??
''
}
style
=
{{
width
:
'50px'
,
height
:
'50px'
}}
width
=
"45"
display
-
width
=
"50"
previewSrcList
=
{[
row
.
image
??
''
]}
previewSrcList
=
{[
row
.
image
??
''
]}
previewTeleported
/
>
/
>
)
)
},
},
...
...
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