1. 授信表单: accountid改为customer_name文本输入,后端先精确后模糊查找客户 2. 代客充值: load_path.py添加proxy_recharge.ui和proxy_recharge_submit.dspy路径
65 lines
1.9 KiB
XML
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"
|
|
}
|
|
]
|
|
}
|
|
}
|