diff --git a/src/views/mall/product/spu/components/SkuList.vue b/src/views/mall/product/spu/components/SkuList.vue
index 9bbd38e4..2b881a46 100644
--- a/src/views/mall/product/spu/components/SkuList.vue
+++ b/src/views/mall/product/spu/components/SkuList.vue
@@ -24,7 +24,7 @@
>
- {{ row.properties[index]?.valueName }}
+ {{ row.properties?.[index]?.valueName }}
@@ -168,7 +168,7 @@
>
- {{ row.properties[index]?.valueName }}
+ {{ row.properties?.[index]?.valueName }}
@@ -248,7 +248,7 @@
>
- {{ row.properties[index]?.valueName }}
+ {{ row.properties?.[index]?.valueName }}
diff --git a/src/views/mall/product/spu/components/index.ts b/src/views/mall/product/spu/components/index.ts
index e2cbe73d..5569bc99 100644
--- a/src/views/mall/product/spu/components/index.ts
+++ b/src/views/mall/product/spu/components/index.ts
@@ -5,6 +5,7 @@ interface PropertyAndValues {
id: number
name: string
values?: PropertyAndValues[]
+ propertyOpts?: PropertyAndValues[]
}
interface RuleConfig {
diff --git a/src/views/mall/product/spu/form/ProductAttributes.vue b/src/views/mall/product/spu/form/ProductAttributes.vue
index ffe7397d..613e2ede 100644
--- a/src/views/mall/product/spu/form/ProductAttributes.vue
+++ b/src/views/mall/product/spu/form/ProductAttributes.vue
@@ -18,16 +18,28 @@
>
{{ value.name }}
-
+ @change="handleInputConfirm(index, item.id)"
+ >
+
+
diff --git a/src/views/mall/product/spu/form/SkuForm.vue b/src/views/mall/product/spu/form/SkuForm.vue
index 9cc61924..c6856caf 100644
--- a/src/views/mall/product/spu/form/SkuForm.vue
+++ b/src/views/mall/product/spu/form/SkuForm.vue
@@ -1,6 +1,13 @@
-
+
-
+