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
7bc92ee0
Commit
7bc92ee0
authored
Nov 01, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包详情入仓影像优化
parent
154ca99b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
PackHistoryDetail.vue
src/views/ecw/order/components/PackHistoryDetail.vue
+7
-10
No files found.
src/views/ecw/order/components/PackHistoryDetail.vue
View file @
7bc92ee0
...
...
@@ -151,8 +151,8 @@
<el-button
type=
"primary"
@
click=
"closeDialog"
>
{{$t('关闭窗口')}}
</el-button>
</el-dialog>
<el-dialog
:title=
"$t('入仓影像')"
:visible.sync=
"mvShow"
:before-close=
"closeMv"
:close-on-click-modal=
"false"
width=
"600px"
>
<div
style=
"display:flex;flex-wrap:wrap"
>
<el-dialog
:title=
"$t('入仓影像')"
:visible.sync=
"mvShow"
:before-close=
"closeMv"
:close-on-click-modal=
"false"
>
<!--
<div style="display:flex;flex-wrap:wrap">
<div v-for="(item, index) in pictureUrls" :index="index" :key="index" style="width:80px;height:80px">
<img v-if="item.type === 'image'" :src="item.url" mode="scaleToFill" style="height: 100%" @tap="previewImage(item.url)" />
<video v-else-if="item.type === 'video'" :id="`video_${index}`" style="width: 100%;height: 100%" :src="item.url" @play="playVideo(index)" @tap="playVideo(index)" @fullscreenchange="fullscreenchange"></video>
...
...
@@ -160,7 +160,8 @@
</div>
<div v-if="pictureUrls.length==0">
<span>{{$t('暂无影像')}}</span>
</div>
</div> -->
<image-and-video-upload
readonly
:fileSize=
"50"
:isShowTip=
"true"
:value=
"pictureUrls"
></image-and-video-upload>
</el-dialog>
<el-dialog
:title=
"$t('箱明细')"
:visible.sync=
"boxShow"
:before-close=
"closeBox"
:close-on-click-modal=
"false"
width=
"800px"
>
<el-form>
...
...
@@ -180,10 +181,11 @@ import { DICT_TYPE } from '@/utils/dict'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
ImageAndVideoUpload
from
'
@/components/ImageAndVideoUpload
'
import
WarehouseRecordDetailItem
from
"
@/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
"
;
export
default
{
components
:
{
WarehouseAreaSelect
,
WarehouseRecordDetailItem
WarehouseAreaSelect
,
WarehouseRecordDetailItem
,
ImageAndVideoUpload
},
filters
:
{
parseTime
},
props
:{
...
...
@@ -289,12 +291,7 @@ export default {
seeMv
(
list
){
this
.
mvShow
=
true
if
(
list
){
this
.
pictureUrls
=
list
.
map
(
e
=>
{
return
{
url
:
e
,
type
:
this
.
isImageFile
(
e
)
?
'
image
'
:
'
video
'
,
}
})
this
.
pictureUrls
=
list
}
else
{
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