tplus-components-touch 3.44.1 → 3.44.2
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/components/billSearch/index.js +15 -38
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/deliverySearch/index.js +5 -1
- package/dist/components/deliverySearch/index.js.map +1 -1
- package/dist/components/inventorySearch/tab.js +6 -1
- package/dist/components/inventorySearch/tab.js.map +1 -1
- package/dist/components/loading/loadingContent.js +5 -2
- package/dist/components/loading/loadingContent.js.map +1 -1
- package/dist/components/message/index.js +4 -5
- package/dist/components/message/index.js.map +1 -1
- package/dist/components/notification/index.js +11 -12
- package/dist/components/notification/index.js.map +1 -1
- package/dist/components/progressState/EmptyAndErrorView.js +5 -7
- package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
- package/dist/components/settlement/settlement.js +62 -81
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlementStore.js +16 -26
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/touchTable/index.js +5 -3
- package/dist/components/touchTable/index.js.map +1 -1
- package/package.json +35 -35
@@ -2312,9 +2312,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2312
2312
|
this.checkList = [];
|
2313
2313
|
}
|
2314
2314
|
|
2315
|
-
var _ref29 = _mutantsUtil.platform || {},
|
2316
|
-
isNewRetailBCPos = _ref29.isNewRetailBCPos;
|
2317
|
-
|
2318
2315
|
var _enumController$getEn18 = _mutantsUtil.enumController.getEnumOj(),
|
2319
2316
|
PayStyle = _enumController$getEn18.PayStyle,
|
2320
2317
|
Differentiate = _enumController$getEn18.Differentiate;
|
@@ -2423,18 +2420,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2423
2420
|
}
|
2424
2421
|
});
|
2425
2422
|
|
2426
|
-
var
|
2427
|
-
couponCode =
|
2428
|
-
name =
|
2429
|
-
tieredAmountResult =
|
2430
|
-
fromDate =
|
2431
|
-
dateMount =
|
2432
|
-
promoMethodEnum =
|
2433
|
-
discountPct =
|
2434
|
-
nominalAmount =
|
2435
|
-
promoId =
|
2436
|
-
id =
|
2437
|
-
doorsill =
|
2423
|
+
var _ref29 = element || {},
|
2424
|
+
couponCode = _ref29.couponCode,
|
2425
|
+
name = _ref29.name,
|
2426
|
+
tieredAmountResult = _ref29.tieredAmountResult,
|
2427
|
+
fromDate = _ref29.fromDate,
|
2428
|
+
dateMount = _ref29.dateMount,
|
2429
|
+
promoMethodEnum = _ref29.promoMethodEnum,
|
2430
|
+
discountPct = _ref29.discountPct,
|
2431
|
+
nominalAmount = _ref29.nominalAmount,
|
2432
|
+
promoId = _ref29.promoId,
|
2433
|
+
id = _ref29.id,
|
2434
|
+
doorsill = _ref29.doorsill;
|
2438
2435
|
|
2439
2436
|
var condValue = tieredAmountResult.condValue,
|
2440
2437
|
promoDiscount = tieredAmountResult.promoDiscount,
|
@@ -2478,9 +2475,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2478
2475
|
}, {
|
2479
2476
|
key: 'calcDjqValue',
|
2480
2477
|
value: function calcDjqValue(q1) {
|
2481
|
-
var _ref31 = _mutantsUtil.platform || {},
|
2482
|
-
isNewRetailBCPos = _ref31.isNewRetailBCPos;
|
2483
|
-
|
2484
2478
|
var _enumController$getEn19 = _mutantsUtil.enumController.getEnumOj(),
|
2485
2479
|
Differentiate = _enumController$getEn19.Differentiate;
|
2486
2480
|
|
@@ -2582,17 +2576,17 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2582
2576
|
}, {
|
2583
2577
|
key: 'setPaymodes',
|
2584
2578
|
value: function () {
|
2585
|
-
var
|
2579
|
+
var _ref30 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
|
2586
2580
|
var _this20 = this;
|
2587
2581
|
|
2588
|
-
var
|
2582
|
+
var _ref31, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
2589
2583
|
|
2590
2584
|
return _regenerator2.default.wrap(function _callee15$(_context15) {
|
2591
2585
|
while (1) {
|
2592
2586
|
switch (_context15.prev = _context15.next) {
|
2593
2587
|
case 0:
|
2594
2588
|
// 是否移动端判断
|
2595
|
-
|
2589
|
+
_ref31 = _mutantsUtil.platform || {}, isHorizontalPad = _ref31.isHorizontalPad, isHorizontalSunMi = _ref31.isHorizontalSunMi;
|
2596
2590
|
isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;
|
2597
2591
|
_enumController$getEn21 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn21.settleStyleType, PayStyle = _enumController$getEn21.PayStyle;
|
2598
2592
|
memberStoreCode = settleStyleType.memberStoreCode, settlementCode = settleStyleType.settlementCode;
|
@@ -2644,7 +2638,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2644
2638
|
}));
|
2645
2639
|
|
2646
2640
|
function setPaymodes(_x13, _x14) {
|
2647
|
-
return
|
2641
|
+
return _ref30.apply(this, arguments);
|
2648
2642
|
}
|
2649
2643
|
|
2650
2644
|
return setPaymodes;
|
@@ -2776,10 +2770,6 @@ var Member = exports.Member = (_class5 = function () {
|
|
2776
2770
|
var index = (0, _findIndex3.default)(m.DynamicPropertyKeys, function (key) {
|
2777
2771
|
return key == 'canusedbalancestorage';
|
2778
2772
|
});
|
2779
|
-
|
2780
|
-
var _ref34 = _mutantsUtil.platform || {},
|
2781
|
-
isNewRetailBCPos = _ref34.isNewRetailBCPos;
|
2782
|
-
|
2783
2773
|
(0, _mobx.runInAction)(function () {
|
2784
2774
|
_this24.cardNo = m.CardCode;
|
2785
2775
|
if (index >= 0) {
|