检验人员

master
shaoyong 11 months ago
parent 4b0facec07
commit e8715235f9

@ -126,12 +126,15 @@ export default {
// //
handleBomSelectionChange(selection) { handleBomSelectionChange(selection) {
if(selection.length>1){ /* if(selection.length>1){
this.$modal.msgSuccess("只能选一个"); this.$modal.msgSuccess("只能选一个");
} } */
this.ids = selection[0].userCode; /* this.ids = selection[0].userCode;
this.idsName = selection[0].userName; this.idsName = selection[0].userName; */
this.ids = selection.map(item => item.userCode).join(',');
this.idsName = selection.map(item => item.userName).join(',');
}, },

@ -186,8 +186,8 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="检测人工号" align="center" prop="checkManCode" width="100"/> <el-table-column label="检测人工号" align="center" prop="checkManCode" width="180" :show-overflow-tooltip="true"/>
<el-table-column label="检测人姓名" align="center" prop="checkManName" width="100"/> <el-table-column label="检测人姓名" align="center" prop="checkManName" width="180" :show-overflow-tooltip="true"/>
<el-table-column label="检验时间" align="center" prop="checkTime" width="180"> <el-table-column label="检验时间" align="center" prop="checkTime" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span>{{ parseTime(scope.row.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>

Loading…
Cancel
Save