diff --git a/wwwroot/credit_limit/api/set_credit_form.ui b/wwwroot/credit_limit/api/set_credit_form.ui index b988917..299ab66 100644 --- a/wwwroot/credit_limit/api/set_credit_form.ui +++ b/wwwroot/credit_limit/api/set_credit_form.ui @@ -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" + }] }