@pisell/pisellos 0.0.251 → 0.0.252
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.
|
@@ -430,7 +430,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
430
430
|
// 补充订单折扣信息
|
|
431
431
|
params.orderData.shop_discount = (_params$totalInfo3 = params.totalInfo) === null || _params$totalInfo3 === void 0 || (_params$totalInfo3 = _params$totalInfo3.total) === null || _params$totalInfo3 === void 0 ? void 0 : _params$totalInfo3.shopDiscount;
|
|
432
432
|
// 补充税费信息
|
|
433
|
-
params.orderData.
|
|
433
|
+
params.orderData.tax_fee = (_params$totalInfo4 = params.totalInfo) === null || _params$totalInfo4 === void 0 || (_params$totalInfo4 = _params$totalInfo4.total) === null || _params$totalInfo4 === void 0 ? void 0 : _params$totalInfo4.tax;
|
|
434
434
|
|
|
435
435
|
// 保存原始订单数据和小计数据到状态中
|
|
436
436
|
this.store.localOrderData = params.orderData;
|
|
@@ -3823,7 +3823,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
3823
3823
|
deposit_amount: ((_this$store$currentOr21 = this.store.currentOrder) === null || _this$store$currentOr21 === void 0 ? void 0 : _this$store$currentOr21.deposit_amount) || '0.00',
|
|
3824
3824
|
// surcharge_fee: this.otherParams.surcharge_fee,
|
|
3825
3825
|
// surcharges: ,
|
|
3826
|
-
product_tax_fee: this.store.localOrderData.
|
|
3826
|
+
product_tax_fee: this.store.localOrderData.tax_fee,
|
|
3827
3827
|
note: this.store.localOrderData.shop_note
|
|
3828
3828
|
// deposit_amount:
|
|
3829
3829
|
}); // 如果是更新操作,需要在参数中包含真实的订单ID
|
|
@@ -218,7 +218,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
218
218
|
params.orderData.surcharge_fee = (_b = (_a = params.totalInfo) == null ? void 0 : _a.total) == null ? void 0 : _b.otherAmount;
|
|
219
219
|
params.orderData.surcharges = (_d = (_c = params.totalInfo) == null ? void 0 : _c.total) == null ? void 0 : _d.surcharge;
|
|
220
220
|
params.orderData.shop_discount = (_f = (_e = params.totalInfo) == null ? void 0 : _e.total) == null ? void 0 : _f.shopDiscount;
|
|
221
|
-
params.orderData.
|
|
221
|
+
params.orderData.tax_fee = (_h = (_g = params.totalInfo) == null ? void 0 : _g.total) == null ? void 0 : _h.tax;
|
|
222
222
|
this.store.localOrderData = params.orderData;
|
|
223
223
|
this.store.cartSummary = params.cartSummary;
|
|
224
224
|
const customerInfo = {
|
|
@@ -2311,7 +2311,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
2311
2311
|
deposit_amount: ((_d = this.store.currentOrder) == null ? void 0 : _d.deposit_amount) || "0.00",
|
|
2312
2312
|
// surcharge_fee: this.otherParams.surcharge_fee,
|
|
2313
2313
|
// surcharges: ,
|
|
2314
|
-
product_tax_fee: this.store.localOrderData.
|
|
2314
|
+
product_tax_fee: this.store.localOrderData.tax_fee,
|
|
2315
2315
|
note: this.store.localOrderData.shop_note
|
|
2316
2316
|
// deposit_amount:
|
|
2317
2317
|
};
|