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
266568f9
Commit
266568f9
authored
Mar 20, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务日报 多收金额 修改
parent
529152a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
11 deletions
+24
-11
priceReport.vue
public/appnew/src/components/priceReport/priceReport.vue
+24
-11
No files found.
public/appnew/src/components/priceReport/priceReport.vue
View file @
266568f9
...
@@ -76,10 +76,10 @@
...
@@ -76,10 +76,10 @@
data
()
{
data
()
{
let
_this
=
this
;
let
_this
=
this
;
let
_token
=
_this
.
$route
.
query
.
token
;
let
_token
=
_this
.
$route
.
query
.
token
;
if
(
!
_token
)
{
//
if(!_token) {
layer
.
tipsX
(
'token获取出错'
);
//
layer.tipsX('token获取出错');
return
false
;
//
return false;
};
//
};
return
{
return
{
headerData
:
{
headerData
:
{
'title'
:
'财务日报'
,
'title'
:
'财务日报'
,
...
@@ -123,6 +123,10 @@
...
@@ -123,6 +123,10 @@
typeExtLiu0
:
0
,
typeExtLiu0
:
0
,
typeExtLiu1
:
0
,
typeExtLiu1
:
0
,
typeExtLiu2
:
0
,
typeExtLiu2
:
0
,
receivedMoneyLiu1
:
0
,
receivedMoneyLiu2
:
0
,
receivedMoneyLiu3
:
0
,
}
}
},
},
...
@@ -213,10 +217,14 @@
...
@@ -213,10 +217,14 @@
initData
:
function
(){
initData
:
function
(){
let
that
=
this
;
let
that
=
this
;
var
params
=
{
var
params
=
{
'AuthToken'
:
that
.
urlParams
.
token
,
// 'AuthToken': that.urlParams.token,
'store_id'
:
that
.
urlParams
.
store_id
,
// 'store_id': that.urlParams.store_id,
'is_store'
:
that
.
urlParams
.
is_store
,
// 'is_store': that.urlParams.is_store,
'daily_data'
:
that
.
time
// 'daily_data': that.time
'AuthToken'
:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU1MjUyODI3Mn0.kh31IzuM6GEVnJHgH7KcLC6N67Rdm_9aq7GrUWv8bfA'
,
'store_id'
:
730
,
'is_store'
:
1
,
'daily_data'
:
'2018-12-19'
};
};
that
.
axios
({
that
.
axios
({
method
:
'get'
,
method
:
'get'
,
...
@@ -292,12 +300,17 @@
...
@@ -292,12 +300,17 @@
let
that
=
this
;
let
that
=
this
;
if
(
list
[
0
].
type_ext
==
0
){
//由中介费类型 判断类型
if
(
list
[
0
].
type_ext
==
0
){
//由中介费类型 判断类型
that
.
typeExtLiu0
=
0.7
;
that
.
typeExtLiu0
=
0.7
;
that
.
receivedMoneyLiu0
=
list
[
0
].
received_money
*
1
;
};
};
if
(
list
[
1
].
type_ext
==
0
){
if
(
list
[
1
].
type_ext
==
0
){
that
.
typeExtLiu1
=
0.7
;
that
.
typeExtLiu1
=
0.7
;
that
.
receivedMoneyLiu1
=
list
[
1
].
received_money
*
1
;
};
};
if
(
list
[
2
].
type_ext
==
0
){
if
(
list
[
2
].
type_ext
==
0
){
that
.
typeExtLiu2
=
0.7
;
that
.
typeExtLiu2
=
0.7
;
that
.
receivedMoneyLiu2
=
list
[
2
].
received_money
*
1
};
};
var
listArray
=
[{
var
listArray
=
[{
...
@@ -350,9 +363,9 @@
...
@@ -350,9 +363,9 @@
},
},
{
{
"msg"
:
"多收金额"
,
"msg"
:
"多收金额"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
+
list
[
0
].
received_money
*
1
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
+
list
[
0
].
received_money
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
+
that
.
receivedMoneyLiu0
*
1
?
(
list
[
0
].
money
-
list
[
0
].
price
*
that
.
typeExtLiu0
+
that
.
receivedMoneyLiu0
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
+
list
[
1
].
received_money
*
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
+
list
[
1
].
received_money
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
+
that
.
receivedMoneyLiu1
*
1
?
(
list
[
1
].
money
-
list
[
1
].
price
*
that
.
typeExtLiu1
+
that
.
receivedMoneyLiu1
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
+
list
[
2
].
received_money
*
1
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
+
list
[
2
].
received_money
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
+
that
.
receivedMoneyLiu2
*
1
?
(
list
[
2
].
money
-
list
[
2
].
price
*
that
.
typeExtLiu2
+
that
.
receivedMoneyLiu2
*
1
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
},
},
{
{
"msg"
:
"支付方式"
,
"msg"
:
"支付方式"
,
...
...
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