This commit is contained in:
2026-10-19 16:40:51 +08:00
parent 54764156bf
commit 53cb68a8bc
7 changed files with 152 additions and 28 deletions
+8
View File
@@ -4,6 +4,14 @@ import { session } from '@/stores/session.js'
const ROOT = '/first-leg/pda-dropship'
export function resolveDropshipWorkspaceCarton(warehouseId, boxCode) {
return apiRequest({ url: `${ROOT}/cartons/resolve?warehouseId=${encodeURIComponent(warehouseId)}&boxCode=${encodeURIComponent(String(boxCode || '').trim())}`, method: 'GET' })
}
export function resolveDropshipWorkspacePallet(warehouseId, palletNo) {
return apiRequest({ url: `${ROOT}/pallets/resolve?warehouseId=${encodeURIComponent(warehouseId)}&palletNo=${encodeURIComponent(String(palletNo || '').trim().toUpperCase())}`, method: 'GET' })
}
function stableId(value) {
return String(value ?? '').trim()
}