fix: 新增客户授信表单移除id字段,编辑时id通过URL query参数传递
This commit is contained in:
parent
503ae5434d
commit
d8cfd06c4c
@ -4,14 +4,8 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"width": "100%",
|
"width": "100%",
|
||||||
"padding": "16px",
|
"padding": "16px",
|
||||||
"submit_url": "{{entire_url('/accounting/credit_limit/api/set_customer_credit.dspy')}}",
|
"submit_url": "{{entire_url('/accounting/credit_limit/api/set_customer_credit.dspy')}}{% if params_kw.get('id') %}?id={{params_kw.get('id')}}{% endif %}",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"label": "id",
|
|
||||||
"uitype": "hidden",
|
|
||||||
"value": "{{params_kw.get('id', '')}}"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "customer_name",
|
"name": "customer_name",
|
||||||
"label": "客户名称",
|
"label": "客户名称",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user