You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.7 KiB
Vue

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<!-- 上月的日业绩提成 -->
<view>
<!-- -->
<view>
<view class="module-button">
<navigator :url="'../classify/classify?type=' +form.date" class="sort-button button bg-red">分类</navigator>
<navigator :url="'../detail/detail?dateType=' +form.date" class="detail-button button bg-red">单据明细</navigator>
</view>
<view v-if="form==null">
<view class='empty cuIcon-info'></view>
<view class='empty-text text-gray'>暂无数据</view>
</view>
<view class="cu-bar bg-white margin-top">
<view class='action' style="display: flex;justify-content: flex-start;width: 100%;">
<view style='width: 30%;'>
<text class='cuIcon-titles text-orange'></text>
<text class='text-black'>日期</text>
</view>
{{form.date}}
</view>
</view>
<view class="cu-bar bg-white margin-top">
<view class='action' style="display: flex;justify-content: flex-start;width: 100%;">
<view style='width: 30%;'>
<text class='cuIcon-titles text-orange'></text>
<text class='text-black'>总业绩</text>
</view>
<view style="display: flex;justify-content: space-around;width: 60%;">
<view>
<text class="cuIcon-title text-red"></text> 卡付
<text class='text-red'>{{form.cardAchi}}</text>
</view>
<view>
<text class="cuIcon-title text-red"></text> 现付
<text class='text-red'>{{form.cashAchi}}</text>
</view>
</view>
</view>
</view>
<view class="cu-bar bg-white margin-top">
<view class='action' style="display: flex;justify-content: flex-start;width: 100%;">
<view style='width: 30%;'>
<text class='cuIcon-titles text-orange'></text>
<text class='text-black'>总提成</text>
</view>
<view style="display: flex;justify-content: space-around;width: 60%;">
<view>
<text class="cuIcon-title text-red"></text> 卡付
<text class='text-red'>{{form.cardComm}}</text>
</view>
<view>
<text class="cuIcon-title text-red"></text> 现付
<text class='text-red'>{{form.cashComm}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
form: {},
}
},
methods: {
},
onLoad(option) {
//console.log(option.item);
if(option.item!={}){
const item = JSON.parse(option.item);
this.form = item
}
}
}
</script>
<style>
.module-button {
margin: 20rpx 0;
display: flex;
justify-content: space-between;
padding: 0 10%;
}
.module-button .button {
width: 40%;
padding: 20rpx 0;
text-align: center;
font-size: 28rpx !important;
font-weight: 550;
border-radius: 20rpx;
}
</style>