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
a7705581
Commit
a7705581
authored
Jul 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加入仓影像
parent
eeb3f11f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
imageDisplay.vue
src/views/ecw/order/components/imageDisplay.vue
+57
-0
detail.vue
src/views/ecw/order/detail.vue
+5
-0
No files found.
src/views/ecw/order/components/imageDisplay.vue
0 → 100644
View file @
a7705581
<
template
>
<div
style=
"display: inline-block"
>
<div
@
click=
"visible = true"
>
<slot></slot>
</div>
<el-dialog
append-to-body
title=
"提示"
: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>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
warehousePictureList
}
from
"
@/api/ecw/order
"
;
export
default
{
props
:{
bizId
:[
String
,
Number
],
type
:[
Number
],
},
name
:
"
imageDisplay
"
,
data
(){
return
{
visible
:
false
,
list
:[],
}
},
created
()
{
},
methods
:{
getList
(){
warehousePictureList
({
bizId
:
this
.
bizId
,
type
:
this
.
type
}).
then
(
r
=>
{
this
.
list
=
r
.
data
;
})
}
},
watch
:{
visible
(
val
){
if
(
val
){
this
.
getList
()
}
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ecw/order/detail.vue
View file @
a7705581
...
...
@@ -245,6 +245,9 @@
<el-tab-pane
:label=
"$t('运单资料/提货单')"
name=
"three"
>
<!--inWarehouseState 1待入库,2多了,3少了,4到齐-->
<el-button
v-hasPermi=
"['ecw:order:show_receipt']"
type=
"text"
@
click=
"showWarehouseReceipt=true"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
>
{{$t('查看入仓单')}}
</el-button>
<image-display
:type=
"6"
:biz-id=
"order.orderId"
>
<el-button
style=
"margin: 0 15px"
type=
"text"
>
{{$t('入仓影像')}}
</el-button>
</image-display>
<el-button
v-hasPermi=
"['ecw:order:show_landing']"
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.ladingState"
>
{{$t('查看提货单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_packing']"
:disabled=
"!order.packingListUrl"
type=
"text"
@
click=
"downloadPackingList"
>
{{$t('装箱单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_customs']"
type=
"text"
@
click=
"showDeclaration=true"
>
{{$t('查看报关资料')}}
</el-button>
...
...
@@ -440,9 +443,11 @@ import WarehouseAreaSelect from "@/components/WarehouseAreaSelect"
import
{
checkPermi
}
from
'
@/utils/permission
'
import
OperateLogDetail
from
"
@/views/ecw/order/components/OprateLogDetail
"
;
import
DeclarationDocuments
from
'
./components/DeclarationDocuments
'
;
import
ImageDisplay
from
"
@/views/ecw/order/components/imageDisplay.vue
"
;
export
default
{
name
:
"
detail
"
,
components
:
{
ImageDisplay
,
OperateLogDetail
,
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
,
WarehouseAreaSelect
,
DeclarationDocuments
}
,
...
...
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