fix:棒管综合统计时间列加宽

This commit is contained in:
shijing 2025-05-23 16:11:36 +08:00
parent 7d4710c61a
commit d9d8fdca34
2 changed files with 17 additions and 17 deletions

View File

@ -47,7 +47,7 @@
id="exportDiv" id="exportDiv"
stripe stripe
> >
<el-table-column label="产品编号" prop="batch"> <el-table-column label="产品编号" prop="batch" min-width="160">
</el-table-column> </el-table-column>
<el-table-column label="7号车间生产" prop="7号车间生产" align="center" class-name="colorheader2"> <el-table-column label="7号车间生产" prop="7号车间生产" align="center" class-name="colorheader2">
<el-table-column label="规格" class-name="colorheader2"> <el-table-column label="规格" class-name="colorheader2">
@ -126,7 +126,7 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="8号车间中检" prop="8号车间中检" align="center" class-name="colorheader3"> <el-table-column label="8号车间中检" prop="8号车间中检" align="center" class-name="colorheader3">
<el-table-column label="时间" class-name="colorheader3"> <el-table-column label="时间" class-name="colorheader3" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.七车间入库_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.七车间入库_日期 }}</span>
</template> </template>
@ -193,7 +193,7 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="6号车间加工" prop="6号车间加工" align="center" class-name="colorheader4"> <el-table-column label="6号车间加工" prop="6号车间加工" align="center" class-name="colorheader4">
<el-table-column label="领棒日期" class-name="colorheader4"> <el-table-column label="领棒日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间领料_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间领料_日期 }}</span>
</template> </template>
@ -221,7 +221,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" class-name="colorheader4"> <el-table-column label="加工日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_平头_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_平头_日期 }}</span>
</template> </template>
@ -249,7 +249,7 @@
<span v-if="scope.row.data">{{ scope.row.data.六车间_粘铁头_count_notok }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_粘铁头_count_notok }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" class-name="colorheader4"> <el-table-column label="加工日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_粘铁头_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_粘铁头_日期 }}</span>
</template> </template>
@ -302,7 +302,7 @@
<span v-if="scope.row.data">{{ getCountQt(scope.row.data,'粗中细磨') }}</span> <span v-if="scope.row.data">{{ getCountQt(scope.row.data,'粗中细磨') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" class-name="colorheader4"> <el-table-column label="加工日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_粗中细磨_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_粗中细磨_日期 }}</span>
</template> </template>
@ -350,7 +350,7 @@
<span v-if="scope.row.data">{{ scope.row.data.六车间_抛光_count_notok }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_抛光_count_notok }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" class-name="colorheader4"> <el-table-column label="加工日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_抛光_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_抛光_日期 }}</span>
</template> </template>
@ -378,7 +378,7 @@
<span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_合格率 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_合格率 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" class-name="colorheader4"> <el-table-column label="加工日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_日期 }}</span>
</template> </template>
@ -441,7 +441,7 @@
<span v-if="scope.row.data">{{ getCountQt(scope.row.data,'六车间中检') }}</span> <span v-if="scope.row.data">{{ getCountQt(scope.row.data,'六车间中检') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="日期" class-name="colorheader4"> <el-table-column label="日期" class-name="colorheader4" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间中检_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间中检_日期 }}</span>
</template> </template>
@ -494,7 +494,7 @@
<span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_合格率 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_合格率 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="日期" class-name="colorheader5"> <el-table-column label="日期" class-name="colorheader5" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_检验日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_检验日期 }}</span>
</template> </template>

View File

@ -47,7 +47,7 @@
id="exportDiv" id="exportDiv"
stripe stripe
> >
<el-table-column label="产品编号" prop="batch"> <el-table-column label="产品编号" prop="batch" min-width="160">
</el-table-column> </el-table-column>
<el-table-column label="10号生产" align="center" class-name="colorheader1"> <el-table-column label="10号生产" align="center" class-name="colorheader1">
<el-table-column label="规格" class-name="colorheader1"> <el-table-column label="规格" class-name="colorheader1">
@ -189,7 +189,7 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="退火" align="center" class-name="colorheader4"> <el-table-column label="退火" align="center" class-name="colorheader4">
<el-table-column label="时间" width="100px" class-name="colorheader4"> <el-table-column label="时间" width="160px" class-name="colorheader4">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.管料退火_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.管料退火_日期 }}</span>
</template> </template>
@ -327,7 +327,7 @@
</el-table-column> --> </el-table-column> -->
<el-table-column label="6号车间" align="center" class-name="colorheader5"> <el-table-column label="6号车间" align="center" class-name="colorheader5">
<el-table-column label="领料" align="center" class-name="colorheader5"> <el-table-column label="领料" align="center" class-name="colorheader5">
<el-table-column label="领取时间" width="100px" class-name="colorheader5"> <el-table-column label="领取时间" width="160px" class-name="colorheader5">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间领料_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间领料_日期 }}</span>
</template> </template>
@ -379,7 +379,7 @@
<span v-if="scope.row.data">{{getCountQt(scope.row.data,'开槽')}}</span> <span v-if="scope.row.data">{{getCountQt(scope.row.data,'开槽')}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" width="100px" class-name="colorheader5"> <el-table-column label="加工日期" min-width="160" class-name="colorheader5">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_开槽_日期 }}</span>
</template> </template>
@ -421,7 +421,7 @@
<span v-if="scope.row.data">{{getCountQt(scope.row.data,'倒角')}}</span> <span v-if="scope.row.data">{{getCountQt(scope.row.data,'倒角')}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="加工日期" width="100px" class-name="colorheader5"> <el-table-column label="加工日期" min-width="160" class-name="colorheader5">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间_倒角_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间_倒角_日期 }}</span>
</template> </template>
@ -500,7 +500,7 @@
<span v-if="scope.row.data">{{getCountQt(scope.row.data,'六车间中检')}}</span> <span v-if="scope.row.data">{{getCountQt(scope.row.data,'六车间中检')}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="日期" class-name="colorheader6"> <el-table-column label="日期" class-name="colorheader6" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间中检_日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间中检_日期 }}</span>
</template> </template>
@ -542,7 +542,7 @@
<span v-if="scope.row.data">{{getCountQt(scope.row.data,'六车间生产入库')}}</span> <span v-if="scope.row.data">{{getCountQt(scope.row.data,'六车间生产入库')}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="日期" class-name="colorheader7"> <el-table-column label="日期" class-name="colorheader7" min-width="160">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_检验日期 }}</span> <span v-if="scope.row.data">{{ scope.row.data.六车间生产入库_检验日期 }}</span>
</template> </template>