|
@@ -11,8 +11,6 @@ import { message#if ($table.templateType == 11), Tabs#end } from 'ant-design-vue
|
|
|
import { useVbenForm } from '#/adapter/form';
|
|
import { useVbenForm } from '#/adapter/form';
|
|
|
import { create${simpleClassName}, get${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${table.businessName}';
|
|
import { create${simpleClassName}, get${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${table.businessName}';
|
|
|
import { $t } from '#/locales';
|
|
import { $t } from '#/locales';
|
|
|
-
|
|
|
|
|
-import { useFormSchema } from '../data';
|
|
|
|
|
## 特殊:主子表专属逻辑
|
|
## 特殊:主子表专属逻辑
|
|
|
#if ( $table.templateType == 10 || $table.templateType == 12 )
|
|
#if ( $table.templateType == 10 || $table.templateType == 12 )
|
|
|
#foreach ($subSimpleClassName in $subSimpleClassNames)
|
|
#foreach ($subSimpleClassName in $subSimpleClassNames)
|
|
@@ -22,6 +20,8 @@ import { useFormSchema } from '../data';
|
|
|
#end
|
|
#end
|
|
|
#end
|
|
#end
|
|
|
|
|
|
|
|
|
|
+import { useFormSchema } from '../data';
|
|
|
|
|
+
|
|
|
const emit = defineEmits(['success']);
|
|
const emit = defineEmits(['success']);
|
|
|
const formData = ref<${apiName}.${simpleClassName}>();
|
|
const formData = ref<${apiName}.${simpleClassName}>();
|
|
|
const getTitle = computed(() => {
|
|
const getTitle = computed(() => {
|