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

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

parent 4e46195f
...@@ -93,7 +93,7 @@ export function agentAccList(query) { ...@@ -93,7 +93,7 @@ export function agentAccList(query) {
} }
// 设置线下充值收付规则 // 设置线下充值收付规则
export function setOfflineRechargeInfo(rechargeType, cardNo) { export function setOfflineRechargeInfo(data) {
return request({ return request({
url: '/business/accInfo/recharge/offline/rule', url: '/business/accInfo/recharge/offline/rule',
method: 'post', method: 'post',
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<div class="app-container"> <div class="app-container">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="直属账户" name="ownAcc"> <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>
<el-tab-pane label="代发账户" name="extAcc"> <el-tab-pane label="代发账户" name="extAcc">
<ext-acc></ext-acc> <ext-acc v-if="activeName == 'extAcc'" :activeName="activeName"></ext-acc>
</el-tab-pane> </el-tab-pane>
</el-tabs> </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-tab-pane label="自有发薪账号" name="first">
<el-form label-width="120px" label-position="left" class="formMain"> <el-form label-width="120px" label-position="left" class="formMain">
<el-row :gutter="30"> <el-row :gutter="30">
...@@ -56,19 +56,6 @@ ...@@ -56,19 +56,6 @@
通道:{{ sysPayChannelMap.get(ele.channelCode) }} 通道:{{ sysPayChannelMap.get(ele.channelCode) }}
</el-col> </el-col>
</el-row> </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>
</div> </div>
</el-col> </el-col>
...@@ -95,8 +82,8 @@ ...@@ -95,8 +82,8 @@
</el-row> </el-row>
</el-card> </el-card>
<el-empty v-if="ownList.length == 0" description="暂无账号"></el-empty> <el-empty v-if="ownList.length == 0" description="暂无账号"></el-empty>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="第三方发薪账号" name="second"> <el-form label-width="120px" label-position="left" class="formMain"> <!-- <el-tab-pane label="第三方发薪账号" name="second"> <el-form label-width="120px" label-position="left" class="formMain">
<el-row :gutter="30"> <el-row :gutter="30">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="支付宝外卡卡号"> <el-form-item label="支付宝外卡卡号">
...@@ -145,19 +132,6 @@ ...@@ -145,19 +132,6 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </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>
</div> </div>
</el-col> </el-col>
...@@ -212,8 +186,8 @@ ...@@ -212,8 +186,8 @@
</el-card> </el-card>
<el-empty v-if="thirdParty.length == 0 && (!signNoAccList || signNoAccList.length == 0)" <el-empty v-if="thirdParty.length == 0 && (!signNoAccList || signNoAccList.length == 0)"
description="暂无账号"></el-empty> description="暂无账号"></el-empty>
</el-tab-pane> </el-tab-pane> -->
</el-tabs> <!-- </el-tabs> -->
<!-- 去发薪对话框 --> <!-- 去发薪对话框 -->
<el-dialog title="发薪选择" :visible.sync="payVisible" width="38%" center> <el-dialog title="发薪选择" :visible.sync="payVisible" width="38%" center>
<div class="salarySelectionStyle"> <div class="salarySelectionStyle">
...@@ -710,14 +684,14 @@ export default { ...@@ -710,14 +684,14 @@ export default {
created() { created() {
}, },
mounted() { mounted() {
this.sysPayChannelAll() // this.sysPayChannelAll()
if (this.payType == 'first') { // if (this.payType == 'first') {
this.params.bindType = 1 // this.params.bindType = 1
this.getListAllAccInfoFN() // this.getListAllAccInfoFN()
} else if (this.payType == 'second') { // } else if (this.payType == 'second') {
this.params.bindType = 2 // this.params.bindType = 2
this.getListAllAccInfoFN() // this.getListAllAccInfoFN()
} // }
}, },
methods: { methods: {
sysPayChannelAll() { sysPayChannelAll() {
...@@ -903,14 +877,16 @@ export default { ...@@ -903,14 +877,16 @@ export default {
}, },
// tab发生变化时执行 // tab发生变化时执行
handleClick(tab, event) { handleClick(tab, event) {
if (this.payType == 'first') { console.log('activeName', this.activeName);
this.params.bindType = 1 this.$forceUpdate()
this.getListAllAccInfoFN() // if (this.payType == 'first') {
} else if (this.payType == 'second') { // this.params.bindType = 1
this.params.bindType = 2 // this.getListAllAccInfoFN()
this.getListAllAccInfoFN() // } else if (this.payType == 'second') {
this.queryHasNoAccOut(); // this.params.bindType = 2
} // this.getListAllAccInfoFN()
// this.queryHasNoAccOut();
// }
// console.log(tab, event); // console.log(tab, event);
// console.log('payType', this.payType); // 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