fix: 修复新增客户授信表单submit无响应
- 添加 Form id: credit_form - 保存按钮添加 submit binds - 取消按钮添加 close binds - Form 添加 submit 事件 bind 关闭弹窗
This commit is contained in:
parent
511f4b0720
commit
625c6b6873
@ -1,5 +1,6 @@
|
||||
{
|
||||
"widgettype": "Form",
|
||||
"id": "credit_form",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"padding": "16px",
|
||||
@ -51,14 +52,32 @@
|
||||
"label": "保存",
|
||||
"actiontype": "submit",
|
||||
"bgcolor": "#3B82F6",
|
||||
"color": "#FFFFFF"
|
||||
"color": "#FFFFFF",
|
||||
"binds": [{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "submit",
|
||||
"target": "self"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"label": "取消",
|
||||
"actiontype": "close",
|
||||
"bgcolor": "#475569",
|
||||
"color": "#FFFFFF"
|
||||
"color": "#FFFFFF",
|
||||
"binds": [{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "close",
|
||||
"target": "self"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"binds": [{
|
||||
"wid": "self",
|
||||
"event": "submit",
|
||||
"actiontype": "close",
|
||||
"target": "PopupWindow"
|
||||
}]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user