This commit is contained in:
2026-08-19 09:14:35 +08:00
parent c188482c24
commit 80cfca5056
36 changed files with 854 additions and 1044 deletions
@@ -19,6 +19,7 @@ const payload: SavePlatformFeeItemRequest = {
category: '仓储成本',
tradeScope: 'INTERNATIONAL',
feeTypeName: '仓库租赁费',
supplierCategory: 'TRUCKING',
pickupPayable: false,
pickupReceivable: false,
warehousePayable: true,
@@ -1,4 +1,5 @@
import { http, unwrapApiResponse, type ApiEnvelope } from '@/shared/api/http'
import type { SupplierCategory } from '@/modules/suppliers'
export type FeeItemTradeScope = 'DOMESTIC' | 'INTERNATIONAL'
export type FeeItemStatus = 'ACTIVE' | 'DISABLED'
@@ -8,6 +9,7 @@ export interface PlatformFeeItemResource {
category: string
tradeScope: FeeItemTradeScope
feeCode: string | null
supplierCategory: SupplierCategory | null
feeTypeName: string
pickupPayable: boolean
pickupReceivable: boolean
@@ -26,6 +28,7 @@ export interface SavePlatformFeeItemRequest {
category: string
tradeScope: FeeItemTradeScope
feeTypeName: string
supplierCategory: SupplierCategory | null
pickupPayable: boolean
pickupReceivable: boolean
warehousePayable: boolean