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
15dabe91
Commit
15dabe91
authored
May 18, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整装包,上立库、立库任务增加关闭按钮
parent
97f41444
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
8 deletions
+46
-8
zb.vue
src/views/ccgl/kngl/bz/top/zb.vue
+6
-1
index.vue
src/views/ccgl/rkgl/slk/top/index.vue
+18
-1
index.vue
src/views/ccgl/wcsrwgl/lkrw/index.vue
+22
-6
No files found.
src/views/ccgl/kngl/bz/top/zb.vue
View file @
15dabe91
...
@@ -118,7 +118,12 @@
...
@@ -118,7 +118,12 @@
type
:
'inputNumber'
,
type
:
'inputNumber'
,
required
:
true
,
required
:
true
,
},
},
{
label
:
'物料描述'
,
prop
:
'sx01'
,
span
:
12
,
type
:
'input'
,
}
]
]
...
...
src/views/ccgl/rkgl/slk/top/index.vue
View file @
15dabe91
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"sj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
上架
</el-button>
<el-button
@
click=
"sj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
上架
</el-button>
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -251,6 +251,23 @@
...
@@ -251,6 +251,23 @@
this
.
warning
(
'请选中一条数据'
)
this
.
warning
(
'请选中一条数据'
)
}
}
},
close
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$post
(
'lxyl/ckgl/ckrw/lkck/close'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'任务关闭成功!'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
warning
(
'请选择一条数据!'
)
}
}
}
},
},
...
...
src/views/ccgl/wcsrwgl/lkrw/index.vue
View file @
15dabe91
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<
!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
--
>
<
el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button
>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
field
:
"gwName"
,
field
:
"gwName"
,
width
:
140
,
width
:
140
,
formatter
(
a
,
b
,
v
){
formatter
(
a
,
b
,
v
){
return
a
.
gwName
||
a
.
k
wName
return
a
.
kwName
||
a
.
g
wName
}
}
},
},
// {
// {
...
@@ -74,12 +74,12 @@
...
@@ -74,12 +74,12 @@
// width: 140
// width: 140
// },
// },
{
{
title
:
"目标
库
位"
,
title
:
"目标位"
,
field
:
"mbkwCode"
,
field
:
"mbkwCode"
,
width
:
140
,
width
:
140
,
//
formatter(a,b,v){
formatter
(
a
,
b
,
v
){
// return a.gwName||a.k
wName
return
a
.
mbkwCode
||
a
.
g
wName
//
}
}
},
},
{
{
title
:
"容器"
,
title
:
"容器"
,
...
@@ -194,6 +194,22 @@
...
@@ -194,6 +194,22 @@
// demo(basePage){
// demo(basePage){
// }
// }
close
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$post
(
'lxyl/wcs/lkrw/close'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'任务关闭成功!'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
warning
(
'请选择一条数据!'
)
}
}
},
},
components
:
{
components
:
{
...
...
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