银行卡
This commit is contained in:
parent
943a7e54f6
commit
05610ee475
|
@ -17,4 +17,12 @@ export const wallet = {
|
|||
data,
|
||||
});
|
||||
},
|
||||
//钱包提现订单
|
||||
WithdrawalRecord: (data) => {
|
||||
return $http.request({
|
||||
url: `/merchant-api/walletDrawCashOrder/page`,
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
|
|
@ -53,6 +53,18 @@
|
|||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label-width="150px"
|
||||
label="银行卡号:"
|
||||
prop="cardNo"
|
||||
>
|
||||
<el-input
|
||||
style="width: 300px"
|
||||
v-model="modalData.cardNo"
|
||||
placeholder="请输入银行卡号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item
|
||||
label-width="150px"
|
||||
label="银行类型:"
|
||||
prop="bankType"
|
||||
|
@ -75,7 +87,7 @@
|
|||
:key="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label-width="150px" label="企业名称" prop="cas">
|
||||
|
@ -271,6 +283,18 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label-width="150px"
|
||||
label="营业执照号:"
|
||||
prop="licenseNumber"
|
||||
>
|
||||
<el-input
|
||||
style="width: 300px"
|
||||
v-model="modalData.licenseNumber"
|
||||
placeholder="请输入营业执照号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item
|
||||
label-width="150px"
|
||||
label="银行卡号:"
|
||||
prop="cardNo"
|
||||
|
@ -281,10 +305,10 @@
|
|||
placeholder="请输入银行卡号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<!-- <el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label-width="150px"
|
||||
|
@ -299,7 +323,7 @@
|
|||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-row> -->
|
||||
</el-row>
|
||||
<el-row v-show="process == 2 && modalData.bankAcctType == 1">
|
||||
<el-row>
|
||||
|
@ -461,6 +485,18 @@
|
|||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label-width="150px"
|
||||
label="银行卡号:"
|
||||
prop="cardId"
|
||||
>
|
||||
<el-input
|
||||
style="width: 300px"
|
||||
v-model="modalData.cardId"
|
||||
placeholder="请输入银行卡号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item
|
||||
label-width="150px"
|
||||
label="银行类型:"
|
||||
prop="bankType"
|
||||
|
@ -483,7 +519,7 @@
|
|||
:key="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
|
@ -512,7 +548,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
<!-- <el-form-item
|
||||
label-width="150px"
|
||||
label="银行卡号:"
|
||||
prop="cardId"
|
||||
|
@ -523,7 +559,7 @@
|
|||
placeholder="请输入银行卡号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
</el-form-item>
|
||||
<el-form-item label="申请时间">
|
||||
<el-date-picker
|
||||
@change="changeTime"
|
||||
v-model="value1"
|
||||
type="datetimerange"
|
||||
start-placeholder="开始日期"
|
||||
|
@ -95,12 +96,24 @@
|
|||
<el-button type="primary" @click="Reset">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div>
|
||||
<el-table :data="tableData" style="width: 100%">
|
||||
<el-table-column prop="date" label="提现申请订单号" width="180">
|
||||
<el-table-column
|
||||
prop="cashOutOrderNumber"
|
||||
label="提现申请订单号"
|
||||
width="180"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" label="提现申请金额" width="180">
|
||||
<el-table-column
|
||||
prop="cashOutAmount"
|
||||
label="提现申请金额"
|
||||
width="180"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="address" label="申请状态">
|
||||
<el-table-column prop="cashOutStatus" label="申请状态">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ getStatus(scope.row.cashOutStatus) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="address" label="提现申请时间">
|
||||
</el-table-column>
|
||||
|
@ -108,6 +121,7 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pagination-container">
|
||||
<el-pagination
|
||||
:current-page="query.pageNumber"
|
||||
|
@ -137,33 +151,17 @@ export default {
|
|||
return {
|
||||
value1: [],
|
||||
userInfo: {},
|
||||
tableData: [
|
||||
{
|
||||
date: "2016-05-02",
|
||||
name: "王小虎",
|
||||
address: "上海市普陀区金沙江路 1518 弄",
|
||||
},
|
||||
{
|
||||
date: "2016-05-04",
|
||||
name: "王小虎",
|
||||
address: "上海市普陀区金沙江路 1517 弄",
|
||||
},
|
||||
{
|
||||
date: "2016-05-01",
|
||||
name: "王小虎",
|
||||
address: "上海市普陀区金沙江路 1519 弄",
|
||||
},
|
||||
{
|
||||
date: "2016-05-03",
|
||||
name: "王小虎",
|
||||
address: "上海市普陀区金沙江路 1516 弄",
|
||||
},
|
||||
],
|
||||
tableData: [],
|
||||
query: {
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
cashOutStatus: "",
|
||||
},
|
||||
formInline: {
|
||||
cashOutStatus: "",
|
||||
startCashOutTime: "",
|
||||
endCashOutTime: "",
|
||||
},
|
||||
formInline: {},
|
||||
total: 0,
|
||||
};
|
||||
},
|
||||
|
@ -177,6 +175,11 @@ export default {
|
|||
console.log(res);
|
||||
this.userInfo = res.data.data;
|
||||
});
|
||||
this.$api.wallet.WithdrawalRecord(this.query).then((res) => {
|
||||
console.log(res, "1122");
|
||||
|
||||
this.tableData = res.data.data.data;
|
||||
});
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
this.query.pageSize = val;
|
||||
|
@ -209,6 +212,30 @@ export default {
|
|||
this.$message.error("获取银行卡失败");
|
||||
});
|
||||
},
|
||||
getStatus(row) {
|
||||
if (row == 1) {
|
||||
return "审核中";
|
||||
} else if (row == 2) {
|
||||
return "审核不通过";
|
||||
} else if (row == 3) {
|
||||
return "审核成功";
|
||||
} else if (row == 4) {
|
||||
return "提现中";
|
||||
} else if (row == 5) {
|
||||
return "提现失败";
|
||||
} else if (row == 6) {
|
||||
return "提现成功";
|
||||
}
|
||||
},
|
||||
changeTime(row) {
|
||||
if (row) {
|
||||
this.formInline.startCashOutTime = row[0];
|
||||
this.formInline.endCashOutTime = row[1];
|
||||
} else {
|
||||
this.formInline.startCashOutTime = "";
|
||||
this.formInline.endCashOutTime = "";
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
@ -224,6 +251,7 @@ export default {
|
|||
border-radius: 4px;
|
||||
padding: 20px;
|
||||
height: 85vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.userInfo {
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in New Issue