fix: 供应商合同新增时 supplier_id 自动带过来
1. supplier_id 加入 editexclouded(表单不显示) 2. new_data_url 携带 supplier_id 查询参数 → /api/supply_contracts_create.dspy?supplier_id=xxx 3. dspy 从 params_kw 自动获取 supplier_id
This commit is contained in:
parent
813882ff71
commit
7c214552c5
@ -71,13 +71,14 @@
|
||||
"editexclouded": [
|
||||
"id",
|
||||
"resellerid",
|
||||
"supplier_id",
|
||||
"contract_code",
|
||||
"created_by",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
],
|
||||
"editable": {
|
||||
"new_data_url": "{{entire_url('../api/supply_contracts_create.dspy')}}",
|
||||
"new_data_url": "{{entire_url('../api/supply_contracts_create.dspy')}}?supplier_id={{params_kw.get('supplier_id','')}}",
|
||||
"update_data_url": "{{entire_url('../api/supply_contracts_update.dspy')}}",
|
||||
"delete_data_url": "{{entire_url('../api/supply_contracts_delete.dspy')}}"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user