From 4eda56acf1ed703593d7c8e2ff4d10cab959e6aa Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Fri, 4 Sep 2026 12:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/GlobalSmartLoadingView.test.ts | 24 ++- .../pages/GlobalSmartLoadingView.vue | 5 +- .../pages/SmartLoadingWorkbenchView.test.ts | 3 +- .../pages/SmartLoadingWorkbenchView.vue | 5 +- .../WeightOcrPanel.behavior.test.ts | 198 +++++++++++++++++- .../weight/components/WeightOcrPanel.test.ts | 9 + .../weight/components/WeightOcrPanel.vue | 118 ++++++++++- src/modules/inbounds/weight/types.ts | 31 +++ 8 files changed, 381 insertions(+), 12 deletions(-) diff --git a/src/modules/container-loading/pages/GlobalSmartLoadingView.test.ts b/src/modules/container-loading/pages/GlobalSmartLoadingView.test.ts index 6b79bb66..2d58fb54 100644 --- a/src/modules/container-loading/pages/GlobalSmartLoadingView.test.ts +++ b/src/modules/container-loading/pages/GlobalSmartLoadingView.test.ts @@ -18,6 +18,7 @@ import { listSmartLoadingCandidates, listSmartLoadingWorkbenchContainers, recommendSmartLoading, + adjustSmartLoadingItem, removeAllUnpickedSmartLoadingItems, removeSmartLoadingGroup, removeSmartLoadingItem, @@ -525,11 +526,32 @@ describe('GlobalSmartLoadingView', () => { it('keeps the package count editor inside its table cell without overflow ellipsis', () => { const source = readFileSync(resolve(process.cwd(), 'src/modules/container-loading/pages/GlobalSmartLoadingView.vue'), 'utf8') expect(source).toContain('