修改部分字段
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="button-line lineThree" v-if="activeButton !== 2 && activeButton !== 3"></div>
|
<div class="button-line lineThree" v-if="activeButton !== 2 && activeButton !== 3"></div>
|
||||||
<div class="item-button" :class="{ active: activeButton === 3 }" @click="activeButton = 3">
|
<div class="item-button" :class="{ active: activeButton === 3 }" @click="activeButton = 3">
|
||||||
双镀销量
|
销量_双镀面板
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
{name:'单价',unit:'元/㎡'},
|
{name:'单价',unit:'元/㎡'},
|
||||||
{name:'净价',unit:'元/㎡'},
|
{name:'净价',unit:'元/㎡'},
|
||||||
{name:'销量',unit:'万㎡'},
|
{name:'销量',unit:'万㎡'},
|
||||||
{name:'双镀销量',unit:'万㎡'}
|
{name:'销量_双镀面板',unit:'万㎡'}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export default {
|
|||||||
completed: 1 // 销量超额达标
|
completed: 1 // 销量超额达标
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "双镀销量",
|
name: "销量_双镀面板",
|
||||||
targetValue: 0,
|
targetValue: 0,
|
||||||
value: 0,
|
value: 0,
|
||||||
proportion: 0,
|
proportion: 0,
|
||||||
@@ -113,7 +113,7 @@ export default {
|
|||||||
"单价": "unitPrice",
|
"单价": "unitPrice",
|
||||||
"净价": "netPrice",
|
"净价": "netPrice",
|
||||||
"销量": "sales",
|
"销量": "sales",
|
||||||
"双镀销量": "panel",
|
"销量_双镀面板": "panel",
|
||||||
"溢价产品销量": "premiumProduct"
|
"溢价产品销量": "premiumProduct"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ export default {
|
|||||||
itemStyle: { color: 'rgba(39, 96, 255, 1)' }
|
itemStyle: { color: 'rgba(39, 96, 255, 1)' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 735, name: '双镀销量',
|
value: 735, name: '销量_双镀面板',
|
||||||
label: {
|
label: {
|
||||||
normal: {
|
normal: {
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export default {
|
|||||||
{ key: 'unitPrice', unit: '单价·元/㎡', path: '/unitPriceAnalysis/unitPriceAnalysis' },
|
{ key: 'unitPrice', unit: '单价·元/㎡', path: '/unitPriceAnalysis/unitPriceAnalysis' },
|
||||||
{ key: 'netPrice', unit: '净价·元/㎡', path: '/netPriceAnalysis/netPriceAnalysis' },
|
{ key: 'netPrice', unit: '净价·元/㎡', path: '/netPriceAnalysis/netPriceAnalysis' },
|
||||||
{ key: 'sales', unit: '销量·万㎡', path: '/salesVolumeAnalysis/salesVolumeAnalysis' },
|
{ key: 'sales', unit: '销量·万㎡', path: '/salesVolumeAnalysis/salesVolumeAnalysis' },
|
||||||
{ key: 'panel', unit: '双镀销量·万㎡', path: '/salesVolumeAnalysis/salesVolumeAnalysis' }
|
{ key: 'panel', unit: '销量_双镀面板·万㎡', path: '/salesVolumeAnalysis/salesVolumeAnalysis' }
|
||||||
];
|
];
|
||||||
|
|
||||||
// 遍历映射关系,转换数据
|
// 遍历映射关系,转换数据
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export default {
|
|||||||
{ unit: "利润总额·万元", targetValue: 16, currentValue: 15.2, progress: 85 },
|
{ unit: "利润总额·万元", targetValue: 16, currentValue: 15.2, progress: 85 },
|
||||||
{ unit: "毛利率·%", targetValue: 16, currentValue: 15.2, progress: 85 },
|
{ unit: "毛利率·%", targetValue: 16, currentValue: 15.2, progress: 85 },
|
||||||
{ unit: "销量·万㎡", targetValue: 20, currentValue: 16, progress: 80 },
|
{ unit: "销量·万㎡", targetValue: 20, currentValue: 16, progress: 80 },
|
||||||
{ unit: "双镀销量·万㎡", targetValue: 15, currentValue: 13.8, progress: 92 }
|
{ unit: "销量_双镀面板·万㎡", targetValue: 15, currentValue: 13.8, progress: 92 }
|
||||||
],
|
],
|
||||||
// 拖拽相关状态
|
// 拖拽相关状态
|
||||||
isDragging: false, // 是否正在拖拽
|
isDragging: false, // 是否正在拖拽
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export default {
|
|||||||
progress: 80
|
progress: 80
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
unit: "双镀销量·万㎡",
|
unit: "销量_双镀面板·万㎡",
|
||||||
targetValue: 15,
|
targetValue: 15,
|
||||||
currentValue: 13.8,
|
currentValue: 13.8,
|
||||||
progress: 92
|
progress: 92
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div id="dayReport" class="dayReport" :style="styles">
|
<div id="dayReport" class="dayReport" :style="styles">
|
||||||
<div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
|
<div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
|
||||||
<sidebar v-if="!sidebar.hide" class="sidebar-container" />
|
<sidebar v-if="!sidebar.hide" class="sidebar-container" />
|
||||||
<ReportHeader :dateData="dateData" size="psi" @timeRangeChange="handleTimeChange" top-title="基地双镀销量分析" :is-full-screen="isFullScreen"
|
<ReportHeader :dateData="dateData" size="psi" @timeRangeChange="handleTimeChange" top-title="基地销量_双镀面板分析" :is-full-screen="isFullScreen"
|
||||||
@screenfullChange="screenfullChange" />
|
@screenfullChange="screenfullChange" />
|
||||||
<div class="main-body" style="
|
<div class="main-body" style="
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
@@ -177,8 +177,8 @@ export default {
|
|||||||
const requestParams = {
|
const requestParams = {
|
||||||
startTime: this.dateData.startTime,
|
startTime: this.dateData.startTime,
|
||||||
endTime: this.dateData.endTime,
|
endTime: this.dateData.endTime,
|
||||||
paramName: '双镀销量',
|
paramName: '销量_双镀面板',
|
||||||
paramList: ['双镀成本', '双镀均价','双镀毛利率'],
|
paramList: ['双镀成本', '单价_双镀面板','双镀毛利率'],
|
||||||
baseId: this.factory,
|
baseId: this.factory,
|
||||||
};
|
};
|
||||||
// 调用接口
|
// 调用接口
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export default {
|
|||||||
startTime: this.dateData.startTime,
|
startTime: this.dateData.startTime,
|
||||||
endTime: this.dateData.endTime,
|
endTime: this.dateData.endTime,
|
||||||
paramName: '销量',
|
paramName: '销量',
|
||||||
paramList: ['净价', '单价', '产销率', '双镀销量', '双镀占比', '溢价产品销量', '溢价产品毛利'],
|
paramList: ['净价', '单价', '产销率', '销量_双镀面板', '双镀占比', '溢价产品销量', '溢价产品毛利'],
|
||||||
baseId: this.factory,
|
baseId: this.factory,
|
||||||
};
|
};
|
||||||
// 调用接口
|
// 调用接口
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export default {
|
|||||||
{name:'净价',unit:'元/㎡'},
|
{name:'净价',unit:'元/㎡'},
|
||||||
{name:'单价',unit:'元/㎡'},
|
{name:'单价',unit:'元/㎡'},
|
||||||
{name:'产销率',unit:'%'},
|
{name:'产销率',unit:'%'},
|
||||||
{name:'双镀销量',unit:'万㎡'},
|
{name:'销量_双镀面板',unit:'万㎡'},
|
||||||
{name:'双镀占比',unit:'%'},
|
{name:'双镀占比',unit:'%'},
|
||||||
{name:'溢价产品销量',unit:'万㎡'},
|
{name:'溢价产品销量',unit:'万㎡'},
|
||||||
{name:'溢价产品毛利',unit:'元'},
|
{name:'溢价产品毛利',unit:'元'},
|
||||||
|
|||||||
@@ -63,11 +63,11 @@ export default {
|
|||||||
return {
|
return {
|
||||||
activeButton: 0,
|
activeButton: 0,
|
||||||
isDropdownShow: false,
|
isDropdownShow: false,
|
||||||
selectedProfit: '双镀销量',
|
selectedProfit: '销量_双镀面板',
|
||||||
profitOptions:[
|
profitOptions:[
|
||||||
{name:'双镀销量',unit:'万㎡'},
|
{name:'销量_双镀面板',unit:'万㎡'},
|
||||||
{name:'双镀成本',unit:'元/㎡'},
|
{name:'双镀成本',unit:'元/㎡'},
|
||||||
{name:'双镀均价',unit:'元/㎡'},
|
{name:'单价_双镀面板',unit:'元/㎡'},
|
||||||
{name:'双镀毛利率',unit:'元'},
|
{name:'双镀毛利率',unit:'元'},
|
||||||
],
|
],
|
||||||
unit:'万㎡'
|
unit:'万㎡'
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default {
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({
|
default: () => ({
|
||||||
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
单价_双镀面板: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
indicatorDefs() {
|
indicatorDefs() {
|
||||||
return [
|
return [
|
||||||
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
||||||
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
{ key: 'financialPrice', name: '单价_双镀面板', unit: '元/㎡'},
|
||||||
{ key: 'financialProfit', name: '双镀毛利率', unit: '%'},
|
{ key: 'financialProfit', name: '双镀毛利率', unit: '%'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export default {
|
|||||||
{ key: 'netPrice', name: '净价', unit: '元/㎡', route:'/netPriceAnalysis/netPriceAnalysisBase'},
|
{ key: 'netPrice', name: '净价', unit: '元/㎡', route:'/netPriceAnalysis/netPriceAnalysisBase'},
|
||||||
{ key: 'unitPrice', name: '单价', unit: '元/㎡',route:'/unitPriceAnalysis/unitPriceAnalysisBase' },
|
{ key: 'unitPrice', name: '单价', unit: '元/㎡',route:'/unitPriceAnalysis/unitPriceAnalysisBase' },
|
||||||
{ key: 'productionSales', name: '产销率', unit: '%',route:'/salesVolumeAnalysis/productionSalesBase'},
|
{ key: 'productionSales', name: '产销率', unit: '%',route:'/salesVolumeAnalysis/productionSalesBase'},
|
||||||
{ key: 'sdxl', name: '双镀销量', unit: '万㎡',route:'/salesVolumeAnalysis/doublePlatedBase' },
|
{ key: 'sdxl', name: '销量_双镀面板', unit: '万㎡',route:'/salesVolumeAnalysis/doublePlatedBase' },
|
||||||
{ key: 'freight', name: '双镀占比', unit: '%',route:'/salesVolumeAnalysis/doublePlatedBase' },
|
{ key: 'freight', name: '双镀占比', unit: '%',route:'/salesVolumeAnalysis/doublePlatedBase' },
|
||||||
{ key: 'cpxl', name: '溢价产品销量', unit: '万㎡',route:null },
|
{ key: 'cpxl', name: '溢价产品销量', unit: '万㎡',route:null },
|
||||||
{ key: 'premiumProducts', name: '溢价产品毛利', unit: '元',route:null },
|
{ key: 'premiumProducts', name: '溢价产品毛利', unit: '元',route:null },
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export default {
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({
|
default: () => ({
|
||||||
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
单价_双镀面板: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -61,7 +61,7 @@ export default {
|
|||||||
indicatorDefs() {
|
indicatorDefs() {
|
||||||
return [
|
return [
|
||||||
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
||||||
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
{ key: 'financialPrice', name: '单价_双镀面板', unit: '元/㎡'},
|
||||||
{ key: 'financialProfit', name: '双镀毛利率', unit: '%'},
|
{ key: 'financialProfit', name: '双镀毛利率', unit: '%'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user