Commit e4268ff3 authored by 谢子梦's avatar 谢子梦

stage:发薪账户管理-新增付款账户加入

parent 4e46195f
......@@ -93,7 +93,7 @@ export function agentAccList(query) {
}
// 设置线下充值收付规则
export function setOfflineRechargeInfo(rechargeType, cardNo) {
export function setOfflineRechargeInfo(data) {
return request({
url: '/business/accInfo/recharge/offline/rule',
method: 'post',
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,14 +2,14 @@
<div class="app-container">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="直属账户" name="ownAcc">
<own-acc></own-acc>
<own-acc v-if="activeName == 'ownAcc'" :activeName="activeName"></own-acc>
</el-tab-pane>
<el-tab-pane label="代发账户" name="extAcc">
<ext-acc></ext-acc>
<ext-acc v-if="activeName == 'extAcc'" :activeName="activeName"></ext-acc>
</el-tab-pane>
</el-tabs>
<!-- 发薪账户管理页面 -->
<el-tabs v-model="payType" @tab-click="handleClick" type="card">
<!-- <el-tabs v-model="payType" @tab-click="handleClick" type="card">
<el-tab-pane label="自有发薪账号" name="first">
<el-form label-width="120px" label-position="left" class="formMain">
<el-row :gutter="30">
......@@ -56,19 +56,6 @@
通道:{{ sysPayChannelMap.get(ele.channelCode) }}
</el-col>
</el-row>
<!-- <div style="width:90%;">
<el-row>
<el-col :span="8">
可转帐余额:<span style="color:#4aa3ff;">1111</span>
</el-col>
<el-col :span="8">
可用服务费:<span style="color:#4aa3ff;">1111</span>
</el-col>
<el-col :span="8">
服务费率:<span style="color:#4aa3ff;">11111</span>
</el-col>
</el-row>
</div> -->
</div>
</div>
</el-col>
......@@ -95,8 +82,8 @@
</el-row>
</el-card>
<el-empty v-if="ownList.length == 0" description="暂无账号"></el-empty>
</el-tab-pane>
<el-tab-pane label="第三方发薪账号" name="second"> <el-form label-width="120px" label-position="left" class="formMain">
</el-tab-pane> -->
<!-- <el-tab-pane label="第三方发薪账号" name="second"> <el-form label-width="120px" label-position="left" class="formMain">
<el-row :gutter="30">
<el-col :span="8">
<el-form-item label="支付宝外卡卡号">
......@@ -145,19 +132,6 @@
</el-col>
</el-row>
</div>
<!-- <div style="width:90%;">
<el-row>
<el-col :span="8">
可转帐余额:<span style="color:#4aa3ff;">222</span>
</el-col>
<el-col :span="8">
可用服务费:<span style="color:#4aa3ff;">2222</span>
</el-col>
<el-col :span="8">
服务费率:<span style="color:#4aa3ff;">2222</span>
</el-col>
</el-row>
</div> -->
</div>
</div>
</el-col>
......@@ -212,8 +186,8 @@
</el-card>
<el-empty v-if="thirdParty.length == 0 && (!signNoAccList || signNoAccList.length == 0)"
description="暂无账号"></el-empty>
</el-tab-pane>
</el-tabs>
</el-tab-pane> -->
<!-- </el-tabs> -->
<!-- 去发薪对话框 -->
<el-dialog title="发薪选择" :visible.sync="payVisible" width="38%" center>
<div class="salarySelectionStyle">
......@@ -710,14 +684,14 @@ export default {
created() {
},
mounted() {
this.sysPayChannelAll()
if (this.payType == 'first') {
this.params.bindType = 1
this.getListAllAccInfoFN()
} else if (this.payType == 'second') {
this.params.bindType = 2
this.getListAllAccInfoFN()
}
// this.sysPayChannelAll()
// if (this.payType == 'first') {
// this.params.bindType = 1
// this.getListAllAccInfoFN()
// } else if (this.payType == 'second') {
// this.params.bindType = 2
// this.getListAllAccInfoFN()
// }
},
methods: {
sysPayChannelAll() {
......@@ -903,14 +877,16 @@ export default {
},
// tab发生变化时执行
handleClick(tab, event) {
if (this.payType == 'first') {
this.params.bindType = 1
this.getListAllAccInfoFN()
} else if (this.payType == 'second') {
this.params.bindType = 2
this.getListAllAccInfoFN()
this.queryHasNoAccOut();
}
console.log('activeName', this.activeName);
this.$forceUpdate()
// if (this.payType == 'first') {
// this.params.bindType = 1
// this.getListAllAccInfoFN()
// } else if (this.payType == 'second') {
// this.params.bindType = 2
// this.getListAllAccInfoFN()
// this.queryHasNoAccOut();
// }
// console.log(tab, event);
// console.log('payType', this.payType);
},
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment