update sku tags

This commit is contained in:
Timi
2026-09-07 15:34:02 +08:00
parent 149c026234
commit d56719df1c
12 changed files with 253 additions and 55 deletions
+3 -1
View File
@@ -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;
+8
View File
@@ -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;
+2
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 { 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;