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
f41751ec
Commit
f41751ec
authored
Feb 28, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工分析
parent
e1ee5b93
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
263 additions
and
94 deletions
+263
-94
index.js
src/router/index.js
+2
-2
empAna.vue
src/view/tiip/IntReportForms/empAna.vue
+2
-2
index.vue
src/view/tiip/IntReportForms/index.vue
+15
-8
liabilities.vue
src/view/tiip/IntReportForms/liabilities.vue
+2
-1
liabilities_detail.vue
src/view/tiip/IntReportForms/liabilities_detail.vue
+1
-1
salesStatistics.vue
src/view/tiip/IntReportForms/salesStatistics.vue
+163
-16
index.vue
src/view/tiip/receive/index.vue
+2
-0
varieties.vue
src/view/tiip/receive/varieties.vue
+1
-0
varietiesDetail.vue
src/view/tiip/receive/varietiesDetail.vue
+75
-64
No files found.
src/router/index.js
View file @
f41751ec
...
@@ -356,7 +356,7 @@ let tipRoutes = [
...
@@ -356,7 +356,7 @@ let tipRoutes = [
name
:
"receive"
,
name
:
"receive"
,
component
:()
=>
import
(
"@/view/tiip/receive/index.vue"
),
component
:()
=>
import
(
"@/view/tiip/receive/index.vue"
),
meta
:{
meta
:{
title
:
"收发存"
title
:
"收发存
报表
"
}
}
},
},
{
{
...
@@ -372,7 +372,7 @@ let tipRoutes = [
...
@@ -372,7 +372,7 @@ let tipRoutes = [
name
:
"receive_varieties_detail"
,
name
:
"receive_varieties_detail"
,
component
:()
=>
import
(
"@/view/tiip/receive/varietiesDetail.vue"
),
component
:()
=>
import
(
"@/view/tiip/receive/varietiesDetail.vue"
),
meta
:{
meta
:{
title
:
"
接单详情
"
title
:
"
收发存明细
"
}
}
},
},
]
]
...
...
src/view/tiip/IntReportForms/empAna.vue
View file @
f41751ec
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import url("../../../styles/common.less");
@import url("../../../styles/common.less");
#empAna{
#empAna{
background:#dce9fe;
//
background:#dce9fe;
>.CONTENT{
>.CONTENT{
.iCard{
.iCard{
height:260px;
height:260px;
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
id=
"empAna"
>
<div
id=
"empAna"
>
<div
class=
"
HEADER
"
>
<div
class=
"
head
"
>
<dateMonth
@
month=
"searchData"
/>
<dateMonth
@
month=
"searchData"
/>
</div>
</div>
<div
class=
"CONTENT"
>
<div
class=
"CONTENT"
>
...
...
src/view/tiip/IntReportForms/index.vue
View file @
f41751ec
...
@@ -127,14 +127,22 @@
...
@@ -127,14 +127,22 @@
</swiper>
</swiper>
</div>
</div>
<div
class=
"TAB"
>
<div
class=
"TAB"
>
<button-tab
class=
"buttonTab"
:value=
"activeBtn"
>
<tab
v-model=
"activeBtn"
>
<tab-item
@
on-item-click=
"situation='salesStatistics'"
>
销售统计
</tab-item>
<tab-item
@
on-item-click=
"situation='empAna'"
>
员工分析
</tab-item>
<tab-item
@
on-item-click=
"situation='revenue'"
>
收支分析
</tab-item>
<tab-item
@
on-item-click=
"situation='liabilities'"
>
负债分析
</tab-item>
<tab-item
@
on-item-click=
"situation='repayment'"
>
回款额
</tab-item>
<tab-item
@
on-item-click=
"situation='cost'"
>
费用分析
</tab-item>
</tab>
<!--
<button-tab
class=
"buttonTab"
:value=
"activeBtn"
>
<button-tab-item
@
on-item-click=
"situation='salesStatistics'"
>
销售统计
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='salesStatistics'"
>
销售统计
</button-tab-item>
<
!--
<button-tab-item
@
on-item-click=
"situation='empAna'"
>
员工排行
</button-tab-item>
--
>
<
button-tab-item
@
on-item-click=
"situation='empAna'"
>
员工分析
</button-tab-item
>
<button-tab-item
@
on-item-click=
"situation='revenue'"
>
收支分析
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='revenue'"
>
收支分析
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='liabilities'"
>
负债分析
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='liabilities'"
>
负债分析
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='repayment'"
>
回款额
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='repayment'"
>
回款额
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='cost'"
>
费用分析
</button-tab-item>
<button-tab-item
@
on-item-click=
"situation='cost'"
>
费用分析
</button-tab-item>
</button-tab>
</button-tab>
-->
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<component
:is=
"situation"
/>
<component
:is=
"situation"
/>
...
@@ -144,7 +152,8 @@
...
@@ -144,7 +152,8 @@
<
script
>
<
script
>
import
Util
from
'@/libs/util.js'
;
import
Util
from
'@/libs/util.js'
;
import
{
mapState
}
from
'vuex'
;
import
{
mapState
}
from
'vuex'
;
import
{
Swiper
,
SwiperItem
,
ButtonTab
,
ButtonTabItem
}
from
'vux'
;
import
{
Swiper
,
SwiperItem
,
Tab
,
TabItem
}
from
'vux'
;
import
salesStatistics
from
"./salesStatistics"
import
salesStatistics
from
"./salesStatistics"
import
empAna
from
"./empAna"
import
empAna
from
"./empAna"
import
revenue
from
"./revenue"
import
revenue
from
"./revenue"
...
@@ -153,7 +162,7 @@ import cost from "./cost"
...
@@ -153,7 +162,7 @@ import cost from "./cost"
import
liabilities
from
"./liabilities"
import
liabilities
from
"./liabilities"
export
default
{
export
default
{
name
:
"IntReportForms"
,
name
:
"IntReportForms"
,
components
:{
Swiper
,
SwiperItem
,
ButtonTab
,
Button
TabItem
,
salesStatistics
,
empAna
,
revenue
,
repayment
,
cost
,
liabilities
},
components
:{
Swiper
,
SwiperItem
,
Tab
,
TabItem
,
salesStatistics
,
empAna
,
revenue
,
repayment
,
cost
,
liabilities
},
data
(){
data
(){
return
{
return
{
list
:[],
list
:[],
...
@@ -161,13 +170,11 @@ export default {
...
@@ -161,13 +170,11 @@ export default {
situation
:
"salesStatistics"
,
situation
:
"salesStatistics"
,
}
}
},
},
created
(){
this
.
$store
.
dispatch
(
'saveUserId'
,
this
.
$route
.
params
.
userId
);
},
computed
:{
computed
:{
},
},
mounted
(){
mounted
(){
this
.
$store
.
dispatch
(
'saveUserId'
,
this
.
$route
.
params
.
userId
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
init
()
this
.
init
()
})
})
...
...
src/view/tiip/IntReportForms/liabilities.vue
View file @
f41751ec
...
@@ -88,7 +88,8 @@
...
@@ -88,7 +88,8 @@
</div>
</div>
<div
class=
"HEADER iCard"
>
<div
class=
"HEADER iCard"
>
<span
style=
"color:#777;margin-right:10rpx;"
>
总负债额
</span>
<span
style=
"color:#777;margin-right:10rpx;"
v-if=
"activeIndex=='客户'"
>
总映山红额
</span>
<span
style=
"color:#777;margin-right:10rpx;"
v-else
>
总欠款额
</span>
<div
:style=
"
{'width':rate+'%','background':color}">
</div>
<div
:style=
"
{'width':rate+'%','background':color}">
</div>
<span
class=
"number"
>
{{
total
}}
万
</span>
<span
class=
"number"
>
{{
total
}}
万
</span>
</div>
</div>
...
...
src/view/tiip/IntReportForms/liabilities_detail.vue
View file @
f41751ec
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
},
},
}
}
},
},
moun
ted
(){
activa
ted
(){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
getDetail
();
this
.
getDetail
();
})
})
...
...
src/view/tiip/IntReportForms/salesStatistics.vue
View file @
f41751ec
This diff is collapsed.
Click to expand it.
src/view/tiip/receive/index.vue
View file @
f41751ec
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
display: block;
display: block;
height: 200px;
height: 200px;
overflow-y: scroll;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
height: calc(100vh - 160px);
height: calc(100vh - 160px);
>div{
>div{
background: #fff;
background: #fff;
...
@@ -159,6 +160,7 @@ export default {
...
@@ -159,6 +160,7 @@ export default {
}
}
},
},
created
(){
created
(){
this
.
$store
.
dispatch
(
'saveUserId'
,
this
.
$route
.
params
.
userId
);
this
.
init
();
this
.
init
();
this
.
global
.
$off
(
'searchData'
);
this
.
global
.
$off
(
'searchData'
);
...
...
src/view/tiip/receive/varieties.vue
View file @
f41751ec
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
display: block;
display: block;
height: 200px;
height: 200px;
overflow-y: scroll;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
height: calc(100vh - 160px);
height: calc(100vh - 160px);
>tr{
>tr{
height:30px;
height:30px;
...
...
src/view/tiip/receive/varietiesDetail.vue
View file @
f41751ec
...
@@ -12,18 +12,25 @@
...
@@ -12,18 +12,25 @@
display: block;
display: block;
height: 200px;
height: 200px;
overflow-y: scroll;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
height: calc(100vh - 160px);
height: calc(100vh - 160px);
>div{
background: #fff;
border-radius: 5px;
margin: 5px;
box-shadow: 0 1px 3px #bababa;
overflow: hidden;
>tr{
>tr{
height:30px;
&.user{
&.user{
background:#fff;
background:#fff;
>td{
>td{
color:#5E9AFE;
color:#5E9AFE;
text-align: left;
text-align: left;
padding-left:20
px;
padding: 6px 15
px;
}
}
}
}
&.addr{
&.addr{
background:#eef4fe;
>td{
>td{
color:#068FCA;
color:#068FCA;
text-align: left;
text-align: left;
...
@@ -31,8 +38,11 @@
...
@@ -31,8 +38,11 @@
}
}
}
}
&.num{
&.num{
height:35px;
background:#fff;
background:#fff;
>td{
padding:4px 0;
}
}
}
}
}
}
}
}
...
@@ -65,6 +75,7 @@
...
@@ -65,6 +75,7 @@
</thead>
</thead>
<tbody>
<tbody>
<template
v-for=
"(v,k) in list"
>
<template
v-for=
"(v,k) in list"
>
<div
:key=
"k"
>
<tr
class=
"user"
:key=
"k+'_user'"
>
<tr
class=
"user"
:key=
"k+'_user'"
>
<td
@
click=
"toDetail(v.sProviderName)"
style=
"text-decoration: underline;"
>
{{
v
.
sProviderName
}}
</td>
<td
@
click=
"toDetail(v.sProviderName)"
style=
"text-decoration: underline;"
>
{{
v
.
sProviderName
}}
</td>
<td/>
<td/>
...
@@ -110,7 +121,7 @@
...
@@ -110,7 +121,7 @@
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthYD
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthYD
||
0
}}
</td>
<td>
{{
v
.
nStockWeight
||
0
}}
</td>
<td>
{{
v
.
nStockWeight
||
0
}}
</td>
</tr>
</tr>
<
tr
:key=
"k+'_5'"
style=
"height:10px;background:transparent;"
/
>
<
/div
>
</
template
>
</
template
>
</tbody>
</tbody>
</table>
</table>
...
...
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