|
@ -24,6 +24,13 @@ |
|
|
<el-input size="medium" v-model="queryParams.storeName" placeholder="请输入商户名称" |
|
|
<el-input size="medium" v-model="queryParams.storeName" placeholder="请输入商户名称" |
|
|
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="业务单号" prop="witNo"> |
|
|
|
|
|
<el-input size="medium" v-model="queryParams.witNo" placeholder="请输入业务单号" |
|
|
|
|
|
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
<el-form-item label="账户编号" prop="accountNo"> |
|
|
<el-form-item label="账户编号" prop="accountNo"> |
|
|
<el-input size="medium" v-model="queryParams.accountNo" placeholder="请输入账户编号" |
|
|
<el-input size="medium" v-model="queryParams.accountNo" placeholder="请输入账户编号" |
|
|
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> |
|
|
@keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> |
|
@ -43,8 +50,7 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="用户类型" prop="userType"> |
|
|
<el-form-item label="用户类型" prop="userType"> |
|
|
<el-select v-model="queryParams.userType" placeholder="请选择用户类型" size="medium"> |
|
|
<el-select v-model="queryParams.userType" placeholder="请选择用户类型" size="medium"> |
|
|
<el-option v-for="dict in userCon" :key="dict.value" :label="dict.label" |
|
|
<el-option v-for="dict in userCon" :key="dict.value" :label="dict.label" :value="dict.value" /> |
|
|
:value="dict.value" /> |
|
|
|
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
@ -54,25 +60,35 @@ |
|
|
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true"></el-date-picker> |
|
|
end-placeholder="结束日期" :picker-options="pickerOptions" :unlink-panels="true"></el-date-picker> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-button type="primary" icon="" size="medium" @click="handleQuery">搜索</el-button> |
|
|
<div class="searchTop flexBet" style="align-items: center;"> |
|
|
<el-button icon="el-icon-refresh" size="medium" @click="resetQuery">重置</el-button> |
|
|
<el-row :gutter="10" class="mb8"> |
|
|
|
|
|
<el-button type="primary" icon="" size="medium" @click="handleQuery">搜索</el-button> |
|
|
|
|
|
<el-button icon="el-icon-refresh" size="medium" @click="resetQuery">重置</el-button> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8" style="margin-left:20px"> |
|
|
|
|
|
<el-col :span="1.5"> |
|
|
|
|
|
<el-button type="primary" plain icon="" size="medium" @click="handleExport" |
|
|
|
|
|
v-hasPermi="['order:rechargeRecord:export']">导出</el-button> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-table stripe v-loading="loading" :data="infoList" @selection-change="handleSelectionChange"> |
|
|
<el-table stripe v-loading="loading" :data="infoList" @selection-change="handleSelectionChange"> |
|
|
<el-table-column :label="'业务单号'" align="center" prop="witNo" min-width="180" /> |
|
|
<el-table-column :label="'业务单号'" align="center" prop="witNo" min-width="180" /> |
|
|
<el-table-column :label="'账户名称'" align="center" prop="storeNo" min-width="150"> |
|
|
<el-table-column :label="'账户名称'" align="center" prop="storeNo" min-width="150"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ scope.row.userType=='agent'? scope.row.name:scope.row.storeName }} |
|
|
{{ scope.row.userType == 'agent' ? scope.row.name : scope.row.storeName }} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column :label="'账号编号'" align="center" prop="accountNo" min-width="150" /> |
|
|
<el-table-column :label="'账号编号'" align="center" prop="accountNo" min-width="150" /> |
|
|
<el-table-column label="用户类型" align="center" prop="userType" min-width="120"> |
|
|
<el-table-column label="用户类型" align="center" prop="userType" min-width="120"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-tag :type=" |
|
|
<el-tag :type="scope.row.userType == 'store' |
|
|
scope.row.userType == 'store' |
|
|
|
|
|
? 'success' : 'primary' |
|
|
? 'success' : 'primary' |
|
|
"> |
|
|
"> |
|
|
{{ scope.row.userType == 'store' ? '商户' : '代理商' }} |
|
|
{{ scope.row.userType == 'store' ? '商户' : '代理商' }} |
|
|
</el-tag> |
|
|
</el-tag> |
|
|
</template> |
|
|
</template> |
|
@ -83,9 +99,8 @@ |
|
|
|
|
|
|
|
|
<el-table-column :label="'是否收入'" align="center" prop="storeNo" min-width="150"> |
|
|
<el-table-column :label="'是否收入'" align="center" prop="storeNo" min-width="150"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-tag :type=" |
|
|
<el-tag :type="scope.row.isIncome == 'yes' ? 'success' : 'primary' |
|
|
scope.row.isIncome == 'yes' ? 'success' : 'primary' |
|
|
"> |
|
|
"> |
|
|
|
|
|
{{ scope.row.isIncome == 'yes' ? '是(入金)' : '否(出金)' }} |
|
|
{{ scope.row.isIncome == 'yes' ? '是(入金)' : '否(出金)' }} |
|
|
</el-tag> |
|
|
</el-tag> |
|
|
</template> |
|
|
</template> |
|
@ -93,16 +108,16 @@ |
|
|
<el-table-column :label="'业务类型'" align="center" prop="storeNo" min-width="150"> |
|
|
<el-table-column :label="'业务类型'" align="center" prop="storeNo" min-width="150"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ scope.row.witType == 'recharge' ? '充值' : |
|
|
{{ scope.row.witType == 'recharge' ? '充值' : |
|
|
scope.row.witType == 'manual' ? '内充' : |
|
|
scope.row.witType == 'manual' ? '内充' : |
|
|
scope.row.witType == 'withdrawals' ? '提现' : |
|
|
scope.row.witType == 'withdrawals' ? '提现' : |
|
|
scope.row.witType == 'withdrawals_reject' ? '提现返还' : |
|
|
scope.row.witType == 'withdrawals_reject' ? '提现返还' : |
|
|
scope.row.witType == 'frozen' ? '冻结' : |
|
|
scope.row.witType == 'frozen' ? '冻结' : |
|
|
scope.row.witType == 'transfer' ? '资金划转' : |
|
|
scope.row.witType == 'transfer' ? '资金划转' : |
|
|
scope.row.witType == 'unfrozen' ? '解冻' : |
|
|
scope.row.witType == 'unfrozen' ? '解冻' : |
|
|
scope.row.witType == 'withdrawals_frozen' ? '冻结出款' : |
|
|
scope.row.witType == 'withdrawals_frozen' ? '冻结出款' : |
|
|
scope.row.witType == 'agent_divide' ? '代理分成' : |
|
|
scope.row.witType == 'agent_divide' ? '代理分成' : |
|
|
scope.row.witType == 'income' ? '收益' |
|
|
scope.row.witType == 'income' ? '收益' |
|
|
:'后台修改' |
|
|
: '后台修改' |
|
|
}} |
|
|
}} |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -290,7 +305,8 @@ export default { |
|
|
accountNo: null, |
|
|
accountNo: null, |
|
|
isIncome: null, |
|
|
isIncome: null, |
|
|
witType: null, |
|
|
witType: null, |
|
|
userType:null, |
|
|
userType: null, |
|
|
|
|
|
witNo: null, |
|
|
}, |
|
|
}, |
|
|
// 表单参数 |
|
|
// 表单参数 |
|
|
form: {}, |
|
|
form: {}, |
|
@ -307,6 +323,23 @@ export default { |
|
|
this.init(); |
|
|
this.init(); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
/** 导出按钮操作 */ |
|
|
|
|
|
handleExport() { |
|
|
|
|
|
const queryParams = this.queryParams; |
|
|
|
|
|
this.$confirm("是否确认导出资金流水?", "警告", { |
|
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}) |
|
|
|
|
|
.then(function () { |
|
|
|
|
|
return capitalDtlList.export(queryParams); |
|
|
|
|
|
}) |
|
|
|
|
|
.then((response) => { |
|
|
|
|
|
this.download(response.msg); |
|
|
|
|
|
this.queryParams.pageNum = 1; |
|
|
|
|
|
this.queryParams.pageSize = 20; |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
/** 手工处理 */ |
|
|
/** 手工处理 */ |
|
|
handleOrder(row) { |
|
|
handleOrder(row) { |
|
|
this.reset() |
|
|
this.reset() |
|
@ -333,23 +366,7 @@ export default { |
|
|
this.sortLevType = response.data |
|
|
this.sortLevType = response.data |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
/** 导出按钮操作 */ |
|
|
|
|
|
handleExport() { |
|
|
|
|
|
const queryParams = this.queryParams; |
|
|
|
|
|
this.$confirm("是否确认导出订单流水?", "警告", { |
|
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}) |
|
|
|
|
|
.then(function () { |
|
|
|
|
|
return capitalDtlList.export(queryParams); |
|
|
|
|
|
}) |
|
|
|
|
|
.then((response) => { |
|
|
|
|
|
this.download(response.msg); |
|
|
|
|
|
this.queryParams.pageNum = 1; |
|
|
|
|
|
this.queryParams.pageSize = 20; |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
// 多选框选中数据 |
|
|
// 多选框选中数据 |
|
|
handleSelectionChange(selection) { |
|
|
handleSelectionChange(selection) { |
|
|
this.ids = selection.map(item => item.storeId) |
|
|
this.ids = selection.map(item => item.storeId) |
|
|