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
564d0795
Commit
564d0795
authored
Dec 14, 2019
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boss
parent
ff6834b6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
34 deletions
+34
-34
Finance.vue
src/view/tiip/kanban/Finance.vue
+5
-5
abnormal.vue
src/view/tiip/kanban/abnormal.vue
+16
-16
capital.vue
src/view/tiip/kanban/capital.vue
+8
-8
operate.vue
src/view/tiip/kanban/operate.vue
+5
-5
No files found.
src/view/tiip/kanban/Finance.vue
View file @
564d0795
...
...
@@ -95,11 +95,11 @@ export default {
methods
:{
async
search
(){
var
value
=
await
this
.
request
(
"getBoss"
,{
data
:[
{
key
:
"url"
,
value
:
"Financial Summary"
}],
params
:{
begin_date
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)
,
end_date
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
,
},
data
:[
{
key
:
"url"
,
value
:
"Financial Summary"
},
{
key
:
"begin_date"
,
value
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)}
,
{
key
:
"end_date"
,
value
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
}
,
]
},
"加载中"
,{})
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
this
.
list
=
value
...
...
src/view/tiip/kanban/abnormal.vue
View file @
564d0795
...
...
@@ -15,7 +15,7 @@
justify-content: center;
align-items: center;
background:#fff;
padding:5px
0
;
padding:5px
2px
;
}
&:first-child>div{
border-left:2px solid #8D90FF;
...
...
@@ -39,13 +39,13 @@
<div>
销售退货
</div>
</td>
<td>
<div>
{{
value
[
'销售退货'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'销售退货'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
<td
style=
"width:100px;"
>
<div>
采购退货
</div>
</td>
<td>
<div>
{{
value
[
'采购退货'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'采购退货'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
</tr>
<tr>
...
...
@@ -53,13 +53,13 @@
<div>
加工回修
</div>
</td>
<td>
<div>
{{
value
[
'加工回修'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'加工回修'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
<td>
<div>
疵品数量
</div>
</td>
<td>
<div>
{{
value
[
'疵品汇总'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'疵品汇总'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
</tr>
<tr>
...
...
@@ -70,13 +70,13 @@
<div>
数量
</div>
</td>
<td>
<div>
{{
value
[
'拖期订单总数量'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'拖期订单总数量'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
<td>
<div>
金额
</div>
</td>
<td>
<div>
{{
value
[
'拖期订单总金额'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'拖期订单总金额'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
</tr>
<tr>
...
...
@@ -84,13 +84,13 @@
<div>
供应商赔款
</div>
</td>
<td>
<div>
{{
value
[
'供应商索赔'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'供应商索赔'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
<td>
<div>
客户赔款
</div>
</td>
<td>
<div>
{{
value
[
'客户索赔'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'客户索赔'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
</tr>
<tr>
...
...
@@ -98,13 +98,13 @@
<div>
超期应收额
</div>
</td>
<td>
<div>
{{
value
[
'超期应收'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'超期应收'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
<td>
<div>
超期应付额
</div>
</td>
<td>
<div>
{{
value
[
'超期应付'
]
||
0
}}
</div>
<div>
{{
Number
(
value
[
'超期应付'
]
||
0
).
toLocaleString
()
}}
</div>
</td>
</tr>
</table>
...
...
@@ -139,11 +139,11 @@ export default {
methods
:{
async
search
(){
var
value
=
await
this
.
request
(
'getBoss'
,{
data
:[
{
key
:
"url"
,
value
:
"Abnormal early warning"
}],
params
:{
begin_date
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)
,
end_date
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
,
},
data
:[
{
key
:
"url"
,
value
:
"Abnormal early warning"
},
{
key
:
"begin_date"
,
value
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)}
,
{
key
:
"end_date"
,
value
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
}
,
]
},
"加载中"
,{})
if
(
typeof
value
==
"object"
&&
value
.
length
>
0
){
this
.
value
=
value
[
0
]
...
...
src/view/tiip/kanban/capital.vue
View file @
564d0795
...
...
@@ -22,7 +22,7 @@
<div
style=
"font-size:13px;margin-bottom:14px;"
>
{{
v
.
sName
}}
</div>
<div
style=
"font-size: 28px;font-weight: 600;"
>
{{
Number
(
v
.
sValue
)
||
0
}}
</div>
</div>
<div
style=
"align-self: flex-end;"
v-if=
"v.rate=0"
>
<div
style=
"align-self: flex-end;"
v-if=
"v.rate
!
=0"
>
<div>
{{
v
.
rate
>
0
?
'↑'
:
'↓'
}}{{
v
.
rate
}}
%
</div>
<div>
比
{{
dateModeName
}}{{
v
.
rate
>
0
?
'上'
:
'下'
}}
降
</div>
</div>
...
...
@@ -69,16 +69,16 @@ export default{
methods
:{
async
search
(){
var
value
=
await
this
.
request
(
"getBoss"
,{
data
:[
{
key
:
"url"
,
value
:
"Summary of funds"
}],
params
:{
begin_date
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)
,
end_date
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
,
}
data
:[
{
key
:
"url"
,
value
:
"Summary of funds"
},
{
key
:
"begin_date"
,
value
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)}
,
{
key
:
"end_date"
,
value
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
}
,
]
},
"加载中"
,{})
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
this
.
list
=
value
.
map
(
v
=>
{
if
(
v
.
sValued
==
0
){
v
.
rate
=
100
if
(
v
.
sValued
==
0
&&
v
.
sValue
!=
0
){
v
.
rate
=
v
.
sValue
>
0
?
100
:
-
100
}
else
if
(
v
.
sValue
==
0
){
v
.
rate
=
0
}
else
{
...
...
src/view/tiip/kanban/operate.vue
View file @
564d0795
...
...
@@ -96,11 +96,11 @@ export default {
methods
:{
async
search
(){
var
value
=
await
this
.
request
(
'getBoss'
,{
data
:[
{
key
:
"url"
,
value
:
"Operation gai"
}],
params
:{
begin_date
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)
,
end_date
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
,
}
,
data
:[
{
key
:
"url"
,
value
:
"Operation gai"
},
{
key
:
"begin_date"
,
value
:
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
)}
,
{
key
:
"end_date"
,
value
:(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
}
,
]
,
},
"加载中"
,{})
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
this
.
list
=
value
...
...
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