From 7f01e391eb4c74617023a1558cc501ccbcf637cd Mon Sep 17 00:00:00 2001 From: qiuxiang <394405259@qq.com> Date: Thu, 3 Dec 2026 10:02:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=B4=A6=E6=88=B7=E4=BD=99=E9=A2=9D):=20?= =?UTF-8?q?=E6=98=8E=E7=A1=AE=E6=B7=98=E7=B3=BB=E5=BA=97=E9=93=BA=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E8=B4=A6=E6=88=B7=E5=8F=A3=E5=BE=84=20(#1675?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Http/Controllers/StoreReceivingBalanceOverview.php | 6 +++--- .../Services/StoreReceivingBalanceOverviewService.php | 2 +- .../components/business/StoreReceivingBalanceOverview.vue | 2 +- .../StoreReceivingBalanceOverviewServiceTest.php | 8 ++++---- tests/Unit/View/StoreReceivingBalanceOverviewTest.php | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/EcommerceFinance/Http/Controllers/StoreReceivingBalanceOverview.php b/modules/EcommerceFinance/Http/Controllers/StoreReceivingBalanceOverview.php index 7e5a68a2f..86b0fa459 100644 --- a/modules/EcommerceFinance/Http/Controllers/StoreReceivingBalanceOverview.php +++ b/modules/EcommerceFinance/Http/Controllers/StoreReceivingBalanceOverview.php @@ -150,7 +150,7 @@ class StoreReceivingBalanceOverview extends Controller $cacheKey = implode(':', [ 'ecommerce-finance', 'account-balance-daily', - 'v6', + 'v7', (string) company_id(), $period[0], $period[1] ?? '', @@ -189,7 +189,7 @@ class StoreReceivingBalanceOverview extends Controller $cacheKey = implode(':', [ 'ecommerce-finance', 'account-balance-daily-stores', - 'v6', + 'v7', (string) company_id(), $period[0], $period[1] ?? '', @@ -283,7 +283,7 @@ class StoreReceivingBalanceOverview extends Controller return implode(':', [ 'ecommerce-finance', 'account-balance-overview', - 'v6', + 'v7', $kind, (string) company_id(), $period[0], diff --git a/modules/EcommerceFinance/Services/StoreReceivingBalanceOverviewService.php b/modules/EcommerceFinance/Services/StoreReceivingBalanceOverviewService.php index 5e4bce8f1..47b9d1f3c 100644 --- a/modules/EcommerceFinance/Services/StoreReceivingBalanceOverviewService.php +++ b/modules/EcommerceFinance/Services/StoreReceivingBalanceOverviewService.php @@ -49,7 +49,7 @@ class StoreReceivingBalanceOverviewService /** @var array */ public const PLATFORMS = [ - ['slug' => 'taobao-alipay', 'name' => '店铺支付宝账户'], + ['slug' => 'taobao-alipay', 'name' => '淘系店铺支付宝账户'], ['slug' => 'taobao-wechat', 'name' => '淘系微信账户'], ['slug' => 'pinduoduo', 'name' => '拼多多账户'], ['slug' => 'jd-wallet', 'name' => '京东网银钱包账户'], diff --git a/resources/assets/js/components/business/StoreReceivingBalanceOverview.vue b/resources/assets/js/components/business/StoreReceivingBalanceOverview.vue index 7e77d0d3e..4b50dfa62 100644 --- a/resources/assets/js/components/business/StoreReceivingBalanceOverview.vue +++ b/resources/assets/js/components/business/StoreReceivingBalanceOverview.vue @@ -6,7 +6,7 @@

账户余额总览

9 个平台账户 · {{ queryPeriodLabel }} · 单位:万元

- 聚合 9 个收款平台(店铺支付宝账户、淘系微信账户、拼多多账户、京东网银钱包账户、抖音账户、唯品会MP账户、唯品会JX账户、小红书账户、得物支付宝账户)在选定发生时间范围内的期初、收入与支出(单位:万元) + 聚合 9 个收款平台(淘系店铺支付宝账户、淘系微信账户、拼多多账户、京东网银钱包账户、抖音账户、唯品会MP账户、唯品会JX账户、小红书账户、得物支付宝账户)在选定发生时间范围内的期初、收入与支出(单位:万元)

diff --git a/tests/Unit/EcommerceFinance/StoreReceivingBalanceOverviewServiceTest.php b/tests/Unit/EcommerceFinance/StoreReceivingBalanceOverviewServiceTest.php index 57e1c740d..aa0163f9f 100644 --- a/tests/Unit/EcommerceFinance/StoreReceivingBalanceOverviewServiceTest.php +++ b/tests/Unit/EcommerceFinance/StoreReceivingBalanceOverviewServiceTest.php @@ -122,7 +122,7 @@ class StoreReceivingBalanceOverviewServiceTest extends TestCase $this->assertCount(9, $result['details']); $this->assertSame([ 'platform_slug' => 'taobao-alipay', - 'platform' => '店铺支付宝账户', + 'platform' => '淘系店铺支付宝账户', 'store_name' => '店铺-1', 'bill_item' => '货款收入', 'amount' => 100.30, @@ -170,7 +170,7 @@ class StoreReceivingBalanceOverviewServiceTest extends TestCase $this->assertCount(9, $result['details']); $this->assertSame([ 'platform_slug' => 'taobao-alipay', - 'platform' => '店铺支付宝账户', + 'platform' => '淘系店铺支付宝账户', 'store_name' => '店铺-1', 'bill_item' => '平台扣费', 'amount' => 20.30, @@ -202,7 +202,7 @@ class StoreReceivingBalanceOverviewServiceTest extends TestCase $this->assertCount(9, $result['details']); $this->assertSame([ 'platform_slug' => 'taobao-alipay', - 'platform' => '店铺支付宝账户', + 'platform' => '淘系店铺支付宝账户', 'store_name' => '', 'bill_item' => '', 'amount' => 109.05, @@ -243,7 +243,7 @@ class StoreReceivingBalanceOverviewServiceTest extends TestCase $this->assertCount(9, $result['details']); $this->assertSame([ 'platform_slug' => 'taobao-alipay', - 'platform' => '店铺支付宝账户', + 'platform' => '淘系店铺支付宝账户', 'store_name' => '店铺-1', 'bill_item' => '', 'opening_balance' => 100.10, diff --git a/tests/Unit/View/StoreReceivingBalanceOverviewTest.php b/tests/Unit/View/StoreReceivingBalanceOverviewTest.php index da523b935..4b3237874 100644 --- a/tests/Unit/View/StoreReceivingBalanceOverviewTest.php +++ b/tests/Unit/View/StoreReceivingBalanceOverviewTest.php @@ -35,7 +35,7 @@ class StoreReceivingBalanceOverviewTest extends TestCase $source = $this->overviewSource(); $this->assertStringContainsString( - '聚合 9 个收款平台(店铺支付宝账户、淘系微信账户、拼多多账户、京东网银钱包账户、抖音账户、唯品会MP账户、唯品会JX账户、小红书账户、得物支付宝账户)', + '聚合 9 个收款平台(淘系店铺支付宝账户、淘系微信账户、拼多多账户、京东网银钱包账户、抖音账户、唯品会MP账户、唯品会JX账户、小红书账户、得物支付宝账户)', $source, ); $this->assertStringContainsString('得物支付宝账户', $source);