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
87544991
Commit
87544991
authored
Sep 09, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对比sap,触发改动
parent
4726de7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
12 deletions
+35
-12
index.vue
src/views/ccgl/cxfx/sapkcdb/index.vue
+35
-12
No files found.
src/views/ccgl/cxfx/sapkcdb/index.vue
View file @
87544991
<
template
>
<
template
>
<BasePage
@
pageQueryFinally=
'pageQueryFinally'
:power=
'power'
:fePage=
'true'
class=
"min_full"
:config=
"config"
>
<BasePage
:autoQuery=
'false'
:changeQueryParams=
'checkQueryParams'
@
pageQueryFinally=
'pageQueryFinally'
:power=
'power'
:fePage=
'true'
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
...
@@ -7,7 +8,7 @@
...
@@ -7,7 +8,7 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
-->
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
-->
<div
class=
"queryTime"
>
<div
class=
"queryTime"
>
当前数据查询时间:
{{
queryTime
}}
当前数据查询时间:
{{
queryTime
}}
</div>
</div>
</
template
>
</
template
>
...
@@ -20,7 +21,7 @@
...
@@ -20,7 +21,7 @@
data
()
{
data
()
{
return
{
return
{
queryTime
:
'暂无'
,
queryTime
:
'暂无'
,
power
:
{
power
:
{
add
:
false
,
add
:
false
,
copy
:
false
,
copy
:
false
,
...
@@ -68,17 +69,17 @@
...
@@ -68,17 +69,17 @@
{
{
title
:
"WMS库存总数"
,
title
:
"WMS库存总数"
,
field
:
"kcsl"
,
field
:
"kcsl"
,
fieldType
:
"float"
fieldType
:
"float"
},
},
{
{
title
:
"SAP库存总数"
,
title
:
"SAP库存总数"
,
field
:
"sapKcsl"
,
field
:
"sapKcsl"
,
fieldType
:
"float"
fieldType
:
"float"
},
},
{
{
title
:
"库存差异数量"
,
title
:
"库存差异数量"
,
field
:
"cysl"
,
field
:
"cysl"
,
fieldType
:
"float"
fieldType
:
"float"
}
}
],
],
...
@@ -108,7 +109,9 @@
...
@@ -108,7 +109,9 @@
"match"
:
{
"match"
:
{
"value"
:
"id"
,
"value"
:
"id"
,
"label"
:
"name"
"label"
:
"name"
}
},
linkage
:
true
,
linkParams
:[
'hzid'
]
}
}
},
{
},
{
label
:
'是否差异'
,
label
:
'是否差异'
,
...
@@ -144,10 +147,30 @@
...
@@ -144,10 +147,30 @@
},
},
methods
:
{
methods
:
{
/* 示例*/
/**
pageQueryFinally
(
list
,
res
){
* @description:触发搜索参数前校验是否存在参数
let
serverTime
=
res
.
data
.
serverTime
* @param {Object} params
this
.
queryTime
=
this
.
$moment
(
serverTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
* @param {Object} tbapp
* @return {*}
* @author: lisu
*/
checkQueryParams
(
params
,
tbapp
)
{
if
(
!
params
.
hzid
)
{
this
.
$warning
(
'请选择工厂'
)
tbapp
.
loading
=
false
tbapp
.
isactive
=
false
throw
new
Error
(
'请选择工厂'
)
}
if
(
!
params
.
sapCkid
)
{
this
.
$warning
(
'请选择库存地点'
)
tbapp
.
loading
=
false
tbapp
.
isactive
=
false
throw
new
Error
(
'请选择库存地点'
)
}
},
pageQueryFinally
(
list
,
res
)
{
let
serverTime
=
res
.
data
.
serverTime
this
.
queryTime
=
this
.
$moment
(
serverTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
}
}
},
},
components
:
{
components
:
{
...
@@ -158,7 +181,7 @@
...
@@ -158,7 +181,7 @@
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.queryTime
{
.queryTime
{
font-size
:
13px
;
font-size
:
13px
;
color
:
#999
;
color
:
#999
;
float
:
right
;
float
:
right
;
...
...
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