Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
lxyl-vue
Commits
3e905808
Commit
3e905808
authored
Apr 17, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮页面调整
parent
47027afb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
7 deletions
+21
-7
sjhz.vue
src/views/ccgl/rkgl/sjrw/sjhz.vue
+19
-2
index.vue
src/views/ccgl/rkgl/sjrw/top/index.vue
+2
-5
No files found.
src/views/ccgl/rkgl/sjrw/sjhz.vue
View file @
3e905808
...
...
@@ -2,9 +2,13 @@
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<mxDialog
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog"
/>
<mxDialog
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='上架'"
/>
<Kwbg
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='库位变更'"
/>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"kwbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
库位变更
</el-button>
</
template
>
<
template
slot=
"tabCustom2"
>
<el-table-column
label=
"操作"
width=
"150"
header-align=
"center"
>
<template
slot-scope=
"scope"
>
...
...
@@ -29,6 +33,7 @@
<
script
>
import
mxDialog
from
'./mxDialog.vue'
import
Kwbg
from
'./top/kwbg.vue'
export
default
{
mounted
()
{
...
...
@@ -88,6 +93,17 @@
},
methods
:
{
kwbg
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
ctx
.
DialogWidth
=
'30vw'
ctx
.
DialogTitle
=
'库位变更'
ctx
.
showDialog
=
true
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
xj
(
a
,
b
,
c
){
this
.
$confirm
(
'是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
@@ -122,7 +138,8 @@
},
components
:
{
mxDialog
mxDialog
,
Kwbg
}
}
...
...
src/views/ccgl/rkgl/sjrw/top/index.vue
View file @
3e905808
...
...
@@ -7,11 +7,8 @@
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"tjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
推荐库位
</el-button>
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
<el-button
style=
"margin-left: 10px;"
@
click=
"kwbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
库位变更
</el-button>
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> -->
<!--
<el-button
style=
"margin-left: 10px;"
@
click=
"kwbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
库位变更
</el-button>
-->
</
template
>
</BasePage>
...
...
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