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
2bad7f9b
Commit
2bad7f9b
authored
Jun 13, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料组接收
parent
860e4bf7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
181 additions
and
170 deletions
+181
-170
index.vue
src/views/ccgl/ckgl/bldj/top/index.vue
+181
-170
No files found.
src/views/ccgl/ckgl/bldj/top/index.vue
View file @
2bad7f9b
<
template
>
<
template
>
<BasePage
<BasePage
@
getRow=
"getRow"
:power=
"power"
class=
"min_full"
style=
"height: 100%"
:config=
"config"
>
@
getRow=
"getRow"
:power=
"power"
class=
"min_full"
style=
"height: 100%"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<
!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
直接入库
</el-button>
--
>
<
el-button
@
click=
"llzjs(ctx.basePage)"
size=
'mini'
type=
"primary"
>
领料组接收
</el-button
>
<!--
<ImportButton
@
success=
"()=>
{
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
ctx.basePage.refresh()
}" :url="'wms/ckgl/jhtz/import'" /> -->
}" :url="'wms/ckgl/jhtz/import'" /> -->
...
@@ -19,8 +13,8 @@
...
@@ -19,8 +13,8 @@
</template>
</template>
<
script
>
<
script
>
import
Edit
from
"./edit.vue"
;
import
Edit
from
"./edit.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
power
:
{
power
:
{
...
@@ -42,8 +36,7 @@ export default {
...
@@ -42,8 +36,7 @@ export default {
queryDetail
:
true
,
queryDetail
:
true
,
/* 基本配置*/
/* 基本配置*/
url
:
"lxyl/ckgl/ubldj"
,
url
:
"lxyl/ckgl/ubldj"
,
tableTitle
:
[
tableTitle
:
[{
{
title
:
"状态"
,
title
:
"状态"
,
field
:
"zt"
,
field
:
"zt"
,
width
:
80
,
width
:
80
,
...
@@ -105,8 +98,7 @@ export default {
...
@@ -105,8 +98,7 @@ export default {
},
},
],
],
queryParams
:
[
queryParams
:
[
[
[{
{
label
:
"日期"
,
label
:
"日期"
,
startProp
:
"start"
,
startProp
:
"start"
,
endProp
:
"end"
,
endProp
:
"end"
,
...
@@ -168,8 +160,7 @@ export default {
...
@@ -168,8 +160,7 @@ export default {
// }
// }
// },
// },
],
],
[
[{
{
label
:
"状态"
,
label
:
"状态"
,
prop
:
"zt"
,
prop
:
"zt"
,
span
:
4
,
span
:
4
,
...
@@ -192,6 +183,26 @@ export default {
...
@@ -192,6 +183,26 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
llzjs
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续该操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/ckgl/ubldj/llck'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refreshId
(
ctx
.
singleItem
.
id
)
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
"getRow"
,
val
);
this
.
$emit
(
"getRow"
,
val
);
},
},
...
@@ -199,7 +210,7 @@ export default {
...
@@ -199,7 +210,7 @@ export default {
components
:
{
components
:
{
Edit
,
Edit
,
},
},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
...
...
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