diff --git a/server/resource/autocode_template/web/form.vue.tpl b/server/resource/autocode_template/web/form.vue.tpl
index ed228741f..8e2585816 100644
--- a/server/resource/autocode_template/web/form.vue.tpl
+++ b/server/resource/autocode_template/web/form.vue.tpl
@@ -8,7 +8,13 @@
{{- end }}
{{- if eq .FieldType "string" }}
-
+ {{- if .DictType}}
+
+
+
+ {{- else }}
+
+ {{- end }}
{{- end }}
{{- if eq .FieldType "richtext" }}
diff --git a/server/resource/autocode_template/web/table.vue.tpl b/server/resource/autocode_template/web/table.vue.tpl
index 399698c8d..d46897fb3 100644
--- a/server/resource/autocode_template/web/table.vue.tpl
+++ b/server/resource/autocode_template/web/table.vue.tpl
@@ -40,8 +40,6 @@
{{- else}}
-
-
{{- if eq .FieldType "float64" "int"}}
{{if eq .FieldSearchType "BETWEEN" "NOT BETWEEN"}}
@@ -205,8 +203,14 @@
{{- end }}
{{- if eq .FieldType "string" }}
+ {{- if .DictType}}
+
+
+
+ {{- else }}
{{- end }}
+ {{- end }}
{{- if eq .FieldType "richtext" }}
{{- end }}
diff --git a/web/src/view/systemTools/autoCode/component/fieldDialog.vue b/web/src/view/systemTools/autoCode/component/fieldDialog.vue
index 7536e04c7..91e6f8e50 100644
--- a/web/src/view/systemTools/autoCode/component/fieldDialog.vue
+++ b/web/src/view/systemTools/autoCode/component/fieldDialog.vue
@@ -116,7 +116,7 @@