Commit 562db545 authored by agping's avatar agping

收佣金

parent 246b6294
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment