Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
0685ef6a
Commit
0685ef6a
authored
Jul 12, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓影像
parent
4e8e45f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
WarehouseDetail.vue
src/views/ecw/order/components/WarehouseDetail.vue
+11
-0
imageDisplay.vue
src/views/ecw/order/components/imageDisplay.vue
+11
-2
No files found.
src/views/ecw/order/components/WarehouseDetail.vue
View file @
0685ef6a
...
...
@@ -41,6 +41,15 @@
{{
getLocationName
(
row
.
orderLocationBackVOList
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('入仓影像')"
prop=
"orderLocationBackVOList"
>
<
template
slot-scope=
"{row}"
>
<image-display
:pictureUrls=
"warehouseItem.pictureUrls"
:type=
"5"
>
<el-button
type=
"text"
>
查看
</el-button>
</image-display>
</
template
>
</el-table-column>
</el-table>
</el-dialog>
</template>
...
...
@@ -49,8 +58,10 @@ import { getOrder, getOrderWarehouseIn } from '@/api/ecw/order'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
ImageDisplay
from
"
@/views/ecw/order/components/imageDisplay.vue
"
;
export
default
{
components
:
{
ImageDisplay
,
WarehouseAreaSelect
},
filters
:
{
parseTime
},
...
...
src/views/ecw/order/components/imageDisplay.vue
View file @
0685ef6a
...
...
@@ -10,7 +10,7 @@
:visible.sync=
"visible"
width=
"80%"
>
<div
style=
"display: flex;flex-wrap: wrap;"
>
<el-image
style=
"width: 200px;height: 200px;margin-right: 10px;margin-bottom: 10px"
v-for=
"(item) in list"
:src=
"
item.url
"
></el-image>
<el-image
style=
"width: 200px;height: 200px;margin-right: 10px;margin-bottom: 10px"
v-for=
"(item) in list"
:src=
"
bizId ? item.url : item
"
></el-image>
</div>
</el-dialog>
</div>
...
...
@@ -23,6 +23,10 @@ export default {
props
:{
bizId
:[
String
,
Number
],
type
:[
Number
],
pictureUrls
:{
type
:
Array
,
default
:()
=>
[]
}
},
name
:
"
imageDisplay
"
,
data
(){
...
...
@@ -44,7 +48,12 @@ export default {
watch
:{
visible
(
val
){
if
(
val
){
this
.
getList
()
if
(
this
.
bizId
){
this
.
getList
()
}
else
{
this
.
list
=
this
.
pictureUrls
}
}
}
}
...
...
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