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
191472a5
Commit
191472a5
authored
Apr 18, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经营分析
parent
d46a388e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
host.js
src/libs/host.js
+2
-2
Finance.vue
src/view/tiip/kanban/Finance.vue
+8
-8
FinanceDetail.vue
src/view/tiip/kanban/FinanceDetail.vue
+2
-1
No files found.
src/libs/host.js
View file @
191472a5
...
...
@@ -15,8 +15,8 @@ function urlFun(name){
// default:`http://192.168.4.34:5001`,
// default:`https://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest`,
// default:`https://weixin.huansi.net/apiproxy/huansi/service/proxy/${userID}`,
default
:
`https://weixin.huansi.net/apiproxy/huansi/Tip`
,
//
default:`https://weixin.huansi.net/apiproxy/huansi/TIP_Test`,
//
default:`https://weixin.huansi.net/apiproxy/huansi/Tip`,
default
:
`https://weixin.huansi.net/apiproxy/huansi/TIP_Test`
,
/**
* 基本地址
*/
...
...
src/view/tiip/kanban/Finance.vue
View file @
191472a5
...
...
@@ -65,14 +65,14 @@
<div
class=
"Finance"
:style=
"list.length==0&&'background:#fff;height:100%;'"
>
<div
class=
"card"
v-if=
"list.length>0"
>
<span
class=
"title"
>
应收应付
</span>
<span
class=
"more"
@
click=
"more(1)"
>
更多
</span>
<span
class=
"more"
@
click=
"more(1
,0
)"
>
更多
</span>
<div
class=
"should"
>
<div>
<div
@
click=
"more(1,0)"
>
<span>
应收账款
</span>
<span>
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"应收"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"应收"
)[
0
].
nAmount
||
0
).
toLocaleString
()
}}
</span>
<span>
余额:
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"应收"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"应收"
)[
0
].
nCloseAmount
||
0
).
toLocaleString
()
}}
</span>
</div>
<div>
<div
@
click=
"more(1,1)"
>
<span>
应付账款
</span>
<span
style=
"color:red;"
>
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"应付"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"应付"
)[
0
].
nAmount
||
0
).
toLocaleString
()
}}
</span>
<span>
余额:
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"应付"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"应付"
)[
0
].
nCloseAmount
||
0
).
toLocaleString
()
}}
</span>
...
...
@@ -81,13 +81,13 @@
</div>
<div
class=
"card"
v-if=
"list.length>0"
>
<span
class=
"title"
>
实收实付
</span>
<span
class=
"more"
@
click=
"more(2)"
>
更多
</span>
<span
class=
"more"
@
click=
"more(2
,0
)"
>
更多
</span>
<div
class=
"actual"
>
<div>
<div
@
click=
"more(2,0)"
>
<span>
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"实付"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"实付"
)[
0
].
nAmount
||
0
).
toLocaleString
()
}}
</span>
<span>
实收账款
</span>
</div>
<div>
<div
@
click=
"more(2,1)"
>
<span
style=
"color:red;"
>
{{
(
list
.
filter
(
v
=>
v
.
sName
==
"实付"
)[
0
]
&&
list
.
filter
(
v
=>
v
.
sName
==
"实付"
)[
0
].
nAmount
||
0
).
toLocaleString
()
}}
</span>
<span>
实付账款
</span>
</div>
...
...
@@ -153,8 +153,8 @@ export default {
})
}
},
more
(
val
){
this
.
$router
.
push
({
name
:
"financeDetail"
,
params
:{
mode
:
val
}})
more
(
val
,
tabIndex
){
this
.
$router
.
push
({
name
:
"financeDetail"
,
params
:{
mode
:
val
,
tabIndex
:
tabIndex
}})
},
},
}
...
...
src/view/tiip/kanban/FinanceDetail.vue
View file @
191472a5
...
...
@@ -26,6 +26,7 @@
flex-grow:1;
overflow: auto;
height:1px;
font-size:15px;
>.list{
background:#fff;
display:flex;
...
...
@@ -110,7 +111,7 @@ export default {
}
},
activated
(){
this
.
tabIndex
=
this
.
$route
.
params
.
tabIndex
this
.
global
.
$off
(
'searchData'
);
//查询条件触发加载
this
.
global
.
$on
(
'searchData'
,
async
()
=>
{
...
...
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