|
|
@ -265,11 +265,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
formRef.setValues(setV) |
|
|
|
if(formField == 'costCenterCode'){ |
|
|
|
if(defaultReasonCodeRequisition.value){ |
|
|
|
setDefaultrReasonCodeRequisition() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
@ -616,7 +612,7 @@ const openForm = async (type: string, row?: any) => { |
|
|
|
if(type == 'create'){ |
|
|
|
nextTick(()=>{ |
|
|
|
defaultReasonCodeRequisition.value = true |
|
|
|
// formRef.value.setDefaultBlurValue('costCenterCode','DEFC') |
|
|
|
setDefaultrReasonCodeRequisition() |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|