bugfix
This commit is contained in:
parent
e9a0cf6650
commit
4c7a47d71f
@ -1,7 +1,3 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {"height": "100%", "width": "100%"},
|
||||
"subwidgets": [
|
||||
{
|
||||
"id": "product_discount_tbl",
|
||||
"widgettype": "Tabular",
|
||||
@ -22,6 +18,9 @@
|
||||
]
|
||||
},
|
||||
"data_url": "{{entire_url('./get_products_with_discount.dspy')}}",
|
||||
"params": {
|
||||
"discountid": "{{params_kw.discountid}}"
|
||||
},
|
||||
"data_method": "GET",
|
||||
"row_options": {
|
||||
"idField": "productid",
|
||||
@ -66,14 +65,3 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"binds": [
|
||||
{
|
||||
"wid": "self",
|
||||
"event": "init",
|
||||
"actiontype": "script",
|
||||
"target": "product_discount_tbl",
|
||||
"script": "var discountid = new URLSearchParams(window.location.search).get('discountid') || ''; if (discountid) { await this.render({discountid: discountid}); }"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user