平均交付周期显示

This commit is contained in:
DESKTOP-AD8UBUJ\ling
2026-05-12 09:19:02 +08:00
parent 87c9bd238c
commit d7234f4d31
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ export default {
this.peakData ={ this.peakData ={
'产销率' :data[0]['本年产销率'], '产销率' :data[0]['本年产销率'],
'周转率' : data[0]['本年存货周转率'], '周转率' : data[0]['本年存货周转率'],
'订单准时率' : res.data[0]['平均销售交付周期_天'], '平均交付周期' : res.data[0]['平均销售交付周期_天'],
} }
const {widgets} = this.dashboard const {widgets} = this.dashboard
if(widgets && widgets.length > 0){ if(widgets && widgets.length > 0){

View File

@@ -92,7 +92,7 @@ export default {
}, },
async getData() { async getData() {
try { try {
const reportCode = 'demotest'; const reportCode = 'ddddd';
const { code, data } = await detailDashboard(reportCode); const { code, data } = await detailDashboard(reportCode);
if (code != 200) { if (code != 200) {
console.error('[Viewer] 获取大屏数据失败:', code); console.error('[Viewer] 获取大屏数据失败:', code);