fix:排扳加工率,合格率纠正
This commit is contained in:
parent
71d5e9c56b
commit
53e2d487bf
|
|
@ -53,7 +53,7 @@
|
||||||
<span v-if="scope.row.剪切合格">{{((scope.row.剪切合格/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
<span v-if="scope.row.剪切合格">{{((scope.row.剪切合格/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="剪切加功率">
|
<el-table-column label="剪切加工率">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row['剪切¢18.3mm不合格']">{{ (((scope.row.总切片数-scope.row['剪切¢18.3mm不合格'].含)/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
<span v-if="scope.row['剪切¢18.3mm不合格']">{{ (((scope.row.总切片数-scope.row['剪切¢18.3mm不合格'].含)/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
||||||
<span v-else>100%</span>
|
<span v-else>100%</span>
|
||||||
|
|
@ -71,14 +71,15 @@
|
||||||
<span v-else>0%</span>
|
<span v-else>0%</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="加功率">
|
<el-table-column label="加工率">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.总切片合格数">{{((scope.row.总切片合格数/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
<span v-if="scope.row.总切片完全合格数">{{((scope.row.加工率数/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="合格率" prop="合格率">
|
<el-table-column label="合格率" prop="合格率">
|
||||||
|
<!-- 暗点合格并且剪切合格的板段数:在暗点合格含里刨除剪切可加工和剪切不合格 -->
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.总切片完全合格数">{{((scope.row.总切片完全合格数/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
<span v-if="scope.row.总切片完全合格数">{{((scope.row.暗点合格.仅/scope.row.总切片数)*100).toFixed(2) }}%</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
|
|
@ -87,7 +88,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { genTree } from "@/utils/verificate";
|
|
||||||
export default {
|
export default {
|
||||||
name: "workerTimes",
|
name: "workerTimes",
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -131,6 +131,7 @@ export default {
|
||||||
}
|
}
|
||||||
item.不合格数 = 0;
|
item.不合格数 = 0;
|
||||||
item.可加工数 = 0;
|
item.可加工数 = 0;
|
||||||
|
item.加工率数 = item.总切片合格数?item.总切片合格数:0-item.暗点不合格.含?item.暗点合格.含:0;
|
||||||
if(item['剪切¢18.3mm不合格']){
|
if(item['剪切¢18.3mm不合格']){
|
||||||
if(item['剪切¢18.3mm可加工']){
|
if(item['剪切¢18.3mm可加工']){
|
||||||
item.剪切合格 = item.总切片数 - item['剪切¢18.3mm可加工'].含- item['剪切¢18.3mm不合格'].含;
|
item.剪切合格 = item.总切片数 - item['剪切¢18.3mm可加工'].含- item['剪切¢18.3mm不合格'].含;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue