diff --git a/src/views/components/inventory/components/add_product.vue b/src/views/components/inventory/components/add_product.vue new file mode 100644 index 0000000..6c2c8ac --- /dev/null +++ b/src/views/components/inventory/components/add_product.vue @@ -0,0 +1,277 @@ + + + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + + 商品主图 + + + + + + + + 设为主图 + 删除图片 + + + + + 上传图片 + 145*145(单张图片大小不超过{{ maxFileSizeM }},支持格式jpg、png,最多上传8张) + + 商品详情 + 富文本编辑器 + + 保存 + 关闭 + + + + + 库存/规格 + + + + + 添加规格 + + + + { console.info(tags) }"/> + { console.info(tags) }"/> + + + + + 批量设置 + + + + + + + + + + 设置 + + + + + + + + + 设置 + + + + + + + + + 设置 + + + + + + + + + + + + + + + + + diff --git a/src/views/components/inventory/components/form.vue b/src/views/components/inventory/components/form.vue new file mode 100644 index 0000000..8b20176 --- /dev/null +++ b/src/views/components/inventory/components/form.vue @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + 新增商品 + 批量上架 + 批量下架 + 批量删除 + + + 下载模板 + 导入 + 导出 + + + + + + + + + + DS000001 + + + 联想笔记本 + + + + + + 电子产品 + + + 台 + + + ¥120.00 + + + ¥120.00 + + + 1000 + + + 100 + + + 上架 + + + 2022-12-31 12:31 + + + 编辑 + 上架 + 下架 + + + + + + + diff --git a/src/views/components/inventory/components/tag_list.vue b/src/views/components/inventory/components/tag_list.vue new file mode 100644 index 0000000..8047d18 --- /dev/null +++ b/src/views/components/inventory/components/tag_list.vue @@ -0,0 +1,95 @@ + + + + + {{ this.label }} + + + + + + + + 添加 + + + + + + {{ tag.name }} + + + + + + + diff --git a/src/views/components/inventory/index.vue b/src/views/components/inventory/index.vue new file mode 100644 index 0000000..76a9df4 --- /dev/null +++ b/src/views/components/inventory/index.vue @@ -0,0 +1,41 @@ + + + + + 全部商品 + + + 上架商品 + + + 下架商品 + + + 库存预警 + + + + + + + + diff --git a/src/views/platform/self-operated-mall/index.vue b/src/views/platform/self-operated-mall/index.vue index f8260d3..d71500d 100644 --- a/src/views/platform/self-operated-mall/index.vue +++ b/src/views/platform/self-operated-mall/index.vue @@ -20,8 +20,9 @@