|
@ -258,6 +258,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
|
|
|
if(formField == 'workshopCode'){ |
|
|
|
|
|
setV['productionLineCode'] = '' |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
} |
|
|
if(formField == 'costCenterCode'){ |
|
|
if(formField == 'costCenterCode'){ |
|
|
setV['costcentreCode'] = val[0]['costcentreCode'] |
|
|
setV['costcentreCode'] = val[0]['costcentreCode'] |
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|