diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductDetailModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductDetailModal.vue new file mode 100644 index 00000000..cb1d64fd --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductDetailModal.vue @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + {{ product.name }} + + + + 商品编码: + {{ product.productCode || '-' }} + + + 商品类目: + {{ product.categoryName || '-' }} + + + 规格数量: + {{ product.specs?.length ?? 0 }} + + + 创建时间: + {{ product.createTime || '-' }} + + + + + + + + + 规格明细 + + + + + + + 关闭 + + + 经营统计 + + + + 编辑商品 + + + + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/index.vue index 231ae1ae..25276b68 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/index.vue @@ -1,29 +1,43 @@ - - - - - - + + + + + + 添加商品 + + - + + - + + + + - - 共 {{ total }} 个商品 - - - - - - - - 添加商品 - - + {{ row.name }} - - - - - - - - - - refreshTable(p)" - @delete="handleDelete" - @editing-change="handleEditingChange" - @layout-change="handleEditingChange" - /> - - - - - - - - 没有更多商品了 - - - + 点击查看详情 - + - - + + + + + + + + {{ code }} + + + +{{ getSpecCodePreview(row).rest }} + + + - + + + + + {{ row.specs?.length ?? 0 }} + + + + + + 详情 + + + + 编辑 + + + + 统计 + + + 删除 + + + + + - - -