种菜明细表导出链接显式带上 company_id
视图里的导出链接改为 array_merge(['company_id' => company_id()], request()->query()),在没有 URL 默认参数时也能生成正确链接。
This commit is contained in:
parent
494b60de54
commit
d27f8d0299
@ -118,7 +118,7 @@
|
||||
<span class="material-icons-outlined" aria-hidden="true">restart_alt</span>
|
||||
<span>重置</span>
|
||||
</a>
|
||||
<a class="upstream-data-button" href="{{ route('business.billing-transactions.planting-details.export', request()->query()) }}" title="按当前筛选导出全部明细">
|
||||
<a class="upstream-data-button" href="{{ route('business.billing-transactions.planting-details.export', array_merge(['company_id' => company_id()], request()->query())) }}" title="按当前筛选导出全部明细">
|
||||
<span class="material-icons-outlined" aria-hidden="true">download</span>
|
||||
<span>导出</span>
|
||||
</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user