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
fdde91f1
Commit
fdde91f1
authored
Jan 17, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内容完善
parent
57c1c1dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
283 additions
and
59 deletions
+283
-59
checkTable.vue
public/appnew/src/components/priceReport/checkTable.vue
+153
-0
priceReport.vue
public/appnew/src/components/priceReport/priceReport.vue
+123
-49
priceTableChange.vue
...ic/appnew/src/components/priceReport/priceTableChange.vue
+4
-6
priceTableTotal.vue
public/appnew/src/components/priceReport/priceTableTotal.vue
+3
-4
No files found.
public/appnew/src/components/priceReport/checkTable.vue
0 → 100644
View file @
fdde91f1
<
template
>
<div>
<div
class=
"table-build"
>
<div
class=
"DivBox"
v-for=
"(item,index) in data"
>
<div
class=
"halfDiv"
v-if=
"item.alipay!=0"
>
施总支付宝:
{{
item
.
alipay
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.tenpay!=0"
>
施总微信:
{{
item
.
tenpay
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.realty_pay!=0"
>
地产转账:
{{
item
.
realty_pay
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.family_pay!=0"
>
s
世家转账:
{{
item
.
family_pay
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.private_bank!=0"
>
3000账号:
{{
item
.
private_bank
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.cash!=0"
>
现金:
{{
item
.
cash
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.pos!=0"
>
POS机:
{{
item
.
pos
}}
</div>
<div
class=
"halfDiv"
v-if=
"item.other_bank!=0"
>
其他:
{{
item
.
other_bank
}}
</div>
<div
class=
"center next"
>
<div
class=
"halfDiv"
>
审核人:
{{
item
.
operation_name
}}
</div>
<div
class=
"halfDiv"
>
审核时间:
{{
item
.
create_time
}}
</div>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
'@/assets/js/layer041002.js'
;
export
default
{
name
:
''
,
props
:
{
data
:
{
type
:
Object
,
default
:
{
msg
:
'数据为空'
}
},
dataindex
:
{
type
:
[
Number
,
String
],
default
:
0
},
checkList
:
{
type
:
Array
,
}
},
data
(){
return
{
dataTotalList
:
""
,
checkList
:
[],
}
},
created
()
{
let
_this
=
this
;
},
mounted
()
{
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
,
true
);
// 监听(绑定)滚轮 滚动事件
},
methods
:
{
},
computed
:
{
}
}
</
script
>
<
style
scoped
>
.center
{
width
:
100%
;
text-align
:
center
;
}
.m-t-3
{
margin-top
:
.3rem
;
}
.table-build
{
width
:
7.5rem
;
text-align
:
center
;
}
.table_head
{
width
:
1.67rem
;
text-align
:
center
;
border-right
:
1px
solid
#eeeeee
;
padding-left
:
.36rem
;
float
:
left
;
}
.head_text_div
{
width
:
100%
;
padding
:
.24rem
0rem
.24rem
0rem
;
text-align
:
left
;
}
.table_text
{
width
:
1.6rem
;
text-align
:
center
;
border-right
:
1px
solid
#eeeeee
;
float
:
left
;
}
.table_text3
{
width
:
1.6rem
;
text-align
:
center
;
float
:
left
;
}
.table_text_div
{
width
:
100%
;
padding
:
.24rem
0rem
.24rem
0rem
;
text-align
:
center
;
}
.table_tr
{
width
:
100%
;
overflow
:
hidden
;
border-bottom
:
1px
solid
#eeeeee
;
}
.DivBox
{
width
:
100%
;
padding
:
0.18rem
0rem
0.5rem
0rem
;
overflow
:
hidden
;
border-bottom
:
1px
solid
#eeeeee
;
}
.halfDiv
{
width
:
3.03rem
;
padding
:
0rem
.36rem
;
float
:
left
;
margin-top
:
0.12rem
;
text-align
:
left
;
}
.next
{
width
:
750rem
!important
;
float
:
left
;
}
</
style
>
<!--//http://localhost:8080/#/priceReport?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY-->
\ No newline at end of file
public/appnew/src/components/priceReport/priceReport.vue
View file @
fdde91f1
<
template
>
<div>
<header-pulic
:data=
"headerData"
></header-pulic>
<div
class=
"center m-t-3"
>
财务日报日期:2019.1.12
</div>
<div
class=
"center"
>
<div
class=
"center m-t-3"
>
日期:
<input
type=
"date"
v-model=
"time"
@
change=
"resetData"
/></div>
<div
class=
"center "
>
<div
class=
"tabs"
>
<div
class=
"tab4"
:class=
"status==0?'active':''"
data-value=
"0"
>
<span
@
click=
"changeTabs"
>
中介费入账
</span>
...
...
@@ -30,7 +31,9 @@
<span>
总计
<span
style=
"font-size:.3rem;font-weight: 600;"
>
(元)
</span></span>
</div>
<table-total
:data=
"dataTotalList"
></table-total>
<table-check
:data=
"checkList"
v-if=
"commited == 1"
>
</table-check>
</div>
<div
class=
"center"
v-if=
"commited == 0"
>
<div
class=
"commite"
@
click=
"commit"
>
<span>
提交
</span>
...
...
@@ -44,6 +47,8 @@
import
priceTable
from
'@/components/priceReport/priceTable'
;
import
priceTableChange
from
'@/components/priceReport/priceTableChange'
;
import
priceTableTotal
from
'@/components/priceReport/priceTableTotal'
;
import
checkTable
from
'@/components/priceReport/checkTable'
;
export
default
{
name
:
''
,
props
:
{
...
...
@@ -61,7 +66,8 @@
components
:
{
'table-show'
:
priceTable
,
'table-change'
:
priceTableChange
,
'table-total'
:
priceTableTotal
'table-total'
:
priceTableTotal
,
'table-check'
:
checkTable
},
data
()
{
let
_this
=
this
;
...
...
@@ -106,11 +112,14 @@
earnestMoneyList
:[],
caseFeeList
:[]
,
agencyList
:[],
commited
:
0
//未提交
commited
:
0
,
//未提交
checkList
:
[]
,
time
:
''
,
}
},
created
()
{
let
_this
=
this
;
_this
.
initTime
();
_this
.
urlParams
=
_this
.
$route
.
query
;
_this
.
initData
();
...
...
@@ -120,6 +129,21 @@
// 监听(绑定)滚轮 滚动事件
},
methods
:
{
resetData
:
function
(){
let
_this
=
this
;
_this
.
initData
();
},
initTime
:
function
(){
var
that
=
this
;
// that.time = _this.nowDate
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
var
day
=
date
.
getDate
();
var
time
=
year
+
"-"
+
(
month
>
9
?
month
:
"0"
+
month
)
+
"-"
+
(
day
>
9
?
day
:
"0"
+
day
);
that
.
time
=
time
},
//切换tab标签
changeTabs
:
function
(
e
){
let
that
=
this
;
...
...
@@ -139,7 +163,6 @@
},
commit
:
function
(){
let
that
=
this
;
console
.
log
(
that
.
urlParams
);
var
params
=
{
'AuthToken'
:
that
.
urlParams
.
token
,
'agent_id'
:
that
.
urlParams
.
agent_id
,
...
...
@@ -153,7 +176,7 @@
"cash"
:
that
.
dataTotalList
.
cash
,
"pos"
:
that
.
dataTotalList
.
pos
,
"other_bank"
:
that
.
dataTotalList
.
other_bank
,
};
var
params
=
};
that
.
axios
({
method
:
'get'
,
url
:
'/broker/addDaily'
,
...
...
@@ -171,7 +194,7 @@
'AuthToken'
:
that
.
urlParams
.
token
,
'store_id'
:
that
.
urlParams
.
store_id
,
'is_store'
:
that
.
urlParams
.
is_store
,
'daily_data'
:
'2019-01-14'
'daily_data'
:
that
.
time
};
that
.
axios
({
method
:
'get'
,
...
...
@@ -185,18 +208,21 @@
var
list
=
data
.
list
;
var
check_list
=
data
.
check_list
;
var
commit_info
=
data
.
commit_info
;
that
.
commited
=
data
.
is_commit
that
.
initAgencyList
(
list
);
that
.
commited
=
data
.
is_commit
;
that
.
initAgencyList
(
list
.
agency_fee
);
that
.
initCaseFeeList
(
list
.
case_fee
);
that
.
initCustodyMoneyList
(
list
.
custody_money
);
that
.
initEarnestMoneyList
(
list
.
earnest_money
);
that
.
dataChageList
=
list
.
adjustment
;
that
.
initChange
(
list
.
adjustment
);
var
obj
=
data
.
total_info
;
obj
.
upint
=
data
.
recorded_money
;
obj
.
upoutt
=
data
.
adjustment_money
;
obj
.
souldt
=
data
.
remittance_money
;
obj
.
realin
=
data
.
remittance_money
;
that
.
dataTotalList
=
data
.
total_info
obj
.
realin
=
data
.
remittance_money
;
obj
.
commited
=
data
.
is_commit
;
obj
.
checkList
=
check_list
;
that
.
dataTotalList
=
obj
;
that
.
checkList
=
check_list
;
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
}
...
...
@@ -209,77 +235,78 @@
//生成中介费数组数据
initAgencyList
:
function
(
list
){
let
that
=
this
;
console
.
log
(
list
);
var
listArray
=
[{
"msg"
:
"成交报告ID"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
id
?
list
.
agency_fee
[
0
].
id
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
id
?
list
.
agency_fee
[
1
].
id
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
id
?
list
.
agency_fee
[
2
].
id
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
id
?
list
[
0
].
id
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
id
?
list
[
1
].
id
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
id
?
list
[
2
].
id
:
"-"
)
:
"-"
,
},
{
"msg"
:
"商铺地址"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
house_address
?
list
.
agency_fee
[
0
].
house_address
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
house_address
?
list
.
agency_fee
[
1
].
house_address
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
house_address
?
list
.
agency_fee
[
2
].
house_address
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
house_address
?
list
[
0
].
house_address
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
house_address
?
list
[
1
].
house_address
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
house_address
?
list
[
2
].
house_address
:
"-"
)
:
"-"
,
},
{
"msg"
:
"成交价"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
price
?
list
.
agency_fee
[
0
].
price
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
price
?
list
.
agency_fee
[
1
].
price
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
price
?
list
.
agency_fee
[
2
].
price
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
price
?
list
[
0
].
price
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
price
?
list
[
1
].
price
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
price
?
list
[
2
].
price
:
"-"
)
:
"-"
,
},
{
"msg"
:
"应收金额"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
price
*
0.7
?
(
list
.
agency_fee
[
0
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
price
*
0.7
?
(
list
.
agency_fee
[
1
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
price
*
0.7
?
(
list
.
agency_fee
[
2
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"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
)
:
"-"
)
:
"-"
,
},
{
"msg"
:
"本次收佣"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
money
?
list
.
agency_fee
[
0
].
money
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
money
?
list
.
agency_fee
[
1
].
money
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
money
?
list
.
agency_fee
[
2
].
money
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
?
list
[
0
].
money
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
?
list
[
1
].
money
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
money
?
list
[
2
].
money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"多收金额"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
price
-
list
.
agency_fee
[
0
].
price
*
0.7
?
(
list
.
agency_fee
[
0
].
price
-
list
.
agency_fee
[
0
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
price
-
list
.
agency_fee
[
1
].
price
*
0.7
?
(
list
.
agency_fee
[
1
].
price
-
list
.
agency_fee
[
1
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
price
-
list
.
agency_fee
[
2
].
price
*
0.7
?
(
list
.
agency_fee
[
2
].
price
-
list
.
agency_fee
[
2
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
price
-
list
[
0
].
price
*
0.7
?
(
list
[
0
].
price
-
list
[
0
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
price
-
list
[
1
].
price
*
0.7
?
(
list
[
1
].
price
-
list
[
1
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
price
-
list
[
2
].
price
*
0.7
?
(
list
[
2
].
price
-
list
[
2
].
price
*
0.7
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
},
{
"msg"
:
"支付方式"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
pay_type
?
list
.
agency_fee
[
0
].
pay_type
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
pay_type
?
list
.
agency_fee
[
1
].
pay_type
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
pay_type
?
list
.
agency_fee
[
2
].
pay_type
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
pay_type
?
list
[
0
].
pay_type
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
pay_type
?
list
[
1
].
pay_type
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
pay_type
?
list
[
2
].
pay_type
:
"-"
)
:
"-"
,
},
{
"msg"
:
"转账户名"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
transfer_name
?
list
.
agency_fee
[
0
].
transfer_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
transfer_name
?
list
.
agency_fee
[
1
].
transfer_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
transfer_name
?
list
.
agency_fee
[
2
].
transfer_name
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
transfer_name
?
list
[
0
].
transfer_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
transfer_name
?
list
[
1
].
transfer_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
transfer_name
?
list
[
2
].
transfer_name
:
"-"
)
:
"-"
,
},
{
"msg"
:
"业务员"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
agent_name
?
list
.
agency_fee
[
0
].
agent_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
agent_name
?
list
.
agency_fee
[
1
].
agent_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
agent_name
?
list
.
agency_fee
[
2
].
agent_name
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
agent_name
?
list
[
0
].
agent_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
agent_name
?
list
[
1
].
agent_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
agent_name
?
list
[
2
].
agent_name
:
"-"
)
:
"-"
,
},
{
"msg"
:
"所属门店"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
store_name
?
list
.
agency_fee
[
0
].
store_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
store_name
?
list
.
agency_fee
[
0
].
store_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
store_name
?
list
.
agency_fee
[
0
].
store_name
:
"-"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
store_name
?
list
[
0
].
store_name
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
store_name
?
list
[
0
].
store_name
:
"-"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
store_name
?
list
[
0
].
store_name
:
"-"
)
:
"-"
,
},
{
"msg"
:
"是否开业"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
is_open
==
1
?
"开业"
:
"未开业"
)
:
"-"
,
},
{
"msg"
:
"是否分红"
,
"str1"
:
list
.
agency_fee
.
length
>
0
?
(
list
.
agency_fee
[
0
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
"str2"
:
list
.
agency_fee
.
length
>
1
?
(
list
.
agency_fee
[
1
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
"str3"
:
list
.
agency_fee
.
length
>
2
?
(
list
.
agency_fee
[
2
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
"str3"
:
list
.
length
>
2
?
(
list
[
2
].
is_dividend
==
1
?
"否"
:
"是"
)
:
"-"
,
}
]
that
.
agencyList
=
listArray
;
...
...
@@ -425,7 +452,7 @@
}
]
that
.
earnestMoneyList
=
earnestMoneyList
that
.
dataList
=
earnestMoneyList
;
//
that.dataList = earnestMoneyList ;
},
initCustodyMoneyList
:
function
(
list
){
...
...
@@ -488,6 +515,53 @@
]
that
.
custodyMoneyList
=
custodyMoneyList
},
initChange
:
function
(
list
){
let
that
=
this
;
var
changeArray
=
[
{
"msg"
:
"调整ID"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
id
?
list
[
0
].
id
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
id
?
list
[
1
].
id
:
"-"
)
:
"-"
,
},
{
"msg"
:
"调整前房源ID"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
house_id
?
list
[
0
].
house_id
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
house_id
?
list
[
1
].
house_id
:
"-"
)
:
"-"
,
},
{
"msg"
:
"调整前房源地址"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
house_address
?
list
[
0
].
house_address
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
house_address
?
list
[
1
].
house_address
:
"-"
)
:
"-"
,
},
{
"msg"
:
"调整类型"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
type
*
0.7
?
(
list
[
0
].
type
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
type
*
0.7
?
(
list
[
1
].
type
).
toFixed
(
2
)
:
"-"
)
:
"-"
,
},
{
"msg"
:
"入账日期"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
create_time
?
list
[
0
].
create_time
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
create_time
?
list
[
1
].
create_time
:
"-"
)
:
"-"
,
},
{
"msg"
:
"收据编号"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
receipt_number
?
list
[
0
].
receipt_number
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
receipt_number
?
list
[
1
].
receipt_number
:
"-"
)
:
"-"
,
},
{
"msg"
:
"调整金额"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
money
?
list
[
0
].
money
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
money
?
list
[
1
].
money
:
"-"
)
:
"-"
,
},
{
"msg"
:
"附件"
,
"str1"
:
list
.
length
>
0
?
(
list
[
0
].
pay_log_id
?
list
[
0
].
pay_log_id
:
"-"
)
:
"-"
,
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
pay_log_id
?
list
[
1
].
pay_log_id
:
"-"
)
:
"-"
,
}
]
that
.
dataChageList
=
changeArray
;
}
},
computed
:
{
...
...
public/appnew/src/components/priceReport/priceTableChange.vue
View file @
fdde91f1
<
template
>
<div>
<div
class=
"table-build"
>
<div
class=
"table_tr"
v-for=
"(item,index) in
listArray
"
>
<div
class=
"table_tr"
v-for=
"(item,index) in
data
"
>
<div
class=
"table_head"
>
<div
class=
"head_text_div"
>
<span>
{{
item
.
msg
}}
</span>
...
...
@@ -47,8 +47,7 @@
created
()
{
let
that
=
this
;
console
.
log
(
that
.
data
);
that
.
initData
(
that
.
data
);
// that.initData();
},
mounted
()
{
...
...
@@ -56,9 +55,9 @@
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
,
true
);
},
methods
:
{
initData
:
function
(
list
){
initData
:
function
(){
let
that
=
this
;
console
.
log
(
list
)
let
list
=
that
.
data
;
var
listArray
=
[
{
"msg"
:
"调整ID"
,
...
...
@@ -101,7 +100,6 @@
"str2"
:
list
.
length
>
1
?
(
list
[
1
].
pay_log_id
?
list
[
1
].
pay_log_id
:
"-"
)
:
"-"
,
}
]
console
.
log
(
listArray
)
that
.
listArray
=
listArray
;
}
},
...
...
public/appnew/src/components/priceReport/priceTableTotal.vue
View file @
fdde91f1
...
...
@@ -59,26 +59,25 @@
dataindex
:
{
type
:
[
Number
,
String
],
default
:
0
}
}
,
},
data
(){
return
{
dataTotalList
:
""
dataTotalList
:
""
,
}
},
created
()
{
let
_this
=
this
;
},
mounted
()
{
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
,
true
);
// 监听(绑定)滚轮 滚动事件
},
methods
:
{
},
computed
:
{
...
...
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