feat: discount_marketing添加产品明细tool按钮,弹窗打开discount_detail_list编辑

This commit is contained in:
Hermes Agent 2026-06-24 09:31:56 +08:00
parent 8d71c4f1d9
commit 2860d9209c

View File

@ -27,6 +27,41 @@
"created_at",
"updated_at"
],
"toolbar": {
"tools": [
{
"name": "detail",
"selected_row": true,
"label": "产品明细",
"icon": "{{entire_url('/bricks/imgs/list.svg')}}"
}
]
},
"binds": [
{
"wid": "self",
"event": "detail",
"actiontype": "urlwidget",
"target": "PopupWindow",
"popup_options": {
"title": "折扣产品明细",
"resizable": true,
"height": "70%",
"width": "70%"
},
"params_mapping": {
"mapping": {
"id": "discountid"
},
"need_other": false
},
"options": {
"method": "POST",
"params": {},
"url": "{{entire_url('../discount_detail_list')}}"
}
}
],
"editable": {
"new_data_url": "{{entire_url('../api/marketing_create.dspy')}}",
"update_data_url": "{{entire_url('../api/marketing_update.dspy')}}",