Merge remote-tracking branch 'origin/master'

master
wws 11 months ago
commit 48fd2bffe0

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div ref="chart" style="width:95%;height:300px"></div> <div ref="chart" style="width:90%;height:300px"></div>
</div> </div>
</template> </template>

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div ref="chart" style="width:95%;height:300px"></div> <div ref="chart" style="width:90%;height:300px"></div>
</div> </div>
</template> </template>

@ -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