|
@@ -54,19 +54,20 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<!-- <span class="pushRecords" @click="pushRecords(scope.row)">{{ scope.row.unSettleAccountMoney ||
|
|
<!-- <span class="pushRecords" @click="pushRecords(scope.row)">{{ scope.row.unSettleAccountMoney ||
|
|
'0' }}</span> -->
|
|
'0' }}</span> -->
|
|
- {{scope.row.unSettleAccountMoney ||'0' }}
|
|
|
|
|
|
+ {{ scope.row.unSettleAccountMoney || '0' }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="已结算佣金/元" align="center">
|
|
<el-table-column label="已结算佣金/元" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<!-- <span class="pushRecords" @click="pushRecords(scope.row)">{{ scope.row.settleAccountMoney ||
|
|
<!-- <span class="pushRecords" @click="pushRecords(scope.row)">{{ scope.row.settleAccountMoney ||
|
|
'0' }}</span> -->
|
|
'0' }}</span> -->
|
|
- {{scope.row.settleAccountMoney ||'0' }}
|
|
|
|
|
|
+ {{ scope.row.settleAccountMoney || '0' }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作" width="180" align="center">
|
|
<el-table-column label="操作" width="180" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button v-if="isAdmin!=0" size="mini" type="warning" plain @click="withdrawApplyfor(scope.row)">
|
|
|
|
|
|
+ <el-button v-if="isAdmin != 0" size="mini" type="warning" plain
|
|
|
|
+ @click="withdrawApplyfor(scope.row)">
|
|
提现申请
|
|
提现申请
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -83,14 +84,15 @@
|
|
<el-descriptions border>
|
|
<el-descriptions border>
|
|
<el-descriptions-item label="分销员姓名">{{ dialogQuery.userName }}</el-descriptions-item>
|
|
<el-descriptions-item label="分销员姓名">{{ dialogQuery.userName }}</el-descriptions-item>
|
|
<el-descriptions-item label="分销员手机号">{{ dialogQuery.phone }}</el-descriptions-item>
|
|
<el-descriptions-item label="分销员手机号">{{ dialogQuery.phone }}</el-descriptions-item>
|
|
- <el-descriptions-item label="本次提现订单数/笔">{{ dialogQuery.orderCount||'--' }}</el-descriptions-item>
|
|
|
|
|
|
+ <el-descriptions-item label="本次提现订单数/笔">{{ dialogQuery.orderCount || '--' }}</el-descriptions-item>
|
|
<el-descriptions-item label="本次提现金额/元">{{ dialogQuery.unSettleAccountMoney }}</el-descriptions-item>
|
|
<el-descriptions-item label="本次提现金额/元">{{ dialogQuery.unSettleAccountMoney }}</el-descriptions-item>
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
- <div style="margin-top: 10px;font-size: 14px;color: #F4B01D ;">说明:提现的订单为今天( {{ new Date().toLocaleDateString() }} )之前</div>
|
|
|
|
|
|
+ <div style="margin-top: 10px;font-size: 14px;color: #F4B01D ;">说明:提现的订单为今天( {{ new
|
|
|
|
+ Date().toLocaleDateString() }}
|
|
|
|
+ )之前</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="forbiddenDialogVisible = false" size="small">取 消</el-button>
|
|
<el-button @click="forbiddenDialogVisible = false" size="small">取 消</el-button>
|
|
- <el-button type="primary" @click="confirmRequest" size="small">确
|
|
|
|
- 定</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="confirmRequest" :loading="requestLoading" size="small">确定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -112,8 +114,9 @@ export default {
|
|
name: "statistics",
|
|
name: "statistics",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- isAdmin:null,
|
|
|
|
|
|
+ isAdmin: null,
|
|
downloadLoading: false,
|
|
downloadLoading: false,
|
|
|
|
+ requestLoading: false,
|
|
date: "",
|
|
date: "",
|
|
listQuery: Object.assign({}, defaultListQuery),
|
|
listQuery: Object.assign({}, defaultListQuery),
|
|
list: null,
|
|
list: null,
|
|
@@ -135,7 +138,7 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.isAdmin= localStorage.getItem("isAdmin");
|
|
|
|
|
|
+ this.isAdmin = localStorage.getItem("isAdmin");
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
@@ -201,6 +204,11 @@ export default {
|
|
|
|
|
|
// 确认
|
|
// 确认
|
|
confirmRequest() {
|
|
confirmRequest() {
|
|
|
|
+ this.requestLoading = true;
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.requestLoading = false;
|
|
|
|
+
|
|
|
|
+ },1000)
|
|
withdrawRequest({ adminUserId: this.dialogQuery.adminUserId }).then(res => {
|
|
withdrawRequest({ adminUserId: this.dialogQuery.adminUserId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.$message({
|
|
this.$message({
|