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
465c89da
Commit
465c89da
authored
Jul 13, 2023
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓图片实时更新(1)
https://zentao.test.jdshangmen.com/bug-view-3797.html
parent
9e85c6c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.vue
src/components/ImageAndVideoUpload/index.vue
+10
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
No files found.
src/components/ImageAndVideoUpload/index.vue
View file @
465c89da
...
...
@@ -45,6 +45,7 @@
<
script
>
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
number
}
from
'
echarts/lib/export
'
export
default
{
props
:
{
...
...
@@ -63,6 +64,11 @@ export default {
isShowTip
:
{
type
:
Boolean
,
default
:
true
},
// 类型 1入仓 2 调拨出仓 3调拨到仓 4 订单转异
type
:
{
type
:
Number
,
default
:
undefined
}
},
data
()
{
...
...
@@ -116,9 +122,10 @@ export default {
methods
:
{
// 删除图片
handleRemove
(
index
)
{
// todo
console
.
log
(
index
)
this
.
fileList
.
splice
(
index
,
1
);
this
.
$emit
(
"
input
"
,
this
.
listToString
(
this
.
fileList
));
},
// 上传成功回调
handleUploadSuccess
(
res
)
{
...
...
@@ -128,6 +135,8 @@ export default {
this
.
fileList
=
this
.
fileList
.
concat
(
this
.
uploadList
);
this
.
uploadList
=
[];
this
.
number
=
0
;
// todo
console
.
log
(
res
.
data
)
this
.
$emit
(
"
input
"
,
this
.
listToString
(
this
.
fileList
));
this
.
$modal
.
closeLoading
();
}
...
...
src/views/ecw/order/warehousing/index.vue
View file @
465c89da
...
...
@@ -164,7 +164,7 @@
<span
style=
"font-size: 18px"
>
{{$t('入仓影像')}}
</span>
</div>
<div>
<image-and-video-upload
:fileSize=
"50"
:isShowTip=
"true"
v-model=
"form.urls"
></image-and-video-upload>
<image-and-video-upload
:fileSize=
"50"
:isShowTip=
"true"
v-model=
"form.urls"
:type=
"1"
></image-and-video-upload>
</div>
</el-card>
<div
style=
"text-align: center;margin-top: 15px"
v-if=
"!(order.status !== 3 && isEdit)"
>
...
...
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