Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
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
godwithdh
WX_h5
Commits
71f9d249
Commit
71f9d249
authored
Mar 18, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://47.110.145.204:2222/godwithdh/wx_h5
parents
85038e49
4a7ef9e0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
empAna.vue
src/view/tiip/IntReportForms/empAna.vue
+15
-5
varieties.vue
src/view/tiip/receive/varieties.vue
+4
-3
No files found.
src/view/tiip/IntReportForms/empAna.vue
View file @
71f9d249
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"CONTENT"
>
<div
class=
"CONTENT"
>
<div
class=
"iCard"
ref=
"chart1"
>
<div
class=
"iCard"
ref=
"chart1"
>
<p>
前十名员工(联动)
</p>
<p>
前十名员工(联动)
</p>
<div
ref=
"myChart1"
:style=
"
{width: '100vw', height: '
300%
',display:chartData1.length > 0 ? 'block' : 'none'}">
</div>
<div
ref=
"myChart1"
:style=
"
{width: '100vw', height: '
260px
',display:chartData1.length > 0 ? 'block' : 'none'}">
</div>
<div
class=
"noData"
v-if=
"chartData1.length
<
=
0
"
>
<div
class=
"noData"
v-if=
"chartData1.length
<
=
0
"
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
</div>
</div>
...
@@ -188,8 +188,10 @@ export default {
...
@@ -188,8 +188,10 @@ export default {
}
}
},
},
grid
:
{
grid
:
{
top
:
"40"
,
bottom
:
"20"
,
left
:
'2%'
,
// 与容器左侧的距离
left
:
'2%'
,
// 与容器左侧的距离
right
:
'
2
%'
,
// 与容器右侧的距离
right
:
'
10
%'
,
// 与容器右侧的距离
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
[
xAxis
:
[
...
@@ -260,21 +262,29 @@ export default {
...
@@ -260,21 +262,29 @@ export default {
}
}
}
}
},
},
grid
:
{
top
:
"40"
,
bottom
:
"20"
,
left
:
'2%'
,
// 与容器左侧的距离
right
:
'10%'
,
// 与容器右侧的距离
containLabel
:
true
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
data
:
id
==
0
?
this
.
chartData2
.
map
(
x
=>
x
.
sMonth
)
:
this
.
chartData3
.
map
(
x
=>
x
.
sMonth
)
data
:
id
==
0
?
this
.
chartData2
.
map
(
x
=>
x
.
sMonth
)
:
this
.
chartData3
.
map
(
x
=>
x
.
sMonth
)
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
,
type
:
'value'
,
name
:
'金额'
,
axisLabel
:
{
axisLabel
:
{
margin
:
2
,
margin
:
2
,
formatter
:
function
(
value
,
index
)
{
formatter
:
function
(
value
,
index
)
{
if
(
value
>=
1000
&&
value
<
10000
){
if
(
value
>=
1000
&&
value
<
10000
){
value
=
value
/
10
00
+
"千"
;
value
=
Math
.
round
(
value
/
10
)
/
1
00
+
"千"
;
}
else
if
(
value
>=
10000
&&
value
<
10000000
)
{
}
else
if
(
value
>=
10000
&&
value
<
10000000
)
{
value
=
value
/
100
00
+
"万"
;
value
=
Math
.
round
(
value
/
100
)
/
1
00
+
"万"
;
}
else
if
(
value
>=
10000000
)
{
}
else
if
(
value
>=
10000000
)
{
value
=
value
/
1000
0000
+
"千万"
;
value
=
Math
.
round
(
value
/
1000
)
/
1
0000
+
"千万"
;
}
}
return
value
;
return
value
;
}
}
...
...
src/view/tiip/receive/varieties.vue
View file @
71f9d249
...
@@ -63,9 +63,10 @@
...
@@ -63,9 +63,10 @@
<tbody>
<tbody>
<template
v-for=
"(v,k) in list"
>
<template
v-for=
"(v,k) in list"
>
<tr
class=
"name"
:key=
"k+'_name'"
>
<tr
class=
"name"
:key=
"k+'_name'"
>
<td
@
click=
"toDetail(k)"
>
{{
v
.
sSampleMaterialNo
}}
</td>
<td
@
click=
"toDetail(k)"
>
<td/>
<div
style=
"color: #cb855d;font-size: 11px;"
>
{{
v
.
sSampleMaterialNo
||
""
}}
</div>
<td/>
<div
style=
"font-size: 14px;"
>
{{
v
.
sProviderName
||
""
}}
</div>
</td>
</tr>
</tr>
<tr
:key=
"k+'_1'"
>
<tr
:key=
"k+'_1'"
>
<td
style=
"color:#048ECA;"
>
期初库存
</td>
<td
style=
"color:#048ECA;"
>
期初库存
</td>
...
...
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