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/flow/create/all.vue b/src/views/flow/create/all.vue index 04bf5be..8f9c035 100644 --- a/src/views/flow/create/all.vue +++ b/src/views/flow/create/all.vue @@ -139,7 +139,7 @@ onMounted(() => { store.step1.remark = data.remark store.step1.groupId = data.groupId store.step1.businessKey = data.businessKey - // store.step1.formDetail = data.formDetail + store.step1.formDetail = data.formDetail store.setStep2(JSON.parse(data.formItems)) step3NodeConfig = JSON.parse(data.process) }) diff --git a/src/views/flow/create/step1.vue b/src/views/flow/create/step1.vue index eca8975..43d88a4 100644 --- a/src/views/flow/create/step1.vue +++ b/src/views/flow/create/step1.vue @@ -19,9 +19,9 @@ - - - + + + diff --git a/src/views/flow/group/index.vue b/src/views/flow/group/index.vue index 541e10a..0b86824 100644 --- a/src/views/flow/group/index.vue +++ b/src/views/flow/group/index.vue @@ -51,11 +51,11 @@ {{ row.businessKey }} - - - - - + + +