Commit 7223a5f9 authored by 许珑标's avatar 许珑标

增加代发账户账本充值同渠道限制

parent 766f462a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
import { listAllAccInfo } from '@/api/business/accInfo' import { listAllAccInfo } from '@/api/business/accInfo'
export default { export default {
name: 'AccSelect', name: 'AccSelect',
props: ['defaultVal', 'bindType', 'isDisabled'], props: ['defaultVal', 'bindType', 'isDisabled', 'channelCode'],
data() { data() {
return { return {
value: '', value: '',
...@@ -43,6 +43,9 @@ export default { ...@@ -43,6 +43,9 @@ export default {
if (this.bindType) { if (this.bindType) {
params.bindType = this.bindType params.bindType = this.bindType
} }
if (this.channelCode) {
params.channelCode = this.channelCode
}
listAllAccInfo(params).then(resp => { listAllAccInfo(params).then(resp => {
if (resp.code == 200) { if (resp.code == 200) {
let bindA = [] let bindA = []
......
...@@ -103,7 +103,8 @@ ...@@ -103,7 +103,8 @@
<el-input v-model="aliQRCodeRechargeForm.payeeAccNo" placeholder="请输入收款账号" disabled /> <el-input v-model="aliQRCodeRechargeForm.payeeAccNo" placeholder="请输入收款账号" disabled />
</el-form-item> </el-form-item>
<el-form-item label="付款账户" prop="payerAccNo" v-if="aliQRCodeRechargeForm.bindType"> <el-form-item label="付款账户" prop="payerAccNo" v-if="aliQRCodeRechargeForm.bindType">
<accSelect :bindType="1" v-model="aliQRCodeRechargeForm.payerAccNo"></accSelect> <accSelect :bindType="1" :channel-code="aliQRCodeRechargeForm.channelCode"
v-model="aliQRCodeRechargeForm.payerAccNo"></accSelect>
</el-form-item> </el-form-item>
<el-form-item label="余额/服务费" prop="rechargeType"> <el-form-item label="余额/服务费" prop="rechargeType">
<template> <template>
...@@ -316,10 +317,11 @@ export default { ...@@ -316,10 +317,11 @@ export default {
// this.aliQRCodeRechargeForm.rechargeType = 2 // this.aliQRCodeRechargeForm.rechargeType = 2
this.aliQRCodeRechargeForm.payeeAccNo = val.payAccNo this.aliQRCodeRechargeForm.payeeAccNo = val.payAccNo
this.aliQRCodeRechargeForm.bindType = val.bindType this.aliQRCodeRechargeForm.bindType = val.bindType
this.aliQRCodeRechargeForm.channelCode = val.channelCode
this.rechargeCoursePanelDialog = true this.rechargeCoursePanelDialog = true
}, },
} }
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped></style>
\ No newline at end of file
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