You need to first dequeue the parent theme JS file and then enqueue your own from the child theme. But I suggest you not to override this way but simply add another JS file where you can write your code or use our Custom JS in Theme Settings.
If you still want to do this, you will need to add a localization array as well. You can find how to do this in the file funcitons.php PHP function – woodmart_enqueue_scripts