fix: add dismiss_events to all PopupWindows in accounting module
All PopupWindows loading Form widgets now include 'dismiss_events: ["cancel"]' so the Form Cancel button properly closes the popup instead of doing nothing. - credit_manage.ui: '新增授信' and '调整' popups - error_accounting.ui: '报告错帐' popup - myaccounts.ui: '充值' and '明细' popups Ref: bricks-framework skill — PopupWindow dismiss_events pattern
This commit is contained in:
parent
40f037c517
commit
31ef3531c8
@ -40,7 +40,8 @@
|
|||||||
"popup_options": {
|
"popup_options": {
|
||||||
"title": "新增客户授信",
|
"title": "新增客户授信",
|
||||||
"width": "480px",
|
"width": "480px",
|
||||||
"height": "520px"
|
"height": "520px",
|
||||||
|
"dismiss_events": ["cancel"]
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('/accounting/credit_limit/api/set_credit_form.ui')}}"
|
"url": "{{entire_url('/accounting/credit_limit/api/set_credit_form.ui')}}"
|
||||||
@ -249,7 +250,8 @@
|
|||||||
"popup_options": {
|
"popup_options": {
|
||||||
"title": "调整授信额度",
|
"title": "调整授信额度",
|
||||||
"width": "480px",
|
"width": "480px",
|
||||||
"height": "520px"
|
"height": "520px",
|
||||||
|
"dismiss_events": ["cancel"]
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('/accounting/credit_limit/api/set_credit_form.ui')}}",
|
"url": "{{entire_url('/accounting/credit_limit/api/set_credit_form.ui')}}",
|
||||||
|
|||||||
@ -127,7 +127,8 @@
|
|||||||
"popup_options": {
|
"popup_options": {
|
||||||
"title": "报告错帐",
|
"title": "报告错帐",
|
||||||
"width": "560px",
|
"width": "560px",
|
||||||
"height": "600px"
|
"height": "600px",
|
||||||
|
"dismiss_events": ["cancel"]
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"url": "{{entire_url('/accounting/error_accounting_report.ui')}}"
|
"url": "{{entire_url('/accounting/error_accounting_report.ui')}}"
|
||||||
|
|||||||
@ -76,6 +76,7 @@
|
|||||||
"width":"600px",
|
"width":"600px",
|
||||||
"height":"500px"
|
"height":"500px"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
,"dismiss_events":["cancel"]
|
||||||
},
|
},
|
||||||
"options":{
|
"options":{
|
||||||
"params_kw":{
|
"params_kw":{
|
||||||
@ -98,6 +99,7 @@
|
|||||||
"width":"700px",
|
"width":"700px",
|
||||||
"height":"550px"
|
"height":"550px"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
,"dismiss_events":["cancel"]
|
||||||
},
|
},
|
||||||
"options":{
|
"options":{
|
||||||
"params_kw":{
|
"params_kw":{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user