From afb9dd5d8881fa7ff0b7c1d858ae6f3b9a25f7d0 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 11:36:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=88=E4=BF=A1?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=8F=90=E4=BA=A4=20-=20=E4=BD=BF=E7=94=A8su?= =?UTF-8?q?bmit=5Furl=E6=9B=BF=E4=BB=A3url,=20=E7=A7=BB=E9=99=A4=E6=89=8B?= =?UTF-8?q?=E5=8A=A8buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - url → submit_url (Form正确的属性名) - 移除手动buttons配置 (Form自动生成Submit/Reset工具栏) - 移除method:POST (Form默认POST) --- wwwroot/credit_limit/api/set_credit_form.ui | 29 +-------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/wwwroot/credit_limit/api/set_credit_form.ui b/wwwroot/credit_limit/api/set_credit_form.ui index 63d2235..19b5d10 100644 --- a/wwwroot/credit_limit/api/set_credit_form.ui +++ b/wwwroot/credit_limit/api/set_credit_form.ui @@ -4,8 +4,7 @@ "options": { "width": "100%", "padding": "16px", - "url": "{{entire_url('/accounting/credit_limit/api/set_customer_credit.dspy')}}", - "method": "POST", + "submit_url": "{{entire_url('/accounting/credit_limit/api/set_customer_credit.dspy')}}", "fields": [ { "name": "id", @@ -46,32 +45,6 @@ "uitype": "str", "value": "{{params_kw.get('remark', '')}}" } - ], - "buttons": [ - { - "label": "保存", - "actiontype": "submit", - "bgcolor": "#3B82F6", - "color": "#FFFFFF", - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "submit", - "target": "credit_form" - }] - }, - { - "label": "取消", - "actiontype": "close", - "bgcolor": "#475569", - "color": "#FFFFFF", - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "close", - "target": "PopupWindow" - }] - } ] }, "binds": [{