修改生产工单管理表格样式

master
wws 1 year ago committed by 李靖
parent a1aef0a3e4
commit 15c851a741

@ -174,7 +174,14 @@
<el-table-column width="120" label="派工数量" align="center" prop="quantitySplit"/> <el-table-column width="120" label="派工数量" align="center" prop="quantitySplit"/>
<el-table-column width="150" label="工艺编码" align="center" prop="routeCode"/> <el-table-column width="150" label="工艺编码" align="center" prop="routeCode"/>
<el-table-column width="150" label="工艺名称" align="center" prop="routeName"/> <el-table-column width="150" label="工艺名称" align="center" prop="routeName"/>
<el-table-column width="130" label="产线设备" align="center" prop="prodLineName"/> <!-- show-overflow-tooltip -->
<el-table-column width="300" label="产线设备" align="center" >
<template slot-scope="scope">
<el-popover width="250" placement="top-start" trigger="hover" :content="scope.row.prodLineName">
<span slot="reference" class="btn">{{ scope.row.prodLineName }}</span>
</el-popover>
</template>
</el-table-column>
<el-table-column width="130" label="产线设备编码" align="center" prop="prodLineCode" v-if="false"/> <el-table-column width="130" label="产线设备编码" align="center" prop="prodLineCode" v-if="false"/>
<el-table-column width="120" label="工单生产日期" align="center" prop="productDate"> <el-table-column width="120" label="工单生产日期" align="center" prop="productDate">
<template slot-scope="scope"> <template slot-scope="scope">
@ -429,7 +436,13 @@
<el-table-column width="60" align="center" label="序号" type="index"></el-table-column> <el-table-column width="60" align="center" label="序号" type="index"></el-table-column>
<el-table-column width="200" align="center" prop="workorderCode" label="工单号"></el-table-column> <el-table-column width="200" align="center" prop="workorderCode" label="工单号"></el-table-column>
<el-table-column width="100" align="center" prop="productDate" label="工单日期"></el-table-column> <el-table-column width="100" align="center" prop="productDate" label="工单日期"></el-table-column>
<el-table-column width="150" align="center" prop="prodLineCode" label="生产线体设备"></el-table-column> <el-table-column width="150" align="center" label="生产线体设备">
<template slot-scope="scope">
<el-popover width="250" placement="top-start" trigger="hover" :content="scope.row.prodLineCode">
<span slot="reference" class="btn">{{ scope.row.prodLineCode }}</span>
</el-popover>
</template>
</el-table-column>
<el-table-column width="80" align="center" prop="quantitySplit" label="数量"></el-table-column> <el-table-column width="80" align="center" prop="quantitySplit" label="数量"></el-table-column>
<el-table-column width="60" label="单位" align="center" prop="unit"/> <el-table-column width="60" label="单位" align="center" prop="unit"/>
<el-table-column width="90" label="工艺编码" align="center" prop="routeCode"/> <el-table-column width="90" label="工艺编码" align="center" prop="routeCode"/>
@ -615,6 +628,7 @@ export default {
// - // -
changeCarNum(num) { changeCarNum(num) {
// //
if (this.splitForm.splitNum == null) { if (this.splitForm.splitNum == null) {
this.$message({ this.$message({
@ -1270,4 +1284,9 @@ export default {
.my-print-foot { .my-print-foot {
margin-top: 20px; margin-top: 20px;
} }
.btn {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style> </style>

Loading…
Cancel
Save