diff --git a/src/views/mall/trade/brokerage/user/CreateUserForm.vue b/src/views/mall/trade/brokerage/user/BrokerageUserCreateForm.vue
similarity index 82%
rename from src/views/mall/trade/brokerage/user/CreateUserForm.vue
rename to src/views/mall/trade/brokerage/user/BrokerageUserCreateForm.vue
index 392b89e9..356f8df2 100644
--- a/src/views/mall/trade/brokerage/user/CreateUserForm.vue
+++ b/src/views/mall/trade/brokerage/user/BrokerageUserCreateForm.vue
@@ -5,21 +5,34 @@
v-loading="formLoading"
:model="formData"
:rules="formRules"
- label-width="80"
+ label-width="90"
>
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ userInfo.user?.nickname }}
+
+
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ userInfo.user?.nickname }}
-
-
-
-
- {{ formatDate(userInfo.user?.brokerageTime) }}
-
-
-
@@ -95,7 +74,6 @@
import * as BrokerageUserApi from '@/api/mall/trade/brokerage/user'
import * as UserApi from '@/api/member/user'
import { formatDate } from '@/utils/formatTime'
-import { checkPermi } from '@/utils/permission'
defineOptions({ name: 'CreateUserForm' })
@@ -107,9 +85,7 @@ const formLoading = ref(false) // 表单的加载中:1)修改时的数据加
const formData = ref({
userId: undefined,
bindUserId: undefined,
- brokerageEnabled: false,
- price: 0,
- frozenPrice: 0
+ brokerageEnabled: false
})
const formRef = ref() // 表单 Ref
const formRules = reactive({
diff --git a/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue b/src/views/mall/trade/brokerage/user/BrokerageUserUpdateForm.vue
similarity index 97%
rename from src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue
rename to src/views/mall/trade/brokerage/user/BrokerageUserUpdateForm.vue
index 77ffac78..941b715b 100644
--- a/src/views/mall/trade/brokerage/user/UpdateBindUserForm.vue
+++ b/src/views/mall/trade/brokerage/user/BrokerageUserUpdateForm.vue
@@ -43,8 +43,8 @@
import * as BrokerageUserApi from '@/api/mall/trade/brokerage/user'
import { formatDate } from '@/utils/formatTime'
-/** 修改上级推广人表单 */
-defineOptions({ name: 'UpdateBindUserForm' })
+/** 修改分销用户 */
+defineOptions({ name: 'BrokerageUserUpdateForm' })
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
diff --git a/src/views/mall/trade/brokerage/user/index.vue b/src/views/mall/trade/brokerage/user/index.vue
index 930a4f2b..a2097826 100644
--- a/src/views/mall/trade/brokerage/user/index.vue
+++ b/src/views/mall/trade/brokerage/user/index.vue
@@ -194,13 +194,13 @@
/>
-
+
-
+
-
+
-
+