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
383a3bb4
Commit
383a3bb4
authored
Aug 08, 2024
by
周毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:lisu/lxyl-vue
parents
1aafff83
615c16a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
22 deletions
+37
-22
index.vue
src/views/ccgl/jcsj/xsjhd/index.vue
+37
-22
No files found.
src/views/ccgl/jcsj/xsjhd/index.vue
View file @
383a3bb4
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Tbjhd
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步交货单'"
/>
<Tbjhd
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步交货单'"
/>
<Ckbg
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='仓库变更'"
/>
<Ckbg
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='仓库变更'"
/>
<Sfsap
:app=
'ctx.basePage'
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='释放SAP修改权限'"
/>
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
...
@@ -12,7 +13,8 @@
...
@@ -12,7 +13,8 @@
<el-button
v-if=
"ctx.basePage.powerObj['22']"
@
click=
"qxqr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消确认
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['22']"
@
click=
"qxqr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消确认
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['23']"
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['23']"
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['24']"
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['24']"
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['25']"
@
click=
"sfsap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
释放SAP修改权限
</el-button>
<!--
<el-button
v-if=
"ctx.basePage.powerObj['25']"
@
click=
"sfsap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
释放SAP修改权限
</el-button>
-->
<el-button
v-if=
"ctx.basePage.powerObj['25']"
@
click=
"newSfsap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
释放SAP修改权限
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['26']"
@
click=
"ckbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
仓库变更
</el-button>
<el-button
v-if=
"ctx.basePage.powerObj['26']"
@
click=
"ckbg(ctx.basePage)"
size=
'mini'
type=
"primary"
>
仓库变更
</el-button>
</
template
>
</
template
>
...
@@ -23,6 +25,7 @@
...
@@ -23,6 +25,7 @@
// import Edit from './edit.vue'
// import Edit from './edit.vue'
import
Tbjhd
from
'./tbjhd.vue'
import
Tbjhd
from
'./tbjhd.vue'
import
Ckbg
from
'./ckbg.vue'
import
Ckbg
from
'./ckbg.vue'
import
Sfsap
from
'./sfsap.vue'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -32,7 +35,7 @@
...
@@ -32,7 +35,7 @@
/* 手动控制删除 */
/* 手动控制删除 */
delButton
:
true
,
delButton
:
true
,
/* 手动控制编辑按钮权限 */
/* 手动控制编辑按钮权限 */
editButton
:
tru
e
,
editButton
:
fals
e
,
/* 是否渲染右侧操作按钮 */
/* 是否渲染右侧操作按钮 */
operateButtons
:
true
,
operateButtons
:
true
,
/* 是否开启工作流按钮 */
/* 是否开启工作流按钮 */
...
@@ -286,26 +289,37 @@
...
@@ -286,26 +289,37 @@
}
}
},
},
sfsap
(
ctx
)
{
// sfsap(ctx) {
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
// let list = ctx.$refs.TablePager.selectedList || []
if
(
list
.
length
>
0
)
{
// if (list.length > 0) {
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
// this.$confirm('是否继续操作, 是否继续?', '提示', {
confirmButtonText
:
'确定'
,
// confirmButtonText: '确定',
cancelButtonText
:
'取消'
,
// cancelButtonText: '取消',
type
:
'warning'
// type: 'warning'
}).
then
(
res
=>
{
// }).then(res => {
this
.
$post
(
'/lxyl/ckgl/usofh/ReleaseSapModifyPermission'
,
{
// this.$post('/lxyl/ckgl/usofh/ReleaseSapModifyPermission', {
ids
:
list
.
map
(
item
=>
item
.
id
)
// ids: list.map(item => item.id)
}).
then
(
res
=>
{
// }).then(res => {
if
(
res
.
success
)
{
// if (res.success) {
this
.
$success
(
'操作成功'
)
// this.$success('操作成功')
ctx
.
refresh
()
// ctx.refresh()
}
// }
})
// })
})
// })
}
else
{
// } else {
// this.$warning('请至少勾选一条数据')
// }
// },
newSfsap
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
ctx
.
DialogTitle
=
'释放SAP修改权限'
ctx
.
DialogWidth
=
'30vw'
ctx
.
showDialog
=
true
}
else
{
this
.
$warning
(
'请至少勾选一条数据'
)
this
.
$warning
(
'请至少勾选一条数据'
)
}
}
},
},
gb
(
ctx
)
{
gb
(
ctx
)
{
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
...
@@ -420,7 +434,8 @@
...
@@ -420,7 +434,8 @@
components
:
{
components
:
{
// Edit,
// Edit,
Tbjhd
,
Tbjhd
,
Ckbg
Ckbg
,
Sfsap
}
}
}
}
...
...
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