diff --git a/pageQuota/Balance/bindAccout.vue b/pageQuota/Balance/bindAccout.vue index 402b5ed..29fd38e 100644 --- a/pageQuota/Balance/bindAccout.vue +++ b/pageQuota/Balance/bindAccout.vue @@ -81,7 +81,8 @@ ref, reactive } from 'vue'; - + import useUserStore from '@/store/user'; + const userStore = useUserStore(); const showPop = ref(false) const showPop1 = ref(false) @@ -93,7 +94,6 @@ } const choseBank = (item) => { - console.log(item) form.bank_name = item.name form.bank_id = item.id showPop.value = false @@ -108,20 +108,21 @@ const form = reactive({ - "name": "张伟", + "name": "赵明军", "bank_id": 1, "bank_name": '中国邮政', "bank_code": "62179967580064578451", - "bank_branch": "", + "bank_branch": "迎晖路支行", "financial_img": "", "is_own": 0, - phone: '1913055023', + phone: '19130550023', "id_card": "513701200012105613", - "mer_id": 500, - user_type: 1 + "mer_id": userStore?.userInfo?.merchant?.mer_id, + supplier_id: userStore?.userInfo?.supplier?.id, + user_type: userStore?.userInfo?.merchant?.mer_id ? '1' : '2' }) - + console.log(userStore?.userInfo) const submit = () => { bindCradApi({ @@ -208,9 +209,6 @@ border-bottom: 1px solid #F8F9FA; } } - - - } .action { diff --git a/pageQuota/Balance/index.vue b/pageQuota/Balance/index.vue index 2f7a2b9..c8e63ef 100644 --- a/pageQuota/Balance/index.vue +++ b/pageQuota/Balance/index.vue @@ -24,21 +24,16 @@ - + - + - + - + @@ -52,7 +47,7 @@ - 明细 @@ -60,25 +55,13 @@ - - - - 请选择银行 - - - - - 中国农业银行 - - - -