update sku tags
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { Attachment, Model, PageResult, User } from "timi-web-api";
|
||||
import type { Customer } from "@/types/Customer";
|
||||
import type { ProductSkuSpecSnapshot, StockRecord } from "@/types/Product";
|
||||
|
||||
export type GaoFulfillmentStatus = "WAITING_STOCK" | "PENDING" | "VERIFIED" | "REJECTED" | "CANCELLED" | "REVOKED";
|
||||
|
||||
@@ -20,6 +21,7 @@ export type OrderFulfillmentItem = {
|
||||
skuCodeSnapshot?: string;
|
||||
skuNameSnapshot?: string;
|
||||
specSummarySnapshot?: string;
|
||||
skuSpecSnapshot?: ProductSkuSpecSnapshot[];
|
||||
unitSnapshot?: string;
|
||||
baseQuantityPerUnitSnapshot?: number | string;
|
||||
} & Model;
|
||||
@@ -42,7 +44,7 @@ export type OrderFulfillment = {
|
||||
verifier?: Partial<User>;
|
||||
sourceFulfillment?: OrderFulfillment;
|
||||
itemList?: OrderFulfillmentItem[];
|
||||
stockRecordList?: Record<string, unknown>[];
|
||||
stockRecordList?: StockRecord[];
|
||||
attachmentList?: Partial<Attachment>[];
|
||||
} & Model;
|
||||
|
||||
|
||||
@@ -69,6 +69,13 @@ export type ProductSku = {
|
||||
attachmentList?: Attachment[];
|
||||
} & Model;
|
||||
|
||||
export type ProductSkuSpecSnapshot = {
|
||||
specId?: string;
|
||||
specName?: string;
|
||||
specValueId?: string;
|
||||
specValueName?: string;
|
||||
};
|
||||
|
||||
export type Product = {
|
||||
storeId?: string;
|
||||
categoryId?: string;
|
||||
@@ -143,6 +150,7 @@ export type StockRecord = {
|
||||
skuCodeSnapshot?: string;
|
||||
skuNameSnapshot?: string;
|
||||
specSummarySnapshot?: string;
|
||||
skuSpecSnapshot?: ProductSkuSpecSnapshot[];
|
||||
unitSnapshot?: string;
|
||||
baseQuantityPerUnitSnapshot?: number | string;
|
||||
quantity?: number | string;
|
||||
|
||||
@@ -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 { ProductSkuSpecSnapshot } from "@/types/Product";
|
||||
|
||||
export type GaoSalesOrderType = "PACKAGE" | "DIRECT_PRODUCT";
|
||||
export type GaoSalesOrderStatus = "ACTIVE" | "FULFILLED" | "CANCELLED";
|
||||
@@ -22,6 +23,7 @@ export type GaoSalesOrderItem = {
|
||||
skuCodeSnapshot?: string;
|
||||
skuNameSnapshot?: string;
|
||||
specSummarySnapshot?: string;
|
||||
skuSpecSnapshot?: ProductSkuSpecSnapshot[];
|
||||
unitSnapshot?: string;
|
||||
baseQuantityPerUnitSnapshot?: number | string;
|
||||
quantity?: number | string;
|
||||
|
||||
Reference in New Issue
Block a user