Browse Source

WMS 过滤掉操作列

master_hella_20240701
yufei0306 6 months ago
parent
commit
2eef72a669
  1. 12
      src/views/qms/inspectionRecord/index.vue

12
src/views/qms/inspectionRecord/index.vue

@ -73,11 +73,21 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(InspectionRecordMain.allSchemas.tableColumns)
if(routeName.value=='InspectRecordMain'){
tableColumns.value = tableColumns.value.filter(item=>{
return item.label!='操作'
})
}
//
const updataTableColumns = (val) => {
if(routeName.value=='InspectRecordMain'){
tableColumns.value = val.filter(item=>{
return item.label!='操作'
})
}else{
tableColumns.value = val
}
}

Loading…
Cancel
Save