diff --git a/src/views/pszc/hrelongatordata108/rolltimedata108/hrelongator108data.ts b/src/views/pszc/hrelongatordata108/rolltimedata108/hrelongator108data.ts index a337407..7e09316 100644 --- a/src/views/pszc/hrelongatordata108/rolltimedata108/hrelongator108data.ts +++ b/src/views/pszc/hrelongatordata108/rolltimedata108/hrelongator108data.ts @@ -8,7 +8,7 @@ import { number } from 'echarts' // const sjdList = await PszcCommonApi.selectHr108Pros({flag: '3' , type: '1',module:'2'}) const sjdList = DictApi.getStrDictOptions(DICT_TYPE.pszc_hr_puncherdata108_roll); // 仪器仪表 -const yqbList = await PszcCommonApi.selectHr108Pros({flag: '3' , type: '2'}) +const yqbList = await PszcCommonApi.selectHr108Pros({flag: '4' , type: '2'}) // 表单校验 export const HrPuncherdata108Rules = reactive({ diff --git a/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts b/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts index 75458c9..b769807 100644 --- a/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts +++ b/src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts @@ -63,9 +63,9 @@ export const HrSizingmilldata108 = useCrudSchemas(reactive([ label: '仪表的名称', field: 'mcode', isTable: true, - // formatter: (_: Recordable, __: TableColumn, cellValue: number) => { - // return yqbList.find((obj) => obj.code === cellValue)?.label - // }, + formatter: (_: Recordable, __: TableColumn, cellValue: number) => { + return yqbList.find((obj) => obj.code === cellValue)?.label + }, search: { show: true, component: 'Select',