diff --git a/modules/EcommerceFinance/View/FinanceLedgerPageData.php b/modules/EcommerceFinance/View/FinanceLedgerPageData.php index 8d197c1f..ce52cdf8 100644 --- a/modules/EcommerceFinance/View/FinanceLedgerPageData.php +++ b/modules/EcommerceFinance/View/FinanceLedgerPageData.php @@ -222,6 +222,10 @@ class FinanceLedgerPageData 'a.account_no', 'a.bank_name', 'a.bound_alipay', + 'a.alipay_merchant_no', + 'a.alipay_account_kind', + 'a.alipay_store_name', + 'a.remark', 'a.owner', ] as $column) { $builder->orWhere($column, 'like', '%' . $keyword . '%'); diff --git a/resources/views/business/pages/financial-ledger/ledger.blade.php b/resources/views/business/pages/financial-ledger/ledger.blade.php index 1b014fc3..e9f0881f 100644 --- a/resources/views/business/pages/financial-ledger/ledger.blade.php +++ b/resources/views/business/pages/financial-ledger/ledger.blade.php @@ -294,21 +294,18 @@ ]; } if ($standaloneAccountView === 'non_store') { - array_splice($ledgerTableHeaders['accounts'], 2, 0, [ + $ledgerTableHeaders['accounts'] = [ + ['company_name', '公司名称', 'text'], + ['account_short', '账户简称', 'text'], ['legal_representative', '法人', 'text'], ['alipay_account_kind', '账户类型', 'text'], ['alipay_merchant_no', '商户号', 'text'], - ]); - $bankCityBranchIndex = array_search( - 'bank_city_branch', - array_column($ledgerTableHeaders['accounts'], 0), - true, - ); - if ($bankCityBranchIndex !== false) { - array_splice($ledgerTableHeaders['accounts'], $bankCityBranchIndex + 1, 0, [ - ['alipay_store_name', '店铺', 'text'], - ]); - } + ['account_no', '支付宝账号', 'text'], + ['account_status', '账户状态', 'enum', ['options' => $accountStatusOptions, 'headerClass' => 'ledger-status-column']], + ['account_should_keep', '是否保留', 'enum', ['options' => $optionMap($accountKeepOptions), 'headerClass' => 'ledger-keep-column']], + ['alipay_store_name', '店铺', 'text'], + ['remark', '备注', 'text'], + ]; } $accountTableColumnCount = count($ledgerTableHeaders['accounts']); @endphp @@ -819,13 +816,15 @@ @endif -
+
@if ($standaloneAccountView !== 'wangshang')
-
-
-
+ @if ($standaloneAccountView !== 'non_store') +
+
+
+ @endif @endif @if ($activeAccountFilterCount > 0) 筛选中{{ $activeAccountFilterCount }} @@ -841,7 +840,7 @@ 新增公司/账户 @endif -
+