From 2cabc8102a9bf7f879768baf48e38c034488e3ec Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 3 Dec 2024 13:43:42 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=8A=98=E7=BA=BF=E5=9B=BE=E7=9A=84?= =?UTF-8?q?=E6=8A=98=E7=82=B9=E6=98=BE=E7=A4=BA=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/componse/history-ats/history-ats.vue | 5 +++-- src/componse/provider-article/provider-article-panel.vue | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/componse/history-ats/history-ats.vue b/src/componse/history-ats/history-ats.vue index bdc2700..2c02fb2 100644 --- a/src/componse/history-ats/history-ats.vue +++ b/src/componse/history-ats/history-ats.vue @@ -28,7 +28,7 @@ const props = defineProps( const options = computed(()=> { return { title: { - text: "历史价格", + text: "历史库存", left: "center" }, tooltip: { @@ -50,7 +50,8 @@ const options = computed(()=> { { type: 'line', name: '库存', - data: (props.ats|| []).map(p => p.ats) + data: (props.ats|| []).map(p => p.ats), + itemStyle : { normal: {label : {show: true}}} }, ] } diff --git a/src/componse/provider-article/provider-article-panel.vue b/src/componse/provider-article/provider-article-panel.vue index 10bff1f..c63b29f 100644 --- a/src/componse/provider-article/provider-article-panel.vue +++ b/src/componse/provider-article/provider-article-panel.vue @@ -185,12 +185,14 @@ const options = computed(()=> { { type: 'line', name: '原价', - data: (props.provider.historyPrice|| []).map(p => p.originalPrice) + data: (props.provider.historyPrice|| []).map(p => p.originalPrice), + itemStyle : { normal: {label : {show: true}}} }, { type: 'line', name: '到手价', - data: (props.provider.historyPrice|| []).map(p => p.finalPrice) + data: (props.provider.historyPrice|| []).map(p => p.finalPrice), + itemStyle : { normal: {label : {show: true}}} } ] }