|
|
@ -850,7 +850,7 @@ const openFormCallBack = (type, row, masterParmas, callback) => { |
|
|
|
if (operatRecord.value.type == 'TECH') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
selecUserByType({ classType: 'TECH', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
selecUserByType({ classType: 'TECH', factoryAreaNumber: '', flag: null }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
|
}); |
|
|
@ -859,7 +859,7 @@ const openFormCallBack = (type, row, masterParmas, callback) => { |
|
|
|
} else if (operatRecord.value.type == 'DEVICE') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
selecUserByType({ classType: 'DEVICE', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
selecUserByType({ classType: 'DEVICE', factoryAreaNumber: '', flag: null }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
|
}); |
|
|
@ -868,7 +868,7 @@ const openFormCallBack = (type, row, masterParmas, callback) => { |
|
|
|
} else if (operatRecord.value.type == 'MOLD') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
selecUserByType({ classType: 'MOLD', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
selecUserByType({ classType: 'MOLD', factoryAreaNumber: '', flag: null }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
|
}); |
|
|
|