accounting/wwwroot/credit_limit/api/set_credit_form.ui
Hermes Agent 56ae61a992 fix: 授信表单改为客户名称查找模式 + 代客充值RBAC路径注册
1. 授信表单: accountid改为customer_name文本输入,后端先精确后模糊查找客户
2. 代客充值: load_path.py添加proxy_recharge.ui和proxy_recharge_submit.dspy路径
2026-06-22 17:26:03 +08:00

65 lines
1.9 KiB
XML

{
"widgettype": "Form",
"options": {
"width": "100%",
"padding": "16px",
"url": "{{entire_url('/accounting/credit_limit/api/set_customer_credit.dspy')}}",
"method": "POST",
"fields": [
{
"name": "id",
"label": "id",
"uitype": "hidden",
"value": "{{params_kw.get('id', '')}}"
},
{
"name": "customer_name",
"label": "客户名称",
"uitype": "str",
"required": true,
"value": "{{params_kw.get('customer_name', '')}}",
"placeholder": "输入客户名称进行查找"
},
{
"name": "credit_limit",
"label": "授信额度",
"uitype": "float",
"required": true,
"value": "{{params_kw.get('credit_limit', '0')}}"
},
{
"name": "valid_from",
"label": "生效日期",
"uitype": "date",
"value": "{{params_kw.get('valid_from', '')}}"
},
{
"name": "valid_to",
"label": "失效日期",
"uitype": "date",
"value": "{{params_kw.get('valid_to', '')}}"
},
{
"name": "remark",
"label": "备注",
"uitype": "str",
"value": "{{params_kw.get('remark', '')}}"
}
],
"buttons": [
{
"label": "保存",
"actiontype": "submit",
"bgcolor": "#3B82F6",
"color": "#FFFFFF"
},
{
"label": "取消",
"actiontype": "close",
"bgcolor": "#475569",
"color": "#FFFFFF"
}
]
}
}