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