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
16299067
Commit
16299067
authored
May 20, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库位改变状态按钮
parent
543806e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
17 deletions
+8
-17
index.vue
src/views/ccgl/jcsj/kwgl/index.vue
+5
-5
index.vue
src/views/ccgl/rkgl/slk/top/index.vue
+3
-12
No files found.
src/views/ccgl/jcsj/kwgl/index.vue
View file @
16299067
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
$success
(
'操作成功'
)
ctx
.
refresh
(
)
ctx
.
refresh
Id
(
res
.
data
.
id
)
}
}
})
})
})
})
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
$success
(
'操作成功'
)
ctx
.
refresh
(
)
ctx
.
refresh
Id
(
res
.
data
.
id
)
}
}
})
})
})
})
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
$success
(
'操作成功'
)
ctx
.
refresh
(
)
ctx
.
refresh
Id
(
res
.
data
.
id
)
}
}
})
})
})
})
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
$success
(
'操作成功'
)
ctx
.
refresh
(
)
ctx
.
refreshId
(
res
.
data
.
id
)
}
}
})
})
})
})
...
@@ -312,7 +312,7 @@
...
@@ -312,7 +312,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
$success
(
'操作成功'
)
ctx
.
refresh
(
)
ctx
.
refresh
Id
(
res
.
data
.
id
)
}
}
})
})
})
})
...
...
src/views/ccgl/rkgl/slk/top/index.vue
View file @
16299067
...
@@ -47,12 +47,8 @@
...
@@ -47,12 +47,8 @@
"label"
:
"name"
,
"label"
:
"name"
,
"value"
:
"id"
"value"
:
"id"
},
},
width
:
100
width
:
100
},
},
{
{
title
:
"仓库"
,
title
:
"仓库"
,
field
:
"ckName"
,
field
:
"ckName"
,
...
@@ -219,8 +215,6 @@
...
@@ -219,8 +215,6 @@
],
],
/* 默认启停用 */
/* 默认启停用 */
showqt
:
false
,
showqt
:
false
,
}
}
}
}
...
@@ -236,8 +230,8 @@
...
@@ -236,8 +230,8 @@
}
}
this
.
$post
(
'lxyl/rkgl/sjrw/lkrk/start'
,
params
).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/sjrw/lkrk/start'
,
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$refs
.
basePage
.
refresh
()
//
this.$refs.basePage.refresh()
ctx
.
refreshId
(
res
.
data
.
id
)
}
}
})
})
},
},
...
@@ -246,13 +240,10 @@
...
@@ -246,13 +240,10 @@
ctx
.
DialogTitle
=
'上架选择工位'
ctx
.
DialogTitle
=
'上架选择工位'
ctx
.
DialogWidth
=
'30vw'
ctx
.
DialogWidth
=
'30vw'
ctx
.
showDialog
=
true
ctx
.
showDialog
=
true
}
else
{
}
else
{
this
.
warning
(
'请选中一条数据'
)
this
.
warning
(
'请选中一条数据'
)
}
}
},
},
close
(
ctx
){
close
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$post
(
'lxyl/rkgl/sjrw/lkrk/close'
,{
this
.
$post
(
'lxyl/rkgl/sjrw/lkrk/close'
,{
...
@@ -260,7 +251,7 @@
...
@@ -260,7 +251,7 @@
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
){
if
(
res
.
success
){
this
.
$success
(
'任务关闭成功!'
)
this
.
$success
(
'任务关闭成功!'
)
ctx
.
refresh
(
)
ctx
.
refresh
Id
(
res
.
data
.
id
)
}
}
})
})
...
...
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