lijj vor 2 Jahren
Ursprung
Commit
d395f39791

+ 3 - 2
admin_ui/src/option/ycwh/famousDish.js

@@ -99,6 +99,7 @@ export default {
     }, {
       label: "所属菜系",
       prop: "cuisineCode",
+      type: "select",
       dicUrl: "/blade-system/dict-biz/dictionary?code=cuisine",
       props: {
         label: 'dictValue',
@@ -125,12 +126,12 @@ export default {
     //    type: "input",
     //  },
     {
-      label: "所属地区id",
+      label: "所属地区",
       prop: "regionId",
       type: "select",
       dicUrl: "/blade-system/region/lazy-tree?code=4404",
       props: {
-        label: 'name',
+        label: 'title',
         value: 'id'
       },
       search: true

+ 12 - 5
admin_ui/src/option/ycwh/famousSnacks.js

@@ -100,6 +100,7 @@ export default {
     {
       label: "所属菜系",
       prop: "cuisineCode",
+      type: "select",
       dicUrl: "/blade-system/dict-biz/dictionary?code=cuisine",
       props: {
         label: 'dictValue',
@@ -125,11 +126,17 @@ export default {
     //    prop: "content",
     //    type: "input",
     //  },
-    //  {
-    //    label: "所属地区id",
-    //    prop: "regionId",
-    //    type: "input",
-    //  },
+    {
+      label: "所属地区",
+      prop: "regionId",
+      type: "select",
+      dicUrl: "/blade-system/region/lazy-tree?code=4404",
+      props: {
+        label: 'title',
+        value: 'id'
+      },
+      search: true
+    },
     {
       label: "地址",
       prop: "address",

+ 12 - 5
admin_ui/src/option/ycwh/famousStore.js

@@ -100,6 +100,7 @@ export default {
     {
       label: "所属菜系",
       prop: "cuisineCode",
+      type: "select",
       dicUrl: "/blade-system/dict-biz/dictionary?code=cuisine",
       props: {
         label: 'dictValue',
@@ -125,11 +126,17 @@ export default {
     //    prop: "content",
     //    type: "input",
     //  },
-    //  {
-    //    label: "所属地区id",
-    //    prop: "regionId",
-    //    type: "input",
-    //  },
+    {
+      label: "所属地区",
+      prop: "regionId",
+      type: "select",
+      dicUrl: "/blade-system/region/lazy-tree?code=4404",
+      props: {
+        label: 'title',
+        value: 'id'
+      },
+      search: true
+    },
     {
       label: "地址",
       prop: "address",