How to set filter

How to set filter for this batch_no field

use frm.set_query

eg:
frm.set_query(‘batch_no’, ‘ypur_child_table’, () => {
return {
filters: {
batch: ‘your_batch’
}
}
})

https://frappeframework.com/docs/user/en/api/form