|
|
@ -549,7 +549,7 @@ const detailSubmitForm= async (formType,data,getList,formRef,tableList) => { |
|
|
|
const openFormCallBack = (type, row, masterParmas, callback) => { |
|
|
|
if (operatRecord.value.type == 'TECH') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
if (item.field == 'maintenance') { |
|
|
|
selecUserByType({ classType: 'TECH', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
@ -558,7 +558,7 @@ const openFormCallBack = (type, row, masterParmas,callback) => { |
|
|
|
}) |
|
|
|
} else if (operatRecord.value.type == 'DEVICE') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
if (item.field == 'maintenance') { |
|
|
|
selecUserByType({ classType: 'DEVICE', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
@ -567,7 +567,7 @@ const openFormCallBack = (type, row, masterParmas,callback) => { |
|
|
|
}) |
|
|
|
} else if (operatRecord.value.type == 'MOLD') { |
|
|
|
DeviceMaintenanceDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
if (item.field == 'maintenances') { |
|
|
|
if (item.field == 'maintenance') { |
|
|
|
selecUserByType({ classType: 'MOLD', factoryAreaNumber: '', flag: 1 }).then(response => { |
|
|
|
item.componentProps.options = response |
|
|
|
callback(); |
|
|
|