feat: discount_marketing添加产品明细tool按钮,弹窗打开discount_detail_list编辑
This commit is contained in:
parent
8d71c4f1d9
commit
2860d9209c
@ -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')}}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user