feat: 产品明细添加级联联动,选择产品种类后自动加载对应产品

This commit is contained in:
Hermes Agent 2026-06-24 10:13:32 +08:00
parent 49f3e1a8a2
commit 0990799ee1

View File

@ -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});"
}
]
}
}