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
562db545
Commit
562db545
authored
Mar 13, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收佣金
parent
246b6294
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
6 deletions
+36
-6
reportDetails.vue
public/appnew/src/components/reportDetails/reportDetails.vue
+36
-6
No files found.
public/appnew/src/components/reportDetails/reportDetails.vue
View file @
562db545
...
...
@@ -204,9 +204,9 @@
</section>
</main>
<
!--
<footer
class=
"tc
"
>
撤销成交报告
</footer>
-->
<
footer
class=
"sales-commission"
@
click=
"commissionReturn
"
>
收佣金
</footer>
</div>
</
template
>
...
...
@@ -246,13 +246,14 @@
bargainInfo_id
:
''
,
house_id
:
''
,
user_id
:
''
,
getItem
:
""
getItem
:
""
,
report_id
:
''
}),
created
()
{
let
_this
=
this
;
_this
.
token
=
_this
.
$route
.
query
.
token
;
_this
.
bargain_id
=
_this
.
$route
.
query
.
bargain_id
;
_this
.
bargain_id
=
_this
.
$route
.
query
.
bargain_id
*
1
;
if
(
!
_this
.
token
)
{
layer
.
tipsX
(
'token获取出错'
);
return
false
;
...
...
@@ -388,6 +389,8 @@
if
(
response
.
data
.
code
==
200
&&
response
.
data
.
data
.
length
!=
0
)
{
var
data
=
response
.
data
.
data
;
that
.
getItem
=
data
;
// that.report_id=data.
}
});
},
...
...
@@ -419,7 +422,6 @@
_this
.
Datas
=
response
.
data
.
data
.
cent_commission
;
_this
.
taxDatas
=
response
.
data
.
data
.
taxes
;
_this
.
is_open
=
response
.
data
.
data
.
bargainInfo
.
is_open
;
console
.
log
(
response
);
_this
.
bargainInfo_id
=
response
.
data
.
data
.
bargainInfo
.
id
;
_this
.
house_id
=
response
.
data
.
data
.
bargainInfo
.
house_id
;
_this
.
user_id
=
response
.
data
.
data
.
bargainInfo
.
user_id
;
...
...
@@ -483,6 +485,20 @@
}
});
},
commissionReturn
:
function
()
{
//收佣金跳转到app页面
let
_this
=
this
;
this
.
common
.
Compatible
({
paraIos
:
{
'route'
:
"onShopClick"
,
},
fnAndroid
:
function
()
{
window
.
android
.
onCollectionClick
(
_this
.
bargain_id
);
},
fn
:
function
()
{
console
.
warn
(
'error'
);
}
});
},
}
}
</
script
>
...
...
@@ -665,4 +681,18 @@
.left-01-rem
{
margin-left
:
0.1rem
;
}
.sales-commission
{
position
:
fixed
;
bottom
:
.36rem
;
left
:
50%
;
margin-left
:
-2.7rem
;
width
:
5.4rem
;
height
:
.96rem
;
background
:
#FFBA12
;
line-height
:
.96rem
;
text-align
:
center
;
font-size
:
.32rem
;
color
:
#fff
;
border-radius
:
.46rem
;
}
</
style
>
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