Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
f1f5e02b
Commit
f1f5e02b
authored
Mar 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h5财务日报修改
parent
9de75aec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
15 deletions
+55
-15
priceReport.vue
public/appnew/src/components/priceReport/priceReport.vue
+55
-15
No files found.
public/appnew/src/components/priceReport/priceReport.vue
View file @
f1f5e02b
...
...
@@ -76,10 +76,10 @@
data
()
{
let
_this
=
this
;
let
_token
=
_this
.
$route
.
query
.
token
;
if
(
!
_token
)
{
layer
.
tipsX
(
'token获取出错'
);
return
false
;
};
//
if(!_token) {
//
layer.tipsX('token获取出错');
//
return false;
//
};
return
{
headerData
:
{
'title'
:
'财务日报'
,
...
...
@@ -120,6 +120,10 @@
checkList
:
[]
,
time
:
''
,
max
:
''
,
typeExtLiu0
:
0
,
typeExtLiu1
:
0
,
typeExtLiu2
:
0
,
}
},
created
()
{
...
...
@@ -209,10 +213,14 @@
initData
:
function
(){
let
that
=
this
;
var
params
=
{
'AuthToken'
:
that
.
urlParams
.
token
,
'store_id'
:
that
.
urlParams
.
store_id
,
'is_store'
:
that
.
urlParams
.
is_store
,
'daily_data'
:
that
.
time
// 'AuthToken': that.urlParams.token,
// 'store_id': that.urlParams.store_id,
// 'is_store': that.urlParams.is_store,
// 'daily_data': that.time
'AuthToken'
:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU1MjUyODI3Mn0.kh31IzuM6GEVnJHgH7KcLC6N67Rdm_9aq7GrUWv8bfA'
,
'store_id'
:
730
,
'is_store'
:
1
,
'daily_data'
:
'2018-12-19'
};
that
.
axios
({
method
:
'get'
,
...
...
@@ -286,7 +294,15 @@
//生成中介费数组数据
initAgencyList
:
function
(
list
){
let
that
=
this
;
console
.
log
(
list
);
if
(
list
[
0
].
type_ext
==
0
){
//由中介费类型 判断类型
that
.
typeExtLiu0
=
0.7
;
};
if
(
list
[
1
].
type_ext
==
0
){
that
.
typeExtLiu1
=
0.7
;
};
if
(
list
[
2
].
type_ext
==
0
){
that
.
typeExtLiu2
=
0.7
;
};
var
listArray
=
[{
"msg"
:
"收款ID"
,
...
...
@@ -314,9 +330,9 @@
},
{
"msg"
:
"应收金额"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
price
*
0.7
?
(
list
[
0
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
price
*
0.7
?
(
list
[
1
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
price
*
0.7
?
(
list
[
2
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
price
*
that
.
typeExtLiu0
?
(
list
[
0
].
price
*
that
.
typeExtLiu0
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
price
*
that
.
typeExtLiu1
?
(
list
[
1
].
price
*
that
.
typeExtLiu1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
price
*
that
.
typeExtLiu2
?
(
list
[
2
].
price
*
that
.
typeExtLiu2
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
},
{
"msg"
:
"本次收佣"
,
...
...
@@ -330,11 +346,17 @@
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
received_money
?
list
[
1
].
received_money
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
received_money
?
list
[
2
].
received_money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"手续费"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
transaction_fee
?
list
[
0
].
transaction_fee
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
transaction_fee
?
list
[
1
].
transaction_fee
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
transaction_fee
?
list
[
2
].
transaction_fee
:
"-"
)
:
"-"
,
},
{
"msg"
:
"多收金额"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
-
list
[
0
].
price
*
0.7
?
(
list
[
0
].
money
-
list
[
0
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
0.7
?
(
list
[
1
].
money
-
list
[
1
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
-
list
[
2
].
price
*
0.7
?
(
list
[
2
].
money
-
list
[
2
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
},
{
"msg"
:
"支付方式"
,
...
...
@@ -427,6 +449,12 @@
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
?
list
[
1
].
money
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
?
list
[
2
].
money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"手续费"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
transaction_fee
?
list
[
0
].
transaction_fee
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
transaction_fee
?
list
[
1
].
transaction_fee
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
transaction_fee
?
list
[
2
].
transaction_fee
:
"-"
)
:
"-"
,
},
{
"msg"
:
"之前已收佣"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
received_money
?
list
[
0
].
received_money
:
"-"
)
:
"-"
,
...
...
@@ -531,6 +559,12 @@
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
?
list
[
1
].
money
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
?
list
[
2
].
money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"手续费"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
transaction_fee
?
list
[
0
].
transaction_fee
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
transaction_fee
?
list
[
1
].
transaction_fee
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
transaction_fee
?
list
[
2
].
transaction_fee
:
"-"
)
:
"-"
,
},
{
"msg"
:
"支付方式"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
pay_type
?
that
.
payType
(
list
[
0
].
pay_type
)
:
"-"
)
:
"-"
,
...
...
@@ -611,6 +645,12 @@
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
?
list
[
1
].
money
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
?
list
[
2
].
money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"手续费"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
transaction_fee
?
list
[
0
].
transaction_fee
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
transaction_fee
?
list
[
1
].
transaction_fee
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
transaction_fee
?
list
[
2
].
transaction_fee
:
"-"
)
:
"-"
,
},
{
"msg"
:
"支付方式"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
pay_type
?
that
.
payType
(
list
[
0
].
pay_type
)
:
"-"
)
:
"-"
,
...
...
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