fix: 修复新增客户授信表单submit无响应

- 添加 Form id: credit_form
- 保存按钮添加 submit binds
- 取消按钮添加 close binds
- Form 添加 submit 事件 bind 关闭弹窗
This commit is contained in:
Hermes Agent 2026-06-24 10:42:52 +08:00
parent 511f4b0720
commit 625c6b6873

View File

@ -1,5 +1,6 @@
{ {
"widgettype": "Form", "widgettype": "Form",
"id": "credit_form",
"options": { "options": {
"width": "100%", "width": "100%",
"padding": "16px", "padding": "16px",
@ -51,14 +52,32 @@
"label": "保存", "label": "保存",
"actiontype": "submit", "actiontype": "submit",
"bgcolor": "#3B82F6", "bgcolor": "#3B82F6",
"color": "#FFFFFF" "color": "#FFFFFF",
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "submit",
"target": "self"
}]
}, },
{ {
"label": "取消", "label": "取消",
"actiontype": "close", "actiontype": "close",
"bgcolor": "#475569", "bgcolor": "#475569",
"color": "#FFFFFF" "color": "#FFFFFF",
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "close",
"target": "self"
}]
} }
] ]
} },
"binds": [{
"wid": "self",
"event": "submit",
"actiontype": "close",
"target": "PopupWindow"
}]
} }