[solved] Customize readonly field always hide after set value

I don’t want know why i created a field in the sales invoice, and i set the field value after a ajax return, when i see the page, the field appear a moment then it disappear, Anyone know about sales invoice work ? seem like things refresh_field twice, but i don’t refresh this field, i just set the field value. The field appear without hide, if i set the field NOT readonly.

My code is like this

I am using v8.0.0 currently. Anyone could help me on this ?

The console log, i guess this make the field refresh, but i do not what is it, anyone ? but i don’t have any field named as base_amount.

I think i add into the wrong place of onload.