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
ebde24eb
Commit
ebde24eb
authored
May 29, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库登记增加 过账按钮
parent
a377b2c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
27 deletions
+41
-27
akck.vue
src/views/ccgl/ckgl/lkckrw/top/akck.vue
+11
-16
index.vue
src/views/ccgl/rkgl/rkdj/index.vue
+30
-11
No files found.
src/views/ccgl/ckgl/lkckrw/top/akck.vue
View file @
ebde24eb
...
@@ -134,14 +134,7 @@
...
@@ -134,14 +134,7 @@
],
],
queryParams
:
[
queryParams
:
[
[{
[
label
:
'物料信息'
,
prop
:
'wlxxInfo'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
{
"label"
:
"仓库"
,
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"prop"
:
"ckid"
,
...
@@ -157,24 +150,26 @@
...
@@ -157,24 +150,26 @@
}
}
},
},
{
{
label
:
'
容器编码
'
,
label
:
'
物料信息
'
,
prop
:
'
rqCode
'
,
prop
:
'
wlxxInfo
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
{
{
label
:
'
唯一码
'
,
label
:
'
制令号
'
,
prop
:
'
packCode
'
,
prop
:
'
zlhInfo
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
{
{
prop
:
'flId'
,
label
:
'容器编码'
,
value
:
'L'
prop
:
'rqCode'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
},
]
]
],
],
/* 默认启停用 */
/* 默认启停用 */
...
...
src/views/ccgl/rkgl/rkdj/index.vue
View file @
ebde24eb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
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
>
</
template
>
</BasePage>
</BasePage>
</template>
</template>
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
add
:
false
,
add
:
false
,
copy
:
false
,
copy
:
false
,
/* 手动控制删除 */
/* 手动控制删除 */
delButton
:
tru
e
,
delButton
:
fals
e
,
/* 手动控制编辑按钮权限 */
/* 手动控制编辑按钮权限 */
editButton
:
false
,
editButton
:
false
,
/* 是否渲染右侧操作按钮 */
/* 是否渲染右侧操作按钮 */
operateButtons
:
tru
e
,
operateButtons
:
fals
e
,
/* 是否开启工作流按钮 */
/* 是否开启工作流按钮 */
workFlow
:
false
,
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
/* 表格开启选择,以及记住选择 */
...
@@ -172,15 +172,34 @@
...
@@ -172,15 +172,34 @@
},
},
methods
:
{
methods
:
{
sapgz
(
ctx
)
{
/* 示例*/
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
// demo(basePage){
this
.
$confirm
(
'确定要过账吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
// }
cancelButtonText
:
'取消'
,
},
type
:
'warning'
components
:
{
}).
then
(
res
=>
{
Edit
ctx
.
$refs
.
TablePager
.
loading
=
true
this
.
$post
(
'lxyl/rkgl/rkdj/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
// }
}
}
</
script
>
</
script
>
...
...
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