Browse Source

提交

master
songguoqiang 10 months ago
parent
commit
a7afb523ec
  1. 2
      src/views/pszc/hrelongatordata108/rolltimedata108/hrelongator108data.ts
  2. 6
      src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts

2
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({

6
src/views/pszc/hrsizingmilldata108/hrSizingmilldata108.data.ts

@ -63,9 +63,9 @@ export const HrSizingmilldata108 = useCrudSchemas(reactive<CrudSchema[]>([
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',

Loading…
Cancel
Save