$ gnpm install @gidc-pc-base/gidc-pbank-parts-h5-standard-vx-gidc-select-bank
import BankDeposit from '@/components/bank-deposit/bankDeposit';
// 页面内局部引入
export default {
components: {
[BankDeposit.name]: BankDeposit,
},
};
<bank-deposit :is-open.sync="showOutlets" @selected="superBankWay" @dialogClose="dialogClose"></bank-deposit>
data() {
return {
showOutlets: false,
};
},
// 关闭开户行
dialogClose(val) {
this.showOutlets = val;
},
superBankWay(val) {
this.payee.bankName = val.bankName;
this.payee.bankCode = val.bkctgrycd;
this.bankDeposit = val.bankName;
this.showOutlets = false;
},
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
is-open |
显示/隐藏弹窗 | Boolean |
false |
- |
返回值
属性 | 说明 | 类型 | 备注 |
---|---|---|---|
val |
当前选择的内容 |
Object |
- |
关闭弹框事件
Copyright 2013 - present © cnpmjs.org | Home |