@pisell/pisellos 0.10.65 → 0.10.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/OpenData/contactInfo.d.ts +20 -0
- package/dist/modules/OpenData/contactInfo.js +70 -0
- package/dist/modules/OpenData/index.d.ts +1 -0
- package/dist/modules/OpenData/index.js +1 -0
- package/dist/modules/OpenData/types.d.ts +9 -0
- package/dist/solution/BaseSales/index.d.ts +7 -0
- package/dist/solution/BaseSales/index.js +966 -844
- package/dist/solution/BookingByStep/index.d.ts +1 -1
- package/dist/solution/BookingTicket/index.d.ts +5 -14
- package/dist/solution/BookingTicket/index.js +460 -433
- package/lib/modules/OpenData/contactInfo.d.ts +20 -0
- package/lib/modules/OpenData/contactInfo.js +56 -0
- package/lib/modules/OpenData/index.d.ts +1 -0
- package/lib/modules/OpenData/index.js +12 -0
- package/lib/modules/OpenData/types.d.ts +9 -0
- package/lib/solution/BaseSales/index.d.ts +7 -0
- package/lib/solution/BaseSales/index.js +31 -0
- package/lib/solution/BookingByStep/index.d.ts +1 -1
- package/lib/solution/BookingTicket/index.d.ts +5 -14
- package/lib/solution/BookingTicket/index.js +13 -2
- package/package.json +1 -1
|
@@ -326,7 +326,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
326
326
|
date: string;
|
|
327
327
|
status: string;
|
|
328
328
|
week: string;
|
|
329
|
-
weekNum: 0 | 2 | 1 |
|
|
329
|
+
weekNum: 0 | 2 | 1 | 6 | 4 | 5 | 3;
|
|
330
330
|
}[]>;
|
|
331
331
|
submitTimeSlot(timeSlots: TimeSliceItem): void;
|
|
332
332
|
private getScheduleDataByIds;
|
|
@@ -58,6 +58,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
|
|
|
58
58
|
private getIdGeneratorPlugin;
|
|
59
59
|
protected loadOpenDataConfig(): Promise<OpenDataConfig | null>;
|
|
60
60
|
getOpenData(): Promise<OpenDataConfig | null>;
|
|
61
|
+
protected loadContactInfoOpenData(): Promise<OpenDataConfig | null>;
|
|
61
62
|
getInvoiceLayoutConfig(): Promise<InvoiceLayoutConfig>;
|
|
62
63
|
getInvoiceTemplateSettings(): Promise<InvoiceTemplateSettings>;
|
|
63
64
|
protected isInvoiceOpenDataCacheCurrent(): boolean;
|
|
@@ -286,7 +287,9 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
|
|
|
286
287
|
/**
|
|
287
288
|
* 清空下单客户(协议字段 + snapshot)。
|
|
288
289
|
*/
|
|
289
|
-
clearOrderCustomer(
|
|
290
|
+
clearOrderCustomer(options?: {
|
|
291
|
+
preserveContactInfo?: boolean;
|
|
292
|
+
}): void;
|
|
290
293
|
/**
|
|
291
294
|
* 重置 tempOrder,并同步清空下单客户运行态。
|
|
292
295
|
*
|
|
@@ -465,19 +468,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
|
|
|
465
468
|
* 加车两阶段主决策(规格弹窗 / 资源编辑 / 直接加车)。
|
|
466
469
|
* 与 ticketBooking `handleSelectProduct` + `handleBooking4Service` 等价。
|
|
467
470
|
*/
|
|
468
|
-
decideAddProduct(item: any, options?: Partial<AddProductDecideContext>):
|
|
469
|
-
action: "reloadCatalog";
|
|
470
|
-
} | {
|
|
471
|
-
action: "add";
|
|
472
|
-
cacheItem: any;
|
|
473
|
-
} | {
|
|
474
|
-
action: "requiresDetail";
|
|
475
|
-
payload: AddProductRequiresDetailPayload;
|
|
476
|
-
} | {
|
|
477
|
-
action: "requiresBookingEdit";
|
|
478
|
-
cacheItem: any;
|
|
479
|
-
payload: import("./utils/addProductDecision").AddProductRequiresBookingEditPayload;
|
|
480
|
-
};
|
|
471
|
+
decideAddProduct(item: any, options?: Partial<AddProductDecideContext>): import("./utils/addProductDecision").AddProductDecision;
|
|
481
472
|
/** 规格弹窗 callback 后的第二段决策。 */
|
|
482
473
|
decideAfterDetail(cacheItem: any, options?: Partial<AddProductDecideContext>): import("./utils/addProductDecision").AddProductDecision;
|
|
483
474
|
/**
|