|
@ -201,7 +201,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
if(formField === 'reasonCodeRequisition'){ |
|
|
if(formField === 'reasonCodeRequisition'){ |
|
|
setV['reasonCodeRequisition'] = val[0]['code'] |
|
|
setV['reasonCodeRequisition'] = val[0]['code'] |
|
|
// 项目是否必填 |
|
|
// 项目是否必填 |
|
|
val[0]['isProject']='TRUE' |
|
|
|
|
|
if(UnplannedreceiptRequestMainRules['projectCode']){ |
|
|
if(UnplannedreceiptRequestMainRules['projectCode']){ |
|
|
UnplannedreceiptRequestMainRules['projectCode'][0].required = val[0]['isProject']=='TRUE' |
|
|
UnplannedreceiptRequestMainRules['projectCode'][0].required = val[0]['isProject']=='TRUE' |
|
|
} |
|
|
} |
|
|