-
-
暂无图片
+
-
-
-
-
+
+
+
+ 规格编码
+ 规格描述
+ 商品成本
+ 运费成本
+ 其他成本
+
+
+ {{ spec.specCode || '未填写' }}
+ {{ spec.name || '-' }}
+ ¥{{ (spec.productCost ?? 0).toFixed(2) }}
+ ¥{{ (spec.shippingCost ?? 0).toFixed(2) }}
+ ¥{{ (spec.otherCost ?? 0).toFixed(2) }}
+
+
+ 仅展示前 {{ visibleSpecs.length }} 条规格,点击“统计”查看全部
+
+
+
暂无规格数据
+
+
+
+
+
+
+
+
-
-
-
- 编码: {{ product.productCode }}
-
-
-
-
- {{ product.categoryName }}
-
-
-
-
-
-
-
-
- 规格详情
-
-
-
-
- {{ spec.name }}
-
-
- 编码: {{ spec.specCode }}
-
-
-
- ¥{{ spec.productCost.toFixed(2) }}
-
-
-
-
-
- {{ product.specs.length }} 个规格
-
-
-
-
-
-
- {{ product.createTime }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
统计
+
diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductFormModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductFormModal.vue
index 7af18fb8..2f20c60d 100644
--- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductFormModal.vue
+++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductFormModal.vue
@@ -71,7 +71,7 @@ const [SyncModal, syncModalApi] = useVbenModal({
syncModalApi.close();
},
});
-const syncFormData = ref<[string, string] | null>(null);
+const syncFormData = ref<[string, string] | undefined>(undefined);
async function openSyncModal(costChangedSpecIds: number[]) {
try {
diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/views/ProductGridView/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/views/ProductGridView/index.vue
index e8f6c353..308444e6 100644
--- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/views/ProductGridView/index.vue
+++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/views/ProductGridView/index.vue
@@ -284,16 +284,15 @@ onUnmounted(() => {
v-else-if="productList.length > 0"
:list="productList"
row-key="id"
- :width="240"
+ :width="560"
:breakpoints="{
- 2000: { rowPerView: 5 },
- 1700: { rowPerView: 4 },
- 1400: { rowPerView: 3 },
- 1100: { rowPerView: 2 },
- 768: { rowPerView: 2 },
+ 2350: { rowPerView: 3 },
+ 1750: { rowPerView: 2 },
+ 1250: { rowPerView: 2 },
+ 900: { rowPerView: 1 },
500: { rowPerView: 1 },
}"
- :gutter="16"
+ :gutter="20"
class="product-waterfall"
>