From b69bd38b2700a9bdbd813c968d4619bfcf080401 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 12 Jul 2026 10:32:45 +0800 Subject: [PATCH] fix: toolbar buttons open CRUD page directly, remove ensure dspy layer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suppliers '供销协议' → /supplychain/supply_contracts_list?supplier_id= Sub-distributors '分销协议' → /supplychain/distribution_agreements_list?sub_reseller_id= No more DataViewer/HTML-redirect popup issues. --- wwwroot/sub_distributors_list/index.ui | 4 ++-- wwwroot/suppliers_list/index.ui | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/sub_distributors_list/index.ui b/wwwroot/sub_distributors_list/index.ui index fbb1bca..1297f85 100644 --- a/wwwroot/sub_distributors_list/index.ui +++ b/wwwroot/sub_distributors_list/index.ui @@ -345,8 +345,8 @@ "need_other": false }, "options": { - "method": "POST", - "url": "{{entire_url('/supplychain/api/ensure_distribution_agreement.dspy')}}" + "method": "GET", + "url": "{{entire_url('/supplychain/distribution_agreements_list')}}?sub_reseller_id={{params_kw.get('id','')}}" } }, { diff --git a/wwwroot/suppliers_list/index.ui b/wwwroot/suppliers_list/index.ui index 06aa6ab..180cc76 100644 --- a/wwwroot/suppliers_list/index.ui +++ b/wwwroot/suppliers_list/index.ui @@ -465,8 +465,8 @@ "need_other": false }, "options": { - "method": "POST", - "url": "{{entire_url('/supplychain/api/ensure_supply_contract.dspy')}}" + "method": "GET", + "url": "{{entire_url('/supplychain/supply_contracts_list')}}?supplier_id={{params_kw.get('id','')}}" } } ]