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
65ac2ad3
Commit
65ac2ad3
authored
Dec 06, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备货页面增加打印标签
parent
44a4f5da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
index.vue
src/views/ecw/order/stocking/index.vue
+12
-4
No files found.
src/views/ecw/order/stocking/index.vue
View file @
65ac2ad3
...
...
@@ -158,17 +158,18 @@
</el-table-column>
<el-table-column
prop=
"address"
:label=
"$t('操作')"
width=
"2
2
0"
>
:label=
"$t('操作')"
width=
"2
5
0"
>
<
template
v-slot=
"{ row, column, $index }"
>
<!--没有入仓记录的不显示打包按钮 https://zentao.test.jdshangmen.com/bug-view-5389.html-->
<el-button-group
v-if=
"orderWarehouseInList(row.orderItemId).length"
>
<template
v-if=
"wareItemPackStatus(row.orderItemId) == 1"
>
<el-button
size=
"mini"
type=
"warning"
@
click=
"noNeedPack(row)"
>
{{
$t
(
'
无需打包
'
)
}}
</el-button>
<el-button
class=
"pl-5 pr-5"
size=
"mini"
type=
"warning"
@
click=
"noNeedPack(row)"
>
{{
$t
(
'
无需打包
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"package(row, $t('打包'))"
>
{{
$t
(
'
打包
'
)
}}
</el-button>
</
template
>
<el-button
v-else
size=
"mini"
type=
"primary"
@
click=
"package(row, $t('修改打包'))"
>
{{$t('修改打包')}}
</el-button>
<el-button
class=
"pl-5 pr-5"
v-else
size=
"mini"
type=
"primary"
@
click=
"package(row, $t('修改打包'))"
>
{{$t('修改打包')}}
</el-button>
<el-button
size=
"mini"
type=
"danger"
@
click=
"rollback(row)"
>
{{$t('退仓')}}
</el-button>
<el-button
class=
"pl-5 pr-5"
size=
"mini"
type=
"info"
@
click=
"printTag"
>
{{$t('打印标签')}}
</el-button>
</el-button-group>
</template>
</el-table-column>
...
...
@@ -212,6 +213,7 @@
<div
style=
"text-align: center;margin-top: 15px"
>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
{{$t('转异')}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
{{$t('完成备货')}}
</el-button>
<el-button
type=
"info"
@
click=
"printTag"
>
{{$t('打印标签')}}
</el-button>
</div>
</el-form>
...
...
@@ -249,6 +251,7 @@
@
close=
"onPackageClose"
></new-product>
<media-dialog
v-if=
"curPictrues"
:value=
"curPictrues"
@
close=
"curPictrues=null"
></media-dialog>
<print-tag
v-if=
"showPrintTagDialog"
:order-id=
"orderId"
@
close=
"showPrintTagDialog=false"
:warehouse-in-num=
"order.sumNum"
/>
</div>
</template>
...
...
@@ -363,7 +366,9 @@ export default {
// 当前查看的影像
curPictrues
:
null
,
// 是否显示添加新品弹窗
showNewProductDialog
:
false
showNewProductDialog
:
false
,
// 是否显示打印标签弹层
showPrintTagDialog
:
false
}
},
...
...
@@ -496,6 +501,9 @@ export default {
this
.
$message
.
success
(
this
.
$t
(
'
操作成功
'
))
this
.
getList
()
})
},
printTag
(){
this
.
showPrintTagDialog
=
true
}
},
watch
:
{
...
...
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