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
823ca428
Commit
823ca428
authored
Jul 06, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整页面显示
parent
b67121c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
16 deletions
+31
-16
index.vue
src/views/ccgl/ckgl/ckdj/index.vue
+25
-5
index.vue
src/views/ccgl/rkgl/rkd/top/index.vue
+6
-11
No files found.
src/views/ccgl/ckgl/ckdj/index.vue
View file @
823ca428
...
...
@@ -5,9 +5,8 @@
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<
!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
--
>
<
el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button
>
</
template
>
</BasePage>
</template>
...
...
@@ -157,9 +156,30 @@
},
methods
:
{
/* 示例*/
// demo(basePage){
// }
sapgz
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'确定要过账吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
ctx
.
$refs
.
TablePager
.
loading
=
true
this
.
$post
(
'lxyl/ckgl/ckdj/sapgz'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
$refs
.
TablePager
.
loading
=
false
ctx
.
refresh
()
}
}).
finally
(
res
=>
{
ctx
.
$refs
.
TablePager
.
loading
=
false
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
},
components
:
{
Edit
...
...
src/views/ccgl/rkgl/rkd/top/index.vue
View file @
823ca428
...
...
@@ -141,10 +141,15 @@ export default {
// width: 140
// },
{
title
:
"
货主
"
,
title
:
"
工厂
"
,
field
:
"hzName"
,
width
:
140
,
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
140
,
},
{
title
:
"事务类型"
,
field
:
"swlxName"
,
...
...
@@ -161,16 +166,6 @@ export default {
width
:
140
,
hidden
:
true
,
},
{
title
:
"仓库编码"
,
field
:
"ckCode"
,
width
:
140
,
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
140
,
},
// {
// title: "码盘状态",
// field: "mpzt",
...
...
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