cancel sale order with fulfillment and fund record
This commit is contained in:
+11
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user