|
|
@ -85,13 +85,13 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column prop="factoryCode" label="工厂" width="90"/>
|
|
|
|
<el-table-column prop="factoryCode" label="工厂" width="90"/>
|
|
|
|
<el-table-column prop="workshopCode" label="车间编码" width="90"/>
|
|
|
|
<el-table-column prop="workshopCode" label="车间编码" width="90"/>
|
|
|
|
<el-table-column prop="workshopName" label="车间名称" width="90"/>
|
|
|
|
<!--<el-table-column prop="workshopName" label="车间名称" width="90"/>-->
|
|
|
|
<el-table-column prop="productDate" label="日期" width="100"/>
|
|
|
|
<el-table-column prop="productDate" label="日期" width="100"/>
|
|
|
|
<el-table-column prop="sapCode" label="产线编码" width="90"/>
|
|
|
|
<el-table-column prop="sapCode" label="产线编码" width="90"/>
|
|
|
|
<el-table-column prop="sapName" label="产线名称" width="160"/>
|
|
|
|
<!--<el-table-column prop="sapName" label="产线名称" width="160"/>-->
|
|
|
|
<el-table-column prop="equipmentName" label="组别" width="90"/>
|
|
|
|
<el-table-column prop="equipmentName" label="组别" width="90"/>
|
|
|
|
<el-table-column prop="prodType" label="品类" width="80"/>
|
|
|
|
<el-table-column prop="prodType" label="品类" width="80"/>
|
|
|
|
<el-table-column prop="teamLeaderName" label="组长" width="100"/>
|
|
|
|
<el-table-column prop="teamLeaderName" label="组长" width="100" :formatter="teamLeaderFormate"/>
|
|
|
|
<el-table-column prop="workorderCode" label="工单号" width="150"/>
|
|
|
|
<el-table-column prop="workorderCode" label="工单号" width="150"/>
|
|
|
|
<el-table-column prop="productCode" label="产品编码" width="120" :formatter="productCodeFormate"/>
|
|
|
|
<el-table-column prop="productCode" label="产品编码" width="120" :formatter="productCodeFormate"/>
|
|
|
|
<el-table-column prop="productName" label="产品名称" width="200"/>
|
|
|
|
<el-table-column prop="productName" label="产品名称" width="200"/>
|
|
|
@ -251,6 +251,11 @@ export default {
|
|
|
|
return cellValue.slice(7,18); //返回值
|
|
|
|
return cellValue.slice(7,18); //返回值
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
teamLeaderFormate(row, column, cellValue){
|
|
|
|
|
|
|
|
if(cellValue != null){
|
|
|
|
|
|
|
|
return cellValue.split("-")[0]; //返回值
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
handleQuery() {
|
|
|
|
handleQuery() {
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|