I'd hire an elec. who will properly attach and support the romex.
Personally, I've never hard wired a DW, and never will, because any...
They can walk away and not compose a counter offer.
They can compose a counter offer and site the inspection report as justification,...
And bare to grnd.
The black appears to be romex, not an appliance cord.
You'll be better served by repairing/replacing the existing, by virtue of the operating costs.
The base of the stucco wall is a weep screed, which needs to remain unobstructed.
Your options are a paint or what is normal done,...
Separate names with a comma.