cancel sale order with fulfillment and fund record

This commit is contained in:
Timi
2026-10-28 00:33:53 +08:00
parent cf132fd8fe
commit e71c0e8a4e
29 changed files with 1791 additions and 142 deletions
+11 -1
View File
@@ -1,6 +1,7 @@
import type { Attachment, Model, PageResult, User } from "timi-web-api";
import type { Customer } from "@/types/Customer";
import type { EventRecord } from "@/types/EventRecord";
import type { FulfillmentRevokeRequest, FulfillmentReturnRequest } from "@/types/Fulfillment";
import type { ProductSkuSpecSnapshot } from "@/types/Product";
export type GaoSalesOrderType = "PACKAGE" | "DIRECT_PRODUCT";
@@ -170,7 +171,16 @@ export type OrderPaymentRevokeRequest = {
remark?: string | null;
};
export type SalesOrderCancelRequest = { salesOrderId: string; reason: string };
export type SalesOrderCancelRequest = {
salesOrderId: string;
reason: string;
requestNo?: string;
attachmentList?: Partial<Attachment>[];
fulfillmentReturnList?: FulfillmentReturnRequest[];
fulfillmentRevokeList?: FulfillmentRevokeRequest[];
fundRevokeList?: OrderPaymentRevokeRequest[];
fundRefundList?: OrderPaymentRefundRequest[];
};
export type FundRecord = {
storeId?: string;