diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue index c9a058bd5..ea5af74a8 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue @@ -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() }) } }