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
fc3aee00
Commit
fc3aee00
authored
Mar 27, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送sap + 定制接口
parent
4066e1d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
index.vue
src/views/ccgl/kcpd/pdd/index.vue
+24
-1
No files found.
src/views/ccgl/kcpd/pdd/index.vue
View file @
fc3aee00
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<el-button
@
click=
"qxdj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消冻结
</el-button>
<el-button
@
click=
"qxdj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消冻结
</el-button>
<el-button
@
click=
"wc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
完成
</el-button>
<el-button
@
click=
"wc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
完成
</el-button>
<el-button
@
click=
"qxwc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消完成
</el-button>
<el-button
@
click=
"qxwc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消完成
</el-button>
<el-button
@
click=
"sendSap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
发送至sap
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -25,6 +26,7 @@
...
@@ -25,6 +26,7 @@
queryDetail
:
true
,
queryDetail
:
true
,
/* 基本配置*/
/* 基本配置*/
url
:
'wms/kcgl/kcpd'
,
url
:
'wms/kcgl/kcpd'
,
queryUrl
:
'lxyl/kcgl/pdgz/query'
,
tableTitle
:
[{
tableTitle
:
[{
title
:
"状态"
,
title
:
"状态"
,
field
:
"zt"
,
field
:
"zt"
,
...
@@ -127,6 +129,27 @@
...
@@ -127,6 +129,27 @@
},
},
methods
:
{
methods
:
{
sendSap
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/kcgl/pdgz/sync/pdgz'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
wc
(
ctx
){
wc
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
...
...
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