|
@ -275,6 +275,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
} |
|
|
} |
|
|
if (formField === 'projectCode') { |
|
|
if (formField === 'projectCode') { |
|
|
setV['projectCode'] = val[0]['projectCode'] |
|
|
setV['projectCode'] = val[0]['projectCode'] |
|
|
|
|
|
} |
|
|
|
|
|
if (formField === 'fromWarehouseCode' &&formRef.formModel.fromWarehouseCode != val[0]['code']) { |
|
|
|
|
|
tableData.value = [] |
|
|
} |
|
|
} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
formRef.setValues(setV) |
|
|
formRef.setValues(setV) |
|
|