@pisell/private-materials 3.0.37 → 3.0.39
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/booking/addons/index.js +27 -11
- package/es/components/booking/components/TabProduct/productItem/index.js +12 -12
- package/es/components/booking/components/customSelect/index.js +13 -3
- package/es/components/booking/info/client/index.js +5 -6
- package/es/components/booking/info/pet/index.js +59 -31
- package/es/components/booking/info/service/addService/index.js +7 -10
- package/lib/components/booking/addons/index.js +24 -9
- package/lib/components/booking/components/TabProduct/productItem/index.js +2 -12
- package/lib/components/booking/components/customSelect/index.js +11 -2
- package/lib/components/booking/info/client/index.js +1 -1
- package/lib/components/booking/info/pet/index.js +36 -16
- package/lib/components/booking/info/service/addService/index.js +6 -6
- package/package.json +1 -1
|
@@ -116,7 +116,10 @@ var Info = () => {
|
|
|
116
116
|
ids: state.renderType === "eventBooking" ? (_a2 = state.eventOtherParams) == null ? void 0 : _a2.productIds : void 0,
|
|
117
117
|
open_quotation: 1,
|
|
118
118
|
with_schedule: 1,
|
|
119
|
-
with_count: ["bundleGroup", "optionGroup"]
|
|
119
|
+
with_count: ["bundleGroup", "optionGroup"],
|
|
120
|
+
_config: {
|
|
121
|
+
useCache: true
|
|
122
|
+
}
|
|
120
123
|
});
|
|
121
124
|
setLoading(false);
|
|
122
125
|
setDefaultService(data == null ? void 0 : data.list);
|
|
@@ -128,6 +131,7 @@ var Info = () => {
|
|
|
128
131
|
});
|
|
129
132
|
};
|
|
130
133
|
const handleSelectService = () => {
|
|
134
|
+
getServices();
|
|
131
135
|
setSearch("");
|
|
132
136
|
dispatch({
|
|
133
137
|
type: "setService",
|
|
@@ -137,7 +141,7 @@ var Info = () => {
|
|
|
137
141
|
});
|
|
138
142
|
};
|
|
139
143
|
const handleSelectProduct = (item, type) => {
|
|
140
|
-
const isEject = type === "detail" || item.
|
|
144
|
+
const isEject = type === "detail" || item.bundle_group_count > 0;
|
|
141
145
|
state.action({
|
|
142
146
|
type: "pisell1.handleOpenProductModal",
|
|
143
147
|
data: {
|
|
@@ -200,12 +204,8 @@ var Info = () => {
|
|
|
200
204
|
const isService = (0, import_react.useMemo)(() => {
|
|
201
205
|
return state.service.value.length > 0;
|
|
202
206
|
}, [state.service.value]);
|
|
203
|
-
(0, import_react.useEffect)(() => {
|
|
204
|
-
getServices();
|
|
205
|
-
}, []);
|
|
206
207
|
(0, import_react.useEffect)(() => {
|
|
207
208
|
if (state.modalOpen) {
|
|
208
|
-
getServices();
|
|
209
209
|
}
|
|
210
210
|
}, [state.modalOpen]);
|
|
211
211
|
const showAddButton = (0, import_react.useMemo)(() => {
|