fix: toolbar buttons open CRUD page directly, remove ensure dspy layer
Suppliers '供销协议' → /supplychain/supply_contracts_list?supplier_id= Sub-distributors '分销协议' → /supplychain/distribution_agreements_list?sub_reseller_id= No more DataViewer/HTML-redirect popup issues.
This commit is contained in:
parent
1e7f713725
commit
b69bd38b27
@ -345,8 +345,8 @@
|
|||||||
"need_other": false
|
"need_other": false
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"method": "POST",
|
"method": "GET",
|
||||||
"url": "{{entire_url('/supplychain/api/ensure_distribution_agreement.dspy')}}"
|
"url": "{{entire_url('/supplychain/distribution_agreements_list')}}?sub_reseller_id={{params_kw.get('id','')}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -465,8 +465,8 @@
|
|||||||
"need_other": false
|
"need_other": false
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"method": "POST",
|
"method": "GET",
|
||||||
"url": "{{entire_url('/supplychain/api/ensure_supply_contract.dspy')}}"
|
"url": "{{entire_url('/supplychain/supply_contracts_list')}}?supplier_id={{params_kw.get('id','')}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user