diff --git a/json/discount_detail_list.json b/json/discount_detail_list.json index 020267b..973e338 100644 --- a/json/discount_detail_list.json +++ b/json/discount_detail_list.json @@ -22,6 +22,15 @@ "new_data_url": "{{entire_url('../api/discount_detail_create.dspy')}}", "update_data_url": "{{entire_url('../api/discount_detail_update.dspy')}}", "delete_data_url": "{{entire_url('../api/discount_detail_delete.dspy')}}" - } + }, + "binds": [ + { + "wid": "prodtypeid", + "event": "changed", + "actiontype": "script", + "widget": "productid", + "script": "await this.loadData({prodtypeid: params.prodtypeid});" + } + ] } }