-
-
-
![]()
-
-
-
-
+
+
+
+ 添加规格项
+
+
+
+
+
+
-
-
增加销售属性
-
-
-
-
-
-
- {{ row.attributeValue }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 设置成本价
+
+
+ 设置库存
+
+
+
+
+
+
+
+
+ {{ row.sku_value_arr[index] }}
+
+
+
-
-
+ -->
+
+
+ * 价格
+
+
+
+
+
+
+
+
+ * 成本价
+
+
+
+
+
+
+
+ * 库存
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/views/goods/components/type.d.ts b/src/views/goods/components/type.d.ts
deleted file mode 100644
index 464d8a7..0000000
--- a/src/views/goods/components/type.d.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * sku表格字段
- */
-export type skuType = {
- attributeValue: string
- id?: string
- marketPrice: string
- price: string
- specificationBarCode: string
- stock: string
- thumbnailUrl: string
-}
-
-/**
- * 销售属性类型
- */
-export type skuAttrItemType = {
- /**
- * 是否上传图片
- */
- isAddImage: boolean
- /**
- * 名称
- */
- title: string
- /**
- * 具体数据
- */
- values: {
- /**
- * 属性图片
- * */
- thumbnailUrl?: string
- /**
- * 属性名称
- */
- attributeValue: string
- }[]
-}
diff --git a/src/views/goods/edit copy.vue b/src/views/goods/edit copy.vue
deleted file mode 100644
index 7f4db8c..0000000
--- a/src/views/goods/edit copy.vue
+++ /dev/null
@@ -1,591 +0,0 @@
-
-
-
-
-
diff --git a/src/views/goods/edit.vue b/src/views/goods/edit.vue
index 73fc536..a3d4498 100644
--- a/src/views/goods/edit.vue
+++ b/src/views/goods/edit.vue
@@ -78,146 +78,7 @@