|
|
@@ -16,11 +16,195 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop label="实际金额">
|
|
|
+ <el-table-column label="实际金额">
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.real_amount>0" style="color: green">+{{scope.row.real_amount}}</span>
|
|
|
- <span v-if="scope.row.real_amount<0" style="color: orange">{{scope.row.real_amount}}</span>
|
|
|
- <span v-if="scope.row.real_amount==0">{{scope.row.real_amount}}</span>
|
|
|
+ <template v-if="scope.row.channel != 'admin_confirm'">
|
|
|
+ <!-- 技术信用-->
|
|
|
+ <div
|
|
|
+ v-if="scope.row.product_type == 13"
|
|
|
+ >
|
|
|
+ <!--退款-->
|
|
|
+ <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.product_type == 200">
|
|
|
+ <span class="green">
|
|
|
+ {{(scope.row.real_amount/100).toFixed(2)}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <!-- 充值-->
|
|
|
+ <div v-else-if="scope.row.product_type == 3">
|
|
|
+ <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 == 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-else-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 == 9">
|
|
|
+ <!--退款-->
|
|
|
+ <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' && scope.row.channel != 'qingtuanbao'" 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>
|
|
|
+ <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' && scope.row.channel != 'qingtuanbao'" 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' && scope.row.channel != 'qingtuanbao'" 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' && scope.row.channel != 'qingtuanbao'" 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>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div v-if="scope.row.operator_uid != '41266'">
|
|
|
+ <span
|
|
|
+ v-if="parseInt(scope.row.real_amount)>0"
|
|
|
+ class="red"
|
|
|
+ >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <span v-else-if="parseInt(scope.row.real_amount) == 0">{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <span v-else class="green">{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <span
|
|
|
+ v-if="parseInt(scope.row.real_amount)>0"
|
|
|
+ >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
|
|
|
+ <span v-else-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>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label="当前余额">
|
|
|
@@ -177,9 +361,10 @@ export default {
|
|
|
}
|
|
|
|
|
|
.order-footer {
|
|
|
- position: absolute;
|
|
|
- bottom: 10px;
|
|
|
- left: 10px;
|
|
|
+ margin-top: 20px;
|
|
|
+ /*position: absolute;*/
|
|
|
+ /*bottom: 10px;*/
|
|
|
+ /*left: 10px;*/
|
|
|
}
|
|
|
|
|
|
.product_title {
|
|
|
@@ -194,4 +379,10 @@ export default {
|
|
|
overflow-x: scroll;
|
|
|
height: calc(100% - 40px);
|
|
|
}
|
|
|
+.orange {
|
|
|
+ color: rgba(255, 152, 0, 1);
|
|
|
+}
|
|
|
+.red{
|
|
|
+ color: rgb(255, 2, 30);
|
|
|
+}
|
|
|
</style>
|