From eda8dba8bce922c878436864dfb8055d5aa5f67c Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Mon, 7 Sep 2026 10:04:08 +0800 Subject: [PATCH 01/31] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../overseas-warehouse/pages/prototypeContract.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/overseas-warehouse/pages/prototypeContract.test.ts b/src/modules/overseas-warehouse/pages/prototypeContract.test.ts index 9b4aa871..a14525cf 100644 --- a/src/modules/overseas-warehouse/pages/prototypeContract.test.ts +++ b/src/modules/overseas-warehouse/pages/prototypeContract.test.ts @@ -342,14 +342,14 @@ describe('overseas warehouse first-batch prototype contract', () => { it('keeps every prototype list column in its frozen order', () => { expect(columnKeys('LastMileOrdersView.vue')).toEqual([ - 'actions', 'selection', 'orderNo', 'consolidated', 'palletMergeRelation', 'warning', 'orderType', 'rejectedAt', 'inboundCode', 'owner', 'warehouse', + 'actions', 'selection', 'orderNo', 'consolidated', 'palletMergeRelation', 'warning', 'orderType', 'rejectedAt', 'inboundCode', 'lxCode', 'owner', 'warehouse', 'transferWarehouse', 'fbaWarehouse', 'containerNo', 'abnormal', 'held', 'pallets', 'cartons', 'volume', 'quantity', 'volumeWeight', 'portEta', 'portAta', 'warehouseEta', 'inboundOrderNo', 'outboundOrderNo', 'dispatchOrderNo', 'relabelOrderNo', 'relabelStatus', 'status', 'createdAt', 'internalRemark', 'customerRemark', 'warehouseRemark', ]) expect(columnKeys('InboundOrdersView.vue')).toEqual([ - 'actions', 'selection', 'orderNo', 'inboundCode', 'type', 'warehouse', 'fbaWarehouse', 'owner', 'cartons', 'pickedCartons', 'volume', + 'actions', 'selection', 'orderNo', 'inboundCode', 'lxCode', 'type', 'warehouse', 'fbaWarehouse', 'owner', 'cartons', 'pickedCartons', 'volume', 'pallets', 'status', 'appointmentStatus', 'dispatchStatus', 'createdAt', ]) expect(columnKeys('InventoryView.vue')).toEqual([ From 657dd7c6f511068583b226e99f0c0dc44cc8f076 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Mon, 7 Sep 2026 10:11:23 +0800 Subject: [PATCH 02/31] fix(finance): group secondary account actions --- .../finance/pages/FinanceCustomerAccountsView.test.ts | 8 +++++--- .../finance/pages/FinanceCustomerAccountsView.vue | 10 +++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/modules/finance/pages/FinanceCustomerAccountsView.test.ts b/src/modules/finance/pages/FinanceCustomerAccountsView.test.ts index 1d326cb8..475074d9 100644 --- a/src/modules/finance/pages/FinanceCustomerAccountsView.test.ts +++ b/src/modules/finance/pages/FinanceCustomerAccountsView.test.ts @@ -105,12 +105,14 @@ describe('FinanceCustomerAccountsView delivery', () => { expect(page).not.toContain('max-width: 520px') }) - it('renders every account row operation as a small plain primary button with an icon', () => { - expect(page).toContain("{ key: 'actions', label: '操作', width: 390, fixed: 'left', slotName: 'actions' }") + it('keeps high-frequency account actions visible and groups the remaining actions', () => { + expect(page).toContain("{ key: 'actions', label: '操作', width: 290, fixed: 'left', slotName: 'actions' }") expect(page).toContain('详情') expect(page).toContain("openAdjustment(row as FinanceAccountSummary, 'RECHARGE')") expect(page).toContain("openAdjustment(row as FinanceAccountSummary, 'DEDUCTION')") - expect(page).toContain('账期') + expect(page).toContain('aria-label="更多客户账户操作"') + expect(page).toContain('授信') + expect(page).toContain('账期') expect(page).not.toContain('') expect(page).toContain('.row-actions {') expect(page).toContain('white-space: nowrap') diff --git a/src/modules/finance/pages/FinanceCustomerAccountsView.vue b/src/modules/finance/pages/FinanceCustomerAccountsView.vue index cb87ca4b..d5768975 100644 --- a/src/modules/finance/pages/FinanceCustomerAccountsView.vue +++ b/src/modules/finance/pages/FinanceCustomerAccountsView.vue @@ -1,7 +1,7 @@ - + diff --git a/src/modules/overseas-warehouse/pages/DispatchesView.vue b/src/modules/overseas-warehouse/pages/DispatchesView.vue index 914d3a79..7f33e963 100644 --- a/src/modules/overseas-warehouse/pages/DispatchesView.vue +++ b/src/modules/overseas-warehouse/pages/DispatchesView.vue @@ -212,7 +212,7 @@ onMounted(load)