diff --git a/src/views/integrated/lostAndFound/form.vue b/src/views/integrated/lostAndFound/form.vue
index a3defdd..48393fe 100644
--- a/src/views/integrated/lostAndFound/form.vue
+++ b/src/views/integrated/lostAndFound/form.vue
@@ -29,11 +29,17 @@
-
-
-
-
-
+
+
+
+
+
@@ -75,7 +81,7 @@ const form = reactive({
picUrl: '',
sort: '',
description: '',
- status: '',
+ status: 0, // 默认待领取
dateFound: '',
location: '',
});
@@ -128,7 +134,10 @@ const getlostAndFoundData = (id: string) => {
// 获取数据
loading.value = true
getObj(id).then((res: any) => {
- Object.assign(form, res.data)
+ const data = res.data
+ // 确保状态值为数字类型
+ data.status = Number(data.status)
+ Object.assign(form, data)
}).finally(() => {
loading.value = false
})
diff --git a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue
index 305ccc6..e9f8190 100644
--- a/src/views/supermarketerp/supermarketSpu/components/package-unit.vue
+++ b/src/views/supermarketerp/supermarketSpu/components/package-unit.vue
@@ -59,6 +59,11 @@
+
+
+
+
+
@@ -118,6 +123,7 @@ export interface rowVU {
isNew?: boolean
isBase?: boolean | null
flag?: string
+ taste?: string
}
const packageUnitList = defineModel("modelValue", {