|
|
@@ -101,12 +101,12 @@
|
|
|
<el-tab-pane label="全部" name="all">
|
|
|
<div class="inlineb tab-item">
|
|
|
<div class="text-title">收入</div>
|
|
|
- <div class="text-num green">+ {{totalSuccess}}元</div>
|
|
|
+ <div class="text-num red">+ {{totalSuccess}}元</div>
|
|
|
<div class="count">共{{incomeCount}}笔</div>
|
|
|
</div>
|
|
|
<div class="inlineb tab-item">
|
|
|
<div class="text-title">支出</div>
|
|
|
- <div class="text-num orange">- {{paySuccess}}元</div>
|
|
|
+ <div class="text-num green">- {{paySuccess}}元</div>
|
|
|
<div class="count">共{{outcomeCount}}笔</div>
|
|
|
</div>
|
|
|
<div class="inlineb tab-item">
|
|
|
@@ -124,14 +124,14 @@
|
|
|
<el-tab-pane label="平台收入" name="income">
|
|
|
<div class="inlineb tab-item">
|
|
|
<div class="text-title">收入</div>
|
|
|
- <div class="text-num green">+ {{totalSuccess}}元</div>
|
|
|
+ <div class="text-num red">+ {{totalSuccess}}元</div>
|
|
|
<div class="count">共{{incomeCount}}笔</div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="平台支出" name="outcome">
|
|
|
<div class="inlineb tab-item">
|
|
|
<div class="text-title">支出</div>
|
|
|
- <div class="text-num orange">- {{paySuccess}}元</div>
|
|
|
+ <div class="text-num green">- {{paySuccess}}元</div>
|
|
|
<div class="count">共{{outcomeCount}}笔</div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
@@ -171,49 +171,230 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="实际金额">
|
|
|
<template slot-scope="scope">
|
|
|
+<!-- 技术信用-->
|
|
|
<div
|
|
|
- v-if="scope.row.order_type!=6 && scope.row.channel != 'balance' && scope.row.channel != 'admin_confirm' && (scope.row.channel!='qingtuanbao')"
|
|
|
+ v-if="scope.row.product_type == 13"
|
|
|
>
|
|
|
+ <!--退款-->
|
|
|
<span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- class="green"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
- </div>
|
|
|
- <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type==5">
|
|
|
- <span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ v-if="scope.row.order_type == 8"
|
|
|
+ >{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <template v-else-if="scope.row.order_type == 4">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
<span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
</div>
|
|
|
- <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type!=5">
|
|
|
- <span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- class="green"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+<!-- 提现-->
|
|
|
+ <div v-else-if="scope.row.product_type == 200">
|
|
|
+ <span class="green">
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
</div>
|
|
|
- <div v-else-if="scope.row.channel =='admin_confirm'">
|
|
|
+<!-- 充值-->
|
|
|
+ <div v-else-if="scope.row.product_type == 3">
|
|
|
<div v-if="scope.row.operator_uid==41266">
|
|
|
- <span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
- <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
- <span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- class="green"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <span class="red">+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <span
|
|
|
- v-if="parseInt(scope.row.real_amount)>=0"
|
|
|
- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+<!-- 扣款-->
|
|
|
+ <div v-else-if="scope.row.product_type == 300">
|
|
|
+ <div v-if="scope.row.operator_uid==41266">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <span class="red">+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+<!-- 云端意向金-->
|
|
|
+ <div v-else-if="scope.row.product_type == 8">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+<!-- 雇佣-->
|
|
|
+ <div v-else-if="scope.row.product_type == 4">
|
|
|
+ <!--退款-->
|
|
|
+ <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <!--结薪-->
|
|
|
+ <span v-if="scope.row.order_type == 5" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <template v-else-if="scope.row.order_type == 4 || scope.row.order_type == 1">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ </div>
|
|
|
+<!-- 云端押金-->
|
|
|
+ <div v-else-if="scope.row.product_type == 400">
|
|
|
+ <!--退款-->
|
|
|
+ <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <template v-else-if="scope.row.order_type == 1">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ </div>
|
|
|
+<!-- 云端工作-->
|
|
|
+ <div v-else-if="scope.row.product_type == 400">
|
|
|
+ <!--退款-->
|
|
|
+ <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <!--结薪-->
|
|
|
+ <template v-else-if="scope.row.order_type == 5">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="green">
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!--托管-->
|
|
|
+ <template v-else-if="scope.row.order_type == 1">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="green">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ </div>
|
|
|
+<!-- 整包-->
|
|
|
+ <div v-else-if="scope.row.product_type == 2">
|
|
|
+ <!--退款-->
|
|
|
+ <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <!--结薪-->
|
|
|
+ <template v-else-if="scope.row.order_type == 5">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="green">
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!--托管-->
|
|
|
+ <template v-else-if="scope.row.order_type == 1">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <!--解冻-->
|
|
|
+ <template v-else-if="scope.row.order_type == 7">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="green">
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
<span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
</div>
|
|
|
+<!-- 查看机会-->
|
|
|
+ <div v-else-if="scope.row.product_type == 1">
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+<!-- 其他-->
|
|
|
+ <div v-else>
|
|
|
+ <!--如果不是余额购买-->
|
|
|
+ <span v-if="scope.row.channel != 'balance'" class="red">
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ +{{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<!-- <div-->
|
|
|
+<!-- v-if="scope.row.order_type!=6 && scope.row.channel != 'balance' && scope.row.channel != 'admin_confirm' && (scope.row.channel!='qingtuanbao')"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- class="green"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type==5">-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type!=5">-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- class="green"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div v-else-if="scope.row.channel =='admin_confirm'">-->
|
|
|
+<!-- <div v-if="scope.row.operator_uid==41266">-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div v-else>-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- class="green"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div v-else>-->
|
|
|
+<!-- <span-->
|
|
|
+<!-- v-if="parseInt(scope.row.real_amount)>=0"-->
|
|
|
+<!-- >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
|
|
|
+<!-- </div>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="channel_name" label="支付方式"></el-table-column>
|
|
|
@@ -936,6 +1117,9 @@ export default {
|
|
|
.orange {
|
|
|
color: rgba(255, 152, 0, 1);
|
|
|
}
|
|
|
+.red{
|
|
|
+ color: rgb(255, 2, 30);
|
|
|
+}
|
|
|
.state-success {
|
|
|
display: inline-block;
|
|
|
padding: 0px 8px;
|