Browse Source

修复测试bug

master
ljlong_2630 8 months ago
parent
commit
5c890e7d77
  1. 6
      src/views/eam/device/devicemaintenancejob/index.vue

6
src/views/eam/device/devicemaintenancejob/index.vue

@ -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();

Loading…
Cancel
Save