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
8015f169
Commit
8015f169
authored
Feb 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调拨到仓,出仓查看图片
parent
37450804
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
0 deletions
+67
-0
order.js
src/api/ecw/order.js
+7
-0
warehouse-video-list.vue
src/views/ecw/order/components/warehouse-video-list.vue
+53
-0
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+7
-0
No files found.
src/api/ecw/order.js
View file @
8015f169
...
...
@@ -498,3 +498,10 @@ export function updateApply(data){
data
})
}
export
function
warehousePictureList
(
data
){
return
request
({
url
:
'
/order/warehouse-picture/list
'
,
method
:
'
post
'
,
data
})
}
src/views/ecw/order/components/warehouse-video-list.vue
0 → 100644
View file @
8015f169
<
template
>
<div
v-if=
"list.length"
>
<el-button
type=
"text"
@
click=
"dialogVisible = true"
>
查看图片
</el-button>
<el-dialog
title=
"提示"
:visible.sync=
"dialogVisible"
width=
"50%"
>
<div
style=
"display: flex;flex-wrap: wrap;"
>
<div
v-for=
"item in list"
style=
"padding: 10px"
><el-image
style=
"width: 100px; height: 100px"
:src=
"item"
:preview-src-list=
"list"
>
</el-image></div>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
warehousePictureList
}
from
"
@/api/ecw/order
"
;
export
default
{
props
:{
item
:{
type
:
Object
,
default
:{}
}
},
name
:
"
warehouse-video-list
"
,
data
(){
return
{
dialogVisible
:
false
,
list
:[],
}
},
mounted
()
{
this
.
warehousePictureListFn
()
},
methods
:{
warehousePictureListFn
(){
let
p
=
{
bizId
:
this
.
item
.
id
,
type
:
this
.
item
.
status
===
5
?
2
:
this
.
item
.
status
===
6
?
3
:
''
}
warehousePictureList
(
p
).
then
(
r
=>
{
this
.
list
=
r
.
data
.
map
(
i
=>
i
.
url
)
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ecw/order/transferWarehousing.vue
View file @
8015f169
...
...
@@ -64,6 +64,11 @@
{{
STATUS
[
row
.
status
]
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('图片')
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
warehouse
-
video
-
list
:
item
=
"
row
"
><
/warehouse-video-list
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
el
-
descriptions
style
=
"
margin-top: 20px
"
:
column
=
"
4
"
border
>
<
el
-
descriptions
-
item
:
label
=
"
$t('集运仓库')
"
>
{{
warehouseDetails
&&
warehouseDetails
.
warehouseOutName
?
warehouseDetails
.
warehouseOutName
:
''
}}
<
/el-descriptions-item
>
...
...
@@ -164,9 +169,11 @@ import warehouseLocation from "@/components/WarehouseAreaDialog";
import
imageUpload
from
"
@/components/ImageUpload
"
;
import
{
getProductBrankPage
}
from
"
@/api/ecw/productBrank
"
;
import
{
parseTime
}
from
"
@/utils/ruoyi
"
;
import
WarehouseVideoList
from
"
@/views/ecw/order/components/warehouse-video-list.vue
"
;
export
default
{
name
:
"
transferWarehousing
"
,
components
:
{
WarehouseVideoList
,
ImageAndVideoUpload
,
Template
,
ordeDetailsForm
,
...
...
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