From 4ca0ef72350474f3a4fd470c9fecfb4f42103b56 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 25 May 2023 11:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E8=AE=A2=E5=8D=95=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reports/productOrder.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/reports/productOrder.vue b/src/views/reports/productOrder.vue index 5c4aa09..d244002 100644 --- a/src/views/reports/productOrder.vue +++ b/src/views/reports/productOrder.vue @@ -36,29 +36,34 @@ table: [{ prop: 'name', label: '产品类型', + width: 180 }, { prop: 'total_order_person', label: '下单人总数', + width: 180 }, { prop: 'total_order_all', label: '下单总数', + width: 180 }, { prop: 'total_order', - label: '下单完成数' + label: '下单完成数', + width: 180 }, { prop: 'max_order', - label: '多次下单人数', - formatter:(cell,data,value)=>{ - return value?value:0 + label: '多次下单人数', + width: 180, + formatter: (cell, data, value) => { + return value ? value : 0 } }, { prop: 'max_product.name', - label: '最多下单产品', + label: '最多下单产品' } ] @@ -100,4 +105,4 @@ } } } - + \ No newline at end of file