|
@@ -41,38 +41,29 @@
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template #turnoverRateThirtyDays="{ item }">
|
|
|
- <div>{{ Math.round(item.turnoverRateThirtyDays * 100 * 100) / 100 }}%</div>
|
|
|
- </template>
|
|
|
<template #turnoverRateThirtyDaysHeader>
|
|
|
- <span>30天周转率</span>
|
|
|
+ <span>30天周转次数</span>
|
|
|
<el-tooltip class="box-item" effect="dark" placement="bottom">
|
|
|
<template #content>
|
|
|
- <div>库存周转率=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
+ <div>库存周转次数=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
</template>
|
|
|
<el-icon style="cursor: pointer; margin-left: 4px; transform: translateY(2px)"><QuestionFilled /></el-icon>
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
- <template #turnoverRateSixtyDays="{ item }">
|
|
|
- <div>{{ Math.round(item.turnoverRateSixtyDays * 100 * 100) / 100 }}%</div>
|
|
|
- </template>
|
|
|
<template #turnoverRateSixtyDaysHeader>
|
|
|
- <span>60天周转率</span>
|
|
|
+ <span>60天周转次数</span>
|
|
|
<el-tooltip class="box-item" effect="dark" placement="bottom">
|
|
|
<template #content>
|
|
|
- <div>库存周转率=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
+ <div>库存周转次数=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
</template>
|
|
|
<el-icon style="cursor: pointer; margin-left: 4px; transform: translateY(2px)"><QuestionFilled /></el-icon>
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
- <template #turnoverRateNinetyDays="{ item }">
|
|
|
- <div>{{ Math.round(item.turnoverRateNinetyDays * 100 * 100) / 100 }}%</div>
|
|
|
- </template>
|
|
|
<template #turnoverRateNinetyDaysHeader>
|
|
|
- <span>90天周转率</span>
|
|
|
+ <span>90天周转次数</span>
|
|
|
<el-tooltip class="box-item" effect="dark" placement="bottom">
|
|
|
<template #content>
|
|
|
- <div>库存周转率=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
+ <div>库存周转次数=时间段天数/(时间段天数X (1/2) X (期初库存数量+期末库存数量)/时间段销售量)</div>
|
|
|
</template>
|
|
|
<el-icon style="cursor: pointer; margin-left: 4px; transform: translateY(2px)"><QuestionFilled /></el-icon>
|
|
|
</el-tooltip>
|
|
@@ -172,10 +163,9 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "30天周转率",
|
|
|
+ label: "30天周转次数",
|
|
|
prop: "turnoverRateThirtyDays",
|
|
|
- slot: "turnoverRateThirtyDays",
|
|
|
- width: 140,
|
|
|
+ width: 155,
|
|
|
slotHeader: "turnoverRateThirtyDaysHeader",
|
|
|
},
|
|
|
sortable: true,
|
|
@@ -190,10 +180,9 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "60天周转率",
|
|
|
+ label: "60天周转次数",
|
|
|
prop: "turnoverRateSixtyDays",
|
|
|
- slot: "turnoverRateSixtyDays",
|
|
|
- width: 140,
|
|
|
+ width: 155,
|
|
|
slotHeader: "turnoverRateSixtyDaysHeader",
|
|
|
},
|
|
|
sortable: true,
|
|
@@ -208,10 +197,9 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "90天周转率",
|
|
|
+ label: "90天周转次数",
|
|
|
prop: "turnoverRateNinetyDays",
|
|
|
- slot: "turnoverRateNinetyDays",
|
|
|
- width: 140,
|
|
|
+ width: 155,
|
|
|
slotHeader: "turnoverRateNinetyDaysHeader",
|
|
|
},
|
|
|
sortable: true,
|
|
@@ -285,9 +273,9 @@ const deriveExcel = () => {
|
|
|
fileReader.readAsText(res);
|
|
|
} else {
|
|
|
if (activeName.value == "1") {
|
|
|
- proxy.downloadFile(res, "周转率-裸垫-" + moment().format("yyyy-MM-DD") + ".xlsx");
|
|
|
+ proxy.downloadFile(res, "周转次数-裸垫-" + moment().format("yyyy-MM-DD") + ".xlsx");
|
|
|
} else {
|
|
|
- proxy.downloadFile(res, "周转率-裸砖-" + moment().format("yyyy-MM-DD") + ".xlsx");
|
|
|
+ proxy.downloadFile(res, "周转次数-裸砖-" + moment().format("yyyy-MM-DD") + ".xlsx");
|
|
|
}
|
|
|
}
|
|
|
});
|