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
42df7299
Commit
42df7299
authored
Apr 24, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sap 取消过账/制令号变更
parent
41770a3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
index.vue
src/views/ccgl/jcsj/stoxsjhd/index.vue
+22
-0
edit.vue
src/views/ccgl/kngl/zlhbg/top/edit.vue
+1
-0
No files found.
src/views/ccgl/jcsj/stoxsjhd/index.vue
View file @
42df7299
...
...
@@ -9,6 +9,7 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"tbjhd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
同步交货单
</el-button>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
@
click=
"qxsapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消过账
</el-button>
<el-button
@
click=
"sfsap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
释放SAP修改权限
</el-button>
<el-button
@
click=
"ckbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
仓库变更
</el-button>
</
template
>
...
...
@@ -384,6 +385,27 @@
this
.
$warning
(
'请至少勾选一条数据'
)
}
},
qxsapgz
(
ctx
){
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
>
0
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/ckgl/sto/usofh/sap/cancelGz'
,
{
ids
:
list
.
map
(
item
=>
item
.
id
)
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请至少勾选一条数据'
)
}
},
sapgz
(
ctx
)
{
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
>
0
)
{
...
...
src/views/ccgl/kngl/zlhbg/top/edit.vue
View file @
42df7299
...
...
@@ -59,6 +59,7 @@ import Cx from './cx.vue'
list
.
forEach
(
item
=>
{
item
.
lydjid
=
item
.
id
item
.
rqmxid
=
item
.
id
item
.
packmxid
=
item
.
packmxId
item
.
bzsl
=
item
.
packmxSl
||
0
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
...
...
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