@pisell/pisellos 2.2.145 → 2.2.146
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.
|
@@ -160,7 +160,7 @@ function matchBooking(booking, orderInfo, ctx) {
|
|
|
160
160
|
}
|
|
161
161
|
if (ctx.appointmentStatusSet && !ctx.appointmentStatusSet.has(getBookingAppointmentStatus(booking))) return false;
|
|
162
162
|
if (ctx.bookingTimeRange) {
|
|
163
|
-
var ts = toTimestamp(booking.start_date);
|
|
163
|
+
var ts = toTimestamp(bookingDateTimeString(booking.start_date, booking.start_time));
|
|
164
164
|
if (ts < ctx.bookingTimeRange[0] || ts > ctx.bookingTimeRange[1]) return false;
|
|
165
165
|
}
|
|
166
166
|
if (ctx.afterExecutionTimeMs != null) {
|
|
@@ -308,6 +308,7 @@ export function filterBookingsFromOrders(orders, filters) {
|
|
|
308
308
|
|
|
309
309
|
// 订单级预过滤
|
|
310
310
|
if (!matchOrder(order, ctx)) continue;
|
|
311
|
+
debugger;
|
|
311
312
|
|
|
312
313
|
// 订单通过,遍历其 bookings;orderInfo 延迟创建
|
|
313
314
|
var orderInfo = null;
|
|
@@ -136,7 +136,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
|
|
|
136
136
|
* 获取当前的客户搜索条件
|
|
137
137
|
* @returns 当前搜索条件
|
|
138
138
|
*/
|
|
139
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
139
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
|
|
140
140
|
/**
|
|
141
141
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
142
142
|
* @returns 客户状态
|
|
@@ -178,7 +178,7 @@ function matchBooking(booking, orderInfo, ctx) {
|
|
|
178
178
|
if (ctx.appointmentStatusSet && !ctx.appointmentStatusSet.has(getBookingAppointmentStatus(booking)))
|
|
179
179
|
return false;
|
|
180
180
|
if (ctx.bookingTimeRange) {
|
|
181
|
-
const ts = toTimestamp(booking.start_date);
|
|
181
|
+
const ts = toTimestamp(bookingDateTimeString(booking.start_date, booking.start_time));
|
|
182
182
|
if (ts < ctx.bookingTimeRange[0] || ts > ctx.bookingTimeRange[1])
|
|
183
183
|
return false;
|
|
184
184
|
}
|
|
@@ -308,6 +308,7 @@ function filterBookingsFromOrders(orders, filters) {
|
|
|
308
308
|
continue;
|
|
309
309
|
if (!matchOrder(order, ctx))
|
|
310
310
|
continue;
|
|
311
|
+
debugger;
|
|
311
312
|
let orderInfo = null;
|
|
312
313
|
for (let j = 0, bLen = bookings.length; j < bLen; j++) {
|
|
313
314
|
const booking = bookings[j];
|
|
@@ -136,7 +136,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
|
|
|
136
136
|
* 获取当前的客户搜索条件
|
|
137
137
|
* @returns 当前搜索条件
|
|
138
138
|
*/
|
|
139
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
139
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
|
|
140
140
|
/**
|
|
141
141
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
142
142
|
* @returns 客户状态
|