From 03e72c5f6a8e45525beff80601bdf10e16a3f9f0 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Thu, 10 Sep 2026 20:27:04 +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 --- src/api/inbound.js | 1 + src/pages/operation/operation.vue | 49 ++++++++++++---------- src/stores/receiving.js | 2 +- tests/multi-plan-receiving.test.mjs | 8 ++-- tests/project-contract.test.mjs | 11 +++-- tests/receiving-photo-ui-contract.test.mjs | 4 +- 6 files changed, 40 insertions(+), 35 deletions(-) diff --git a/src/api/inbound.js b/src/api/inbound.js index ca941ce..859a493 100644 --- a/src/api/inbound.js +++ b/src/api/inbound.js @@ -24,4 +24,5 @@ export const resolveCurrentCarton = (cartonMark) => overseasRequest('POST', curr export const resolveCurrentPallet = (palletCode, inboundCode) => overseasRequest('POST', current('/pallets/resolve'), { palletCode, inboundCode }) export const receiveCurrentBulk = (request) => overseasRequest('POST', current('/receipts/bulk'), request) export const receiveCurrentCarton = (request) => overseasRequest('POST', current('/receipts/carton'), request) +export const receiveCurrentWholePallet = (request) => overseasRequest('POST', current('/receipts/pallet'), request) export const completeCurrentReceiving = async (request) => normalizeReceivingSession(await overseasRequest('POST', current('/complete'), request)) diff --git a/src/pages/operation/operation.vue b/src/pages/operation/operation.vue index b7f305a..f038c5f 100644 --- a/src/pages/operation/operation.vue +++ b/src/pages/operation/operation.vue @@ -1,7 +1,7 @@