优化
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user