完成订单模块

This commit is contained in:
gxwebsoft
2024-04-25 23:38:42 +08:00
parent a6cb9f7f78
commit 16e38b6f31
58 changed files with 6130 additions and 1753 deletions
@@ -36,15 +36,11 @@
v-model:value="form.merchantName"
/>
</a-form-item>
<a-form-item
label="手机号码"
name="phone"
extra="手机号码将用做于场馆端的登录账号请填写真实手机号码"
>
<a-form-item label="场馆电话" name="phone">
<a-input
allow-clear
:maxlength="11"
placeholder="请输入场馆手机号"
placeholder="请输入场馆电话"
v-model:value="form.phone"
/>
</a-form-item>
@@ -188,7 +184,7 @@
<script lang="ts" setup>
import { ref, reactive, watch } from 'vue';
import { Form, message } from 'ant-design-vue';
import { assignObject, uuid, phoneReg } from 'ele-admin-pro';
import { assignObject, uuid } from 'ele-admin-pro';
import { addMerchant, updateMerchant } from '@/api/shop/merchant';
import { Merchant } from '@/api/shop/merchant/model';
import { useThemeStore } from '@/store/modules/theme';
@@ -199,7 +195,6 @@
import { MerchantType } from '@/api/shop/merchantType/model';
import { CenterPoint } from 'ele-admin-pro/es/ele-map-picker/types';
import { listRoles } from '@/api/system/role';
import { getTenantId } from '@/utils/domain';
// 是否是修改
const isUpdate = ref(false);
@@ -310,13 +305,8 @@
phone: [
{
required: true,
message: '请输入手机号',
message: '请输入场馆电话',
trigger: 'blur'
},
{
pattern: phoneReg,
message: '手机号格式不正确',
type: 'string'
}
]
});