From 04e02ffbd28f57ffcae2faf579bb9eb6e6bb4919 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 28 Sep 2023 16:38:51 +0800 Subject: [PATCH] =?UTF-8?q?trade=EF=BC=9A=E5=88=86=E4=BD=A3=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue | 4 ++-- src/views/mall/trade/brokerage/user/index.vue | 4 ++-- src/views/mall/trade/brokerage/withdraw/index.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue b/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue index b4c04780..6d407540 100644 --- a/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue +++ b/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue @@ -19,6 +19,7 @@ + @@ -79,7 +80,7 @@ const submitForm = async () => { if (!formRef) return const valid = await formRef.value.validate() if (!valid) return - + // 未查找到合适的上级 if (!bindUser.value) { message.error('请先查询并确认推广人') return @@ -116,7 +117,6 @@ const handleGetUser = async () => { message.error('不能绑定自己为推广人') return } - formLoading.value = true bindUser.value = await BrokerageUserApi.getBrokerageUser(formData.value.bindUserId) if (!bindUser.value) { diff --git a/src/views/mall/trade/brokerage/user/index.vue b/src/views/mall/trade/brokerage/user/index.vue index 285c49ee..52944391 100644 --- a/src/views/mall/trade/brokerage/user/index.vue +++ b/src/views/mall/trade/brokerage/user/index.vue @@ -204,7 +204,7 @@ const queryParams = reactive({ pageNo: 1, pageSize: 10, bindUserId: null, - brokerageEnabled: null, + brokerageEnabled: true, createTime: [] }) const queryFormRef = ref() // 搜索的表单 @@ -281,7 +281,7 @@ const handleClearBindUser = async (row: BrokerageUserApi.BrokerageUserVO) => { } catch {} } -/** 推广资格 开通/关闭 */ +/** 推广资格:开通/关闭 */ const handleBrokerageEnabledChange = async (row: BrokerageUserApi.BrokerageUserVO) => { try { // 二次确认 diff --git a/src/views/mall/trade/brokerage/withdraw/index.vue b/src/views/mall/trade/brokerage/withdraw/index.vue index 535387e9..f76dc36d 100644 --- a/src/views/mall/trade/brokerage/withdraw/index.vue +++ b/src/views/mall/trade/brokerage/withdraw/index.vue @@ -132,7 +132,7 @@ align="left" prop="createTime" :formatter="dateFormatter" - width="170px" + width="180px" />