Browse Source

Merge remote-tracking branch 'origin/master'

master
zengqinyuan 1 month ago
parent
commit
2047bc6d24
  1. 23
      src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts
  2. 70
      src/views/eam/basic/moldInspection/moldInspection.data.ts
  3. 22
      src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts

23
src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts

@ -107,6 +107,7 @@ export const DeviceInspection = useCrudSchemas(reactive<CrudSchema[]>([
label: '操作', label: '操作',
field: 'action', field: 'action',
isForm: false, isForm: false,
isDetail: false,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'
@ -181,6 +182,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: { componentProps: {
disabled: true, disabled: true,
} }
},
tableForm: {
type:'Select',
disabled:true,
} }
}, },
{ {
@ -197,6 +202,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true disabled: true
} }
}, },
tableForm: {
type:'Select',
disabled:true,
}
}, },
{ {
@ -204,8 +213,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
field: 'equipmentParts', field: 'equipmentParts',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
tableForm: {
disabled:true,
}
}, },
{ {
label: '记录是否必填', label: '记录是否必填',
field: 'numberNeedSwitch', field: 'numberNeedSwitch',
@ -217,6 +228,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'Switch', component: 'Switch',
value: false, value: false,
},
tableForm: {
disabled:true,
} }
}, },
@ -231,6 +245,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'Switch', component: 'Switch',
value: false, value: false,
},
tableForm: {
disabled:true,
} }
}, },
{ {
@ -242,11 +259,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 170 width: 170
}, },
tableForm: {
disabled:true,
},
}, },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
isForm: false, isForm: false,
isTableForm: false,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'

70
src/views/eam/basic/moldInspection/moldInspection.data.ts

@ -72,41 +72,41 @@ export const DeviceMoldItems = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '模具编号', // label: '模具编号',
field: 'deviceNumber', // field: 'deviceNumber',
sort: 'custom', // sort: 'custom',
isSearch: true, // isSearch: true,
form: { // form: {
// labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
componentProps: { // componentProps: {
isSearchList: true, // 开启查询弹窗 // isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择单号', // 输入框占位文本 // searchListPlaceholder: '请选择单号', // 输入框占位文本
searchField: 'number', // 查询弹窗赋值字段 // searchField: 'number', // 查询弹窗赋值字段
searchTitle: '单号信息', // 查询弹窗标题 // searchTitle: '单号信息', // 查询弹窗标题
searchAllSchemas: DeviceMOLD.allSchemas, // 查询弹窗所需类 // searchAllSchemas: DeviceMOLD.allSchemas, // 查询弹窗所需类
searchPage: DeviceMoldItemsApi.getNumber, // 查询弹窗所需分页方法 // searchPage: DeviceMoldItemsApi.getNumber, // 查询弹窗所需分页方法
searchCondition: [ // searchCondition: [
{ // {
key: 'available', // key: 'available',
value: "TRUE", // value: "TRUE",
isMainValue: false // isMainValue: false
}, { // }, {
key: 'type', // key: 'type',
value: 'type', // value: 'type',
isMainValue: true // isMainValue: true
} // }
] // ]
} // }
} // }
}, // },
{ // {
label: '模具名称', // label: '模具名称',
field: 'deviceName', // field: 'deviceName',
sort: 'custom', // sort: 'custom',
isSearch: false, // isSearch: false,
isForm: false, // isForm: false,
}, // },
{ {
label: '项类型', label: '项类型',
field: 'status', field: 'status',

22
src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts

@ -107,6 +107,7 @@ export const DeviceInspection = useCrudSchemas(reactive<CrudSchema[]>([
label: '操作', label: '操作',
field: 'action', field: 'action',
isForm: false, isForm: false,
isDetail: false,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'
@ -181,6 +182,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: { componentProps: {
disabled: true, disabled: true,
} }
},
tableForm: {
type:'Select',
disabled:true,
} }
}, },
{ {
@ -197,6 +202,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true disabled: true
} }
}, },
tableForm: {
type:'Select',
disabled:true,
}
}, },
{ {
@ -204,6 +213,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
field: 'equipmentParts', field: 'equipmentParts',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
tableForm: {
disabled:true,
}
}, },
{ {
@ -217,6 +229,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'Switch', component: 'Switch',
value: false, value: false,
},
tableForm: {
disabled:true,
} }
}, },
@ -231,6 +246,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'Switch', component: 'Switch',
value: false, value: false,
},
tableForm: {
disabled:true,
} }
}, },
{ {
@ -242,11 +260,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 170 width: 170
}, },
tableForm: {
disabled:true,
}
}, },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
isForm: false, isForm: false,
isTableForm: false,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'

Loading…
Cancel
Save