|
@ -535,18 +535,18 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
ProductscrapRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
ProductscrapRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
if (item.field == 'projectCode') { |
|
|
if (item.field == 'projectCode') { |
|
|
//项目代码 |
|
|
//项目代码 |
|
|
// if(val[0]['isProject']=='TRUE'){ |
|
|
if(val[0]['isProject']=='TRUE'){ |
|
|
//是-可编辑,可选择 |
|
|
//是-可编辑,可选择 |
|
|
item.componentProps.enterSearch = true |
|
|
item.componentProps.enterSearch = true |
|
|
item.componentProps.isSearchList = true |
|
|
item.componentProps.isSearchList = true |
|
|
item.componentProps.disabled = false |
|
|
item.componentProps.disabled = false |
|
|
// }else{ |
|
|
}else{ |
|
|
// //否-不可编辑,内容为空 |
|
|
//否-不可编辑,内容为空 |
|
|
// setV['projectCode'] = '' |
|
|
setV['projectCode'] = '' |
|
|
// item.componentProps.enterSearch = false |
|
|
item.componentProps.enterSearch = false |
|
|
// item.componentProps.isSearchList = false |
|
|
item.componentProps.isSearchList = false |
|
|
// item.componentProps.disabled = true |
|
|
item.componentProps.disabled = true |
|
|
// } |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|