review:【mall 商城】trade 相关代码
This commit is contained in:
@@ -50,6 +50,7 @@ function useFormSchema(): VbenFormSchema[] {
|
||||
fieldName: 'sourceUserLevel',
|
||||
label: '用户类型',
|
||||
component: 'RadioGroup',
|
||||
// TODO @xingyu:这里会折行
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: '全部', value: 0 },
|
||||
|
||||
@@ -102,6 +102,7 @@ async function handleGetUser(id: any, userType: string) {
|
||||
|
||||
<template>
|
||||
<Modal title="创建分销员" class="w-2/5">
|
||||
<!-- TODO @霖:宽度不够,label 会折行 -->
|
||||
<div class="mr-2 flex items-center">
|
||||
分销员编号:
|
||||
<InputSearch
|
||||
|
||||
@@ -42,6 +42,7 @@ function useFormSchema(): VbenFormSchema[] {
|
||||
fieldName: 'level',
|
||||
label: '用户类型',
|
||||
component: 'RadioGroup',
|
||||
// TODO @xingyu:这里会折行
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: '全部', value: undefined },
|
||||
|
||||
@@ -90,6 +90,7 @@ const [Form, formApi] = useVbenForm({
|
||||
<Tabs :active-key="activeKey" @change="handleTabChange">
|
||||
<Tabs.TabPane tab="售后" key="afterSale" :force-render="true" />
|
||||
<Tabs.TabPane tab="配送" key="delivery" :force-render="true" />
|
||||
<!-- TODO @xingyu:tooltip 有点丑;要不要左对齐?(貌似都行) -->
|
||||
<Tabs.TabPane tab="分销" key="brokerage" :force-render="true" />
|
||||
</Tabs>
|
||||
<Form class="w-3/5" />
|
||||
|
||||
@@ -175,6 +175,7 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<Page auto-content-height>
|
||||
<!-- TODO @xingyu:高度不对 -->
|
||||
<Card class="mb-4 h-[10%]">
|
||||
<div class="flex flex-row gap-4">
|
||||
<SummaryCard
|
||||
|
||||
@@ -60,6 +60,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '详细地址',
|
||||
rules: 'required',
|
||||
},
|
||||
// TODO @xingyu:时间类型不对
|
||||
{
|
||||
component: 'TimePicker',
|
||||
fieldName: 'openingTime',
|
||||
@@ -84,6 +85,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '纬度',
|
||||
rules: 'required',
|
||||
},
|
||||
// TODO @xingyu:缺少地图
|
||||
{
|
||||
component: 'Input',
|
||||
fieldName: 'getGeo',
|
||||
|
||||
@@ -18,6 +18,7 @@ import { useBindFormSchema } from '../data';
|
||||
|
||||
const emit = defineEmits(['success']);
|
||||
const formData = ref<MallDeliveryPickUpStoreApi.PickUpStore>();
|
||||
// TODO @xingyu:店员是多选;
|
||||
const getTitle = computed(() => {
|
||||
return formData.value?.id
|
||||
? $t('ui.actionTitle.edit', ['绑定店员'])
|
||||
|
||||
Reference in New Issue
Block a user