Browse Source

汽车镜需求新增

master
songguoqiang 6 months ago
parent
commit
5dca80e209
  1. 4
      src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts
  2. 4
      src/views/eam/basic/inspection/inspection.data.ts
  3. 4
      src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts
  4. 25
      src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts
  5. 17
      src/views/eam/mold/moldSpotInspectionRecordMain/moldSpotInspectionRecordMain.data.ts

4
src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts

@ -66,7 +66,7 @@ export const DeviceMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
label: '设备保养部位',
field: 'equipmentParts',
sort: 'custom',
isSearch: false,
isSearch: true,
},
{
label: '设备编号',
@ -100,7 +100,7 @@ export const DeviceMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
label: '设备名称',
field: 'deviceName',
sort: 'custom',
isSearch: false,
isSearch: true,
isForm: false,
},
{

4
src/views/eam/basic/inspection/inspection.data.ts

@ -65,7 +65,7 @@ export const DeviceMoldItems = useCrudSchemas(reactive<CrudSchema[]>([
label: '设备编号',
field: 'deviceNumber',
sort: 'custom',
isSearch: false,
isSearch: true,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
@ -93,7 +93,7 @@ export const DeviceMoldItems = useCrudSchemas(reactive<CrudSchema[]>([
label: '设备名称',
field: 'deviceName',
sort: 'custom',
isSearch: false,
isSearch: true,
isForm: false,
},
{

4
src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts

@ -70,7 +70,7 @@ export const MoldMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
label: '模具编号',
field: 'deviceNumber',
sort: 'custom',
isSearch: false,
isSearch: true,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
@ -98,7 +98,7 @@ export const MoldMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
label: '模具名称',
field: 'deviceName',
sort: 'custom',
isSearch: false,
isSearch: true,
isForm: false,
},
{

25
src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts

@ -186,6 +186,31 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema
width: '300',
},
},
{
label: '审批意见',
field: 'approveOpinion',
sort: 'custom',
table: {
width: '300',
},
},{
label: '点检时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},table: {
width: '150',
},
isForm:false
},
{
label: '操作',
field: 'action',

17
src/views/eam/mold/moldSpotInspectionRecordMain/moldSpotInspectionRecordMain.data.ts

@ -186,6 +186,23 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema
table: {
width: '300',
},
},{
label: '点检时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: false,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},table: {
width: '150',
},
isForm:false
},
{
label: '操作',

Loading…
Cancel
Save