zhengyiming
2025-10-28 48b04d85a2c548399bcb4ed72d8c00bd45f2e808
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<template>
  <div></div>
</template>
 
<script setup lang="ts">
import { Message, BoleRegExp } from '@bole-core/core';
import { useQuery } from '@tanstack/vue-query';
import {
  LoadingLayout,
  AppScrollContainer,
  ProForm,
  ProFormItemV2,
  ChunkCell,
  ProFormText,
  ProFormSelect,
  ProFormTextArea,
  ProFormCol,
  ProFormColItem,
} from '@bole-core/components';
import { FormRules, FormInstance } from 'element-plus';
 
defineOptions({
  name: 'AddOrEditCustomerView',
})
 
type Props = {
  isDetail: boolean;
}
 
const props = withDefaults(defineProps<Props>(), {
 
})
 
const route = useRoute();
const id = route.params.id as string;
const isEdit =  !!id;
 
const { closeViewPush } = useRouteView();
const eventContext = useGlobalEventContext();
 
</script>
 
<style lang="scss" scoped>
@use '@/style/common.scss' as *;
 
</style>