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
5ea8927f
Commit
5ea8927f
authored
Jan 13, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询调整
parent
43f3721a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
15 deletions
+27
-15
index.vue
src/views/ccgl/cxfx/sfhzcx/index.vue
+1
-1
edit.vue
src/views/ccgl/rkgl/rkd/top/edit.vue
+3
-1
index.vue
src/views/ccgl/rkgl/rkd/top/index.vue
+21
-0
index.vue
src/views/ccgl/rkgl/rkdj/index.vue
+2
-13
No files found.
src/views/ccgl/cxfx/sfhzcx/index.vue
View file @
5ea8927f
...
...
@@ -181,7 +181,7 @@
item
.
show
=
true
}
})
},
5
00
)
},
6
00
)
...
...
src/views/ccgl/rkgl/rkd/top/edit.vue
View file @
5ea8927f
...
...
@@ -67,6 +67,7 @@
item
.
wlid
=
item
.
id
item
.
wlxxName
=
item
.
name
item
.
wlxxCode
=
item
.
code
item
.
wlxxGg
=
item
.
gg
item
.
xqsl
=
0
item
.
xqrq
=
new
Date
().
getTime
()
delete
item
.
id
...
...
@@ -217,7 +218,7 @@
type
:
'AuxInput'
,
typeConfig
:
{
"code"
:
"MATERIAL"
,
"label"
:
"wl
c
ode"
,
"label"
:
"wl
xxC
ode"
,
"transform"
:
{
"value"
:
"code"
,
"label"
:
"code"
...
...
@@ -226,6 +227,7 @@
this
.
form
.
wlid
=
data
.
id
this
.
form
.
wlxxName
=
data
.
name
this
.
form
.
wlxxCode
=
data
.
code
this
.
form
.
wlxxGg
=
data
.
gg
}
...
...
src/views/ccgl/rkgl/rkd/top/index.vue
View file @
5ea8927f
...
...
@@ -10,6 +10,7 @@
}" :url="'/lxyl/rkgl/rktz/import'" />
<el-button
style=
"margin-left: 10px;"
@
click=
"qr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
确认
</el-button>
<el-button
@
click=
"qxqr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消确认
</el-button>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
</
template
>
</BasePage>
...
...
@@ -185,6 +186,26 @@
},
methods
:
{
sapgz
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$confirm
(
'是否继续该操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/rktz/sapgz'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
){
this
.
$emit
(
'getRow'
,
val
)
},
...
...
src/views/ccgl/rkgl/rkdj/index.vue
View file @
5ea8927f
...
...
@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button
>
<!--
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
--
>
</
template
>
</BasePage>
</template>
...
...
@@ -109,18 +109,7 @@
},
methods
:
{
sapgz
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$post
(
'wms/rkgl/rkdj/sapgz'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
}
/* 示例*/
// demo(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