diff --git a/src/views/canteen/canteenSpu/form.vue b/src/views/canteen/canteenSpu/form.vue index 508eb00..9b9ddd4 100644 --- a/src/views/canteen/canteenSpu/form.vue +++ b/src/views/canteen/canteenSpu/form.vue @@ -48,7 +48,14 @@ - + + + + {{ item.label }} + + + + @@ -97,7 +104,7 @@ const dataFormRef = ref() const visible = ref(false) const loading = ref(false) // 定义字典 -const { spu_status } = useDict("spu_status") +const { spu_status,is_show } = useDict("spu_status","is_show") // 提交表单数据 const form = reactive({ @@ -120,6 +127,7 @@ const form = reactive({ virtualSalesCount: "", browseCount: "", deptId: "", + isShow: "0", }) // 定义校验规则 diff --git a/src/views/canteen/canteenSpu/index.vue b/src/views/canteen/canteenSpu/index.vue index 2a9ad93..d65384f 100644 --- a/src/views/canteen/canteenSpu/index.vue +++ b/src/views/canteen/canteenSpu/index.vue @@ -69,6 +69,11 @@ + + + - - - - - + + +