fix:禅道111

This commit is contained in:
shijing 2025-09-28 16:07:13 +08:00
parent 72339aa0f4
commit 853d1bc760
1 changed files with 8 additions and 1 deletions

View File

@ -98,7 +98,7 @@
</el-select>
</template>
</el-table-column>
<el-table-column prop="note" :label="item.defect_name" v-for="item in qct_defects" :key="item.id" width="120px">
<el-table-column prop="note" :label="item.defect_name" v-for="item in qct_defects" :key="item.id" :width="widthFun(item)">
<template #default="scope">
<el-switch
:disabled="!scope.row.isEdit||!item.canEdit"
@ -609,6 +609,13 @@ export default {
}
})
},
widthFun(item){
if(item.defect_name.indexOf('黑网')!=-1|| item.defect_name.indexOf('白网')!=-1||item.defect_name.indexOf('小网')!=-1){
return '54px';
}else{
return '';
}
},
//
formTableSave(row) {
let that = this;