If you want to change the df property of the field based on the qty field changed in the Child table means use this code
frappe.ui.form.on('Stock Entry Detail', {
qty: function(frm, cdt, cdn) {
let child = locals[cdt][cdn];
if (child.qty){
let options = ["Option 1", "Option 2", "Option 3"]
frm.set_df_property("uom_select", "options", options )
} else {
console.log("qty field is zero");
}
}
})
For Reference [Tutorial] set_df_property | Parent Table & Child Table | 2023