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}}} } ] }