|
|
@ -528,9 +528,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
//成本中心代码 |
|
|
|
//成本中心类型 |
|
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|
|
if(!formRef.formModel['reasonCodeRequisition']&&defaultReasonCodeRequisition.value){ |
|
|
|
setDefaultrReasonCodeRequisition() |
|
|
|
} |
|
|
|
}else if(formField == 'productionLineCode'){ |
|
|
|
tableData.value = [] |
|
|
|
}else if(formField === 'reasonCodeRequisition'){ |
|
|
@ -559,6 +556,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
}) |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|
if(formField == 'costCenterCode'){ |
|
|
|
if(defaultReasonCodeRequisition.value){ |
|
|
|
setDefaultrReasonCodeRequisition() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|