update customer package
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import type { Attachment, Model, PageResult, User } from "timi-web-api";
|
||||
import type { Customer } from "@/types/Customer";
|
||||
|
||||
export type FulfillmentType = "PACKAGE_ENTITLEMENT" | "DIRECT_PRODUCT";
|
||||
export type FulfillmentStatus = "WAITING_STOCK" | "PENDING" | "VERIFIED" | "REJECTED" | "CANCELLED" | "REVOKED";
|
||||
export type GaoFulfillmentStatus = "WAITING_STOCK" | "PENDING" | "VERIFIED" | "REJECTED" | "CANCELLED" | "REVOKED";
|
||||
|
||||
export type OrderFulfillmentItem = {
|
||||
fulfillmentId?: string;
|
||||
@@ -10,7 +9,6 @@ export type OrderFulfillmentItem = {
|
||||
productUnitId?: string;
|
||||
attachmentList?: Attachment[];
|
||||
sourceOrderItemId?: string;
|
||||
sourceCustomerPackageItemId?: string;
|
||||
quantity?: number | string;
|
||||
baseQuantity?: number | string;
|
||||
reservedBefore?: number | string;
|
||||
@@ -26,8 +24,7 @@ export type OrderFulfillment = {
|
||||
salesOrderId?: string;
|
||||
storeId?: string;
|
||||
customerId?: string;
|
||||
fulfillmentType?: FulfillmentType;
|
||||
status?: FulfillmentStatus;
|
||||
status?: GaoFulfillmentStatus;
|
||||
requestNo?: string;
|
||||
operatorUserId?: string;
|
||||
customer?: Customer;
|
||||
@@ -49,8 +46,7 @@ export type FulfillmentPage = {
|
||||
storeId?: string;
|
||||
salesOrderId?: string;
|
||||
customerId?: string;
|
||||
fulfillmentType?: FulfillmentType;
|
||||
status?: FulfillmentStatus;
|
||||
status?: GaoFulfillmentStatus;
|
||||
beginAt?: number;
|
||||
endAt?: number;
|
||||
index: number;
|
||||
@@ -61,14 +57,13 @@ export type OrderFulfillmentCreateRequest = {
|
||||
salesOrderId: string;
|
||||
requestNo: string;
|
||||
deliveredAt?: number;
|
||||
itemList: OrderFulfillmentItemRequest[];
|
||||
itemList: GaoOrderFulfillmentItemRequest[];
|
||||
attachmentList?: Partial<Attachment>[];
|
||||
remark?: string | null;
|
||||
};
|
||||
|
||||
export type OrderFulfillmentItemRequest = {
|
||||
sourceOrderItemId?: string;
|
||||
sourceCustomerPackageItemId?: string;
|
||||
export type GaoOrderFulfillmentItemRequest = {
|
||||
sourceOrderItemId: string;
|
||||
quantity: number | string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user