This commit is contained in:
2026-10-19 17:56:31 +08:00
parent 5a46198bf0
commit 5c28cd7c79
84 changed files with 3356 additions and 3630 deletions
@@ -53,6 +53,7 @@ export interface SaveInboundFeeDetailRequest {
}
export interface InboundFeeItemOption {
defaultPrice: number | null
id: string | number
feeTypeName: string
feeCode: string
@@ -123,6 +124,7 @@ export async function listInboundFeeItemOptions() {
return (unwrapApiResponse(response).records || []).map((raw): InboundFeeItemOption => ({
id: raw.id as string | number,
feeTypeName: String(raw.feeTypeName || ''),
defaultPrice: raw.defaultPrice == null ? null : Number(raw.defaultPrice),
feeCode: String(raw.feeCode || ''),
supplierCategory: supplierCategory(raw.supplierCategory),
warehousePayable: Boolean(raw.warehousePayable),