feat: 网页配置顺丰运费时改为月结并填写顺丰单号

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-21 19:20:43 +08:00
1 parent afcb4e9ebe
commit 9561f94074
7 files changed
+312 -98

No files matched your search

+8 -3
View File
@@ -18,7 +18,11 @@ export type SampleFreight = {
freightNo?: string
transportMode: string
transportModeLabel?: string
freightAmount: number
freightAmount: number | null
waybillNo?: string
settleStatus?: string
settleTime?: string
freightAmountLabel?: string
linkedSampleCount?: number
createBy?: string
createByName?: string
@@ -63,7 +67,8 @@ export function fetchSampleFreightDetail(id: string) {
export function fetchCreateSampleFreight(data: {
transportMode: string
freightAmount: number
freightAmount: number | null
waybillNo?: string
items: SampleFreightItem[]
}) {
return request.post<SampleFreight>({
@@ -75,7 +80,7 @@ export function fetchCreateSampleFreight(data: {
export function fetchUpdateSampleFreight(
id: string,
data: { transportMode?: string; freightAmount?: number }
data: { transportMode?: string; freightAmount?: number | null; waybillNo?: string }
) {
return request.put<SampleFreight>({
url: `/web/admin/sample-freights/${id}`,