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
d00a6d4f
Commit
d00a6d4f
authored
May 17, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
立库相关调整
parent
56734c6f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
27 deletions
+66
-27
akck.vue
src/views/ccgl/ckgl/lkckrw/top/akck.vue
+3
-1
index.vue
src/views/ccgl/ckgl/lkckrw/top/index.vue
+34
-14
akck.vue
src/views/ccgl/ckgl/xpk/top/akck.vue
+3
-1
index.vue
src/views/ccgl/rkgl/slk/top/index.vue
+25
-10
index.vue
src/views/ccgl/wcsrwgl/wcsrw/index.vue
+1
-1
No files found.
src/views/ccgl/ckgl/lkckrw/top/akck.vue
View file @
d00a6d4f
...
...
@@ -25,8 +25,10 @@
</template>
<
script
>
import
Xzgw
from
'./xzgw.vue'
import
wlsx
from
'common/src/mixin/wlsx.js'
import
wlphsx
from
'common/src/mixin/wlphsx.js'
export
default
{
mixins
:[
wlsx
,
wlphsx
],
props
:
{
app
:
{
type
:
Object
,
...
...
src/views/ccgl/ckgl/lkckrw/top/index.vue
View file @
d00a6d4f
...
...
@@ -53,6 +53,16 @@
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
140
},
{
title
:
"业务日期"
,
field
:
"ywrq"
,
fieldType
:
"ftDate"
},
{
title
:
"起始位"
,
field
:
"kwName"
,
...
...
@@ -71,32 +81,42 @@
{
title
:
"开始时间"
,
field
:
"kssj"
,
fieldType
:
"ftDate"
fieldType
:
"ftDate
Time
"
},
{
title
:
"结束时间"
,
field
:
"jssj"
,
fieldType
:
"ftDate"
fieldType
:
"ftDate
Time
"
},
{
title
:
"耗时"
,
field
:
"timespan"
,
width
:
240
,
formatter
(
a
,
b
,
duration
)
{
if
(
duration
==
0
)
{
return
0
}
else
{
var
milliseconds
=
parseInt
((
duration
%
1000
)
/
100
),
seconds
=
Math
.
floor
((
duration
/
1000
)
%
60
),
minutes
=
Math
.
floor
((
duration
/
(
1000
*
60
))
%
60
),
hours
=
Math
.
floor
((
duration
/
(
1000
*
60
*
60
))
%
24
);
if
(
duration
==
0
||
!
duration
)
{
return
"0"
;
}
else
{
var
days
=
Math
.
floor
(
duration
/
(
1000
*
60
*
60
*
24
));
var
hours
=
Math
.
floor
((
duration
%
(
1000
*
60
*
60
*
24
))
/
(
1000
*
60
*
60
));
var
minutes
=
Math
.
floor
((
duration
%
(
1000
*
60
*
60
))
/
(
1000
*
60
));
var
seconds
=
Math
.
floor
((
duration
%
(
1000
*
60
))
/
1000
);
hours
=
(
hours
<
10
)
?
"0"
+
hours
:
hours
;
minutes
=
(
minutes
<
10
)
?
"0"
+
minutes
:
minutes
;
seconds
=
(
seconds
<
10
)
?
"0"
+
seconds
:
seconds
;
var
result
=
""
;
if
(
days
>
0
)
{
result
+=
days
+
" 天 "
;
}
if
(
hours
>
0
)
{
result
+=
hours
+
" 小时 "
;
}
if
(
minutes
>
0
)
{
result
+=
minutes
+
" 分钟 "
;
}
if
(
seconds
>
0
)
{
result
+=
seconds
+
" 秒 "
;
}
return
hours
+
":"
+
minutes
+
":"
+
seconds
+
"."
+
milliseconds
;
return
result
;
}
}
},
{
...
...
src/views/ccgl/ckgl/xpk/top/akck.vue
View file @
d00a6d4f
...
...
@@ -24,8 +24,10 @@
</DefaultDialog>
</template>
<
script
>
import
wlsx
from
'common/src/mixin/wlsx.js'
import
wlphsx
from
'common/src/mixin/wlphsx.js'
export
default
{
mixins
:[
wlsx
,
wlphsx
],
props
:
{
app
:
{
type
:
Object
,
...
...
src/views/ccgl/rkgl/slk/top/index.vue
View file @
d00a6d4f
...
...
@@ -91,27 +91,42 @@
{
title
:
"开始时间"
,
field
:
"kssj"
,
fieldType
:
"ftDate"
fieldType
:
"ftDate
Time
"
},
{
title
:
"结束时间"
,
field
:
"jssj"
,
fieldType
:
"ftDate"
fieldType
:
"ftDate
Time
"
},
{
title
:
"耗时"
,
field
:
"timespan"
,
width
:
240
,
formatter
(
a
,
b
,
duration
)
{
var
milliseconds
=
parseInt
((
duration
%
1000
)
/
100
),
seconds
=
Math
.
floor
((
duration
/
1000
)
%
60
),
minutes
=
Math
.
floor
((
duration
/
(
1000
*
60
))
%
60
),
hours
=
Math
.
floor
((
duration
/
(
1000
*
60
*
60
))
%
24
);
if
(
duration
==
0
||
!
duration
)
{
return
"0"
;
}
else
{
var
days
=
Math
.
floor
(
duration
/
(
1000
*
60
*
60
*
24
));
var
hours
=
Math
.
floor
((
duration
%
(
1000
*
60
*
60
*
24
))
/
(
1000
*
60
*
60
));
var
minutes
=
Math
.
floor
((
duration
%
(
1000
*
60
*
60
))
/
(
1000
*
60
));
var
seconds
=
Math
.
floor
((
duration
%
(
1000
*
60
))
/
1000
);
hours
=
(
hours
<
10
)
?
"0"
+
hours
:
hours
;
minutes
=
(
minutes
<
10
)
?
"0"
+
minutes
:
minutes
;
seconds
=
(
seconds
<
10
)
?
"0"
+
seconds
:
seconds
;
var
result
=
""
;
if
(
days
>
0
)
{
result
+=
days
+
" 天 "
;
}
if
(
hours
>
0
)
{
result
+=
hours
+
" 小时 "
;
}
if
(
minutes
>
0
)
{
result
+=
minutes
+
" 分钟 "
;
}
if
(
seconds
>
0
)
{
result
+=
seconds
+
" 秒 "
;
}
return
hours
+
":"
+
minutes
+
":"
+
seconds
+
"."
+
milliseconds
;
return
result
;
}
}
},
{
...
...
src/views/ccgl/wcsrwgl/wcsrw/index.vue
View file @
d00a6d4f
...
...
@@ -123,7 +123,7 @@
title
:
"耗时"
,
field
:
"timespan"
,
formatter
(
a
,
b
,
duration
)
{
if
(
duration
==
0
){
if
(
duration
==
0
||!
duration
){
return
0
}
else
{
var
milliseconds
=
parseInt
((
duration
%
1000
)
/
100
),
...
...
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