diff --git a/src/views/supermarket/shopSpu/form.vue b/src/views/supermarket/shopSpu/form.vue index c111228..1b09dbb 100644 --- a/src/views/supermarket/shopSpu/form.vue +++ b/src/views/supermarket/shopSpu/form.vue @@ -33,11 +33,18 @@ - + + + + + {{ item.label }} + + + @@ -192,7 +199,7 @@ const dataFormRef = ref() const visible = ref(false) const loading = ref(false) // 定义字典 -const { supermarket_nature, spu_status } = useDict("supermarket_nature", "spu_status") +const { supermarket_nature, status } = useDict("supermarket_nature", "status") // 提交表单数据 const form = reactive({ id: "", @@ -204,7 +211,7 @@ const form = reactive({ picUrl: "", sliderPicUrls: "", sort: 0, - status: "", + status: "0", stock: 0, giveIntegral: "", merchantRelationId: "",