tplus-components-touch 3.41.1 → 3.41.5
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/cloudPrint/BTPrintFormatUtil.js +2 -2
- package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
- package/dist/components/cloudPrint/index.js +891 -608
- package/dist/components/cloudPrint/index.js.map +1 -1
- package/dist/components/cloudPrint/printDispatch.js +151 -47
- package/dist/components/cloudPrint/printDispatch.js.map +1 -1
- package/dist/components/cloudPrint/printTemplate/dialy_one.json +239 -0
- package/dist/components/cloudPrint/printTemplate/duty_one.json +239 -0
- package/dist/components/cloudPrint/printTemplate/retail_one.json +208 -0
- package/dist/components/cloudPrint/printTemplate/retail_two.json +220 -0
- package/dist/components/cloudPrint/printTemplate/storage_one.json +129 -0
- package/dist/components/cloudPrint/printTemplate/template.js +52 -0
- package/dist/components/cloudPrint/printTemplate/template.js.map +1 -0
- package/dist/components/commonForm/formControl/index.js +1 -1
- package/dist/components/commonForm/formControl/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/hardwareAPI/index.js +46 -12
- package/dist/components/hardwareAPI/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 +139 -116
- 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
@@ -2355,9 +2355,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2355
2355
|
this.checkList = [];
|
2356
2356
|
}
|
2357
2357
|
|
2358
|
-
var _ref30 = _mutantsUtil.platform || {},
|
2359
|
-
isNewRetailBCPos = _ref30.isNewRetailBCPos;
|
2360
|
-
|
2361
2358
|
var _enumController$getEn18 = _mutantsUtil.enumController.getEnumOj(),
|
2362
2359
|
PayStyle = _enumController$getEn18.PayStyle,
|
2363
2360
|
Differentiate = _enumController$getEn18.Differentiate;
|
@@ -2466,18 +2463,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2466
2463
|
}
|
2467
2464
|
});
|
2468
2465
|
|
2469
|
-
var
|
2470
|
-
couponCode =
|
2471
|
-
name =
|
2472
|
-
tieredAmountResult =
|
2473
|
-
fromDate =
|
2474
|
-
dateMount =
|
2475
|
-
promoMethodEnum =
|
2476
|
-
discountPct =
|
2477
|
-
nominalAmount =
|
2478
|
-
promoId =
|
2479
|
-
id =
|
2480
|
-
doorsill =
|
2466
|
+
var _ref30 = element || {},
|
2467
|
+
couponCode = _ref30.couponCode,
|
2468
|
+
name = _ref30.name,
|
2469
|
+
tieredAmountResult = _ref30.tieredAmountResult,
|
2470
|
+
fromDate = _ref30.fromDate,
|
2471
|
+
dateMount = _ref30.dateMount,
|
2472
|
+
promoMethodEnum = _ref30.promoMethodEnum,
|
2473
|
+
discountPct = _ref30.discountPct,
|
2474
|
+
nominalAmount = _ref30.nominalAmount,
|
2475
|
+
promoId = _ref30.promoId,
|
2476
|
+
id = _ref30.id,
|
2477
|
+
doorsill = _ref30.doorsill;
|
2481
2478
|
|
2482
2479
|
var condValue = tieredAmountResult.condValue,
|
2483
2480
|
promoDiscount = tieredAmountResult.promoDiscount,
|
@@ -2521,9 +2518,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2521
2518
|
}, {
|
2522
2519
|
key: 'calcDjqValue',
|
2523
2520
|
value: function calcDjqValue(q1) {
|
2524
|
-
var _ref32 = _mutantsUtil.platform || {},
|
2525
|
-
isNewRetailBCPos = _ref32.isNewRetailBCPos;
|
2526
|
-
|
2527
2521
|
var _enumController$getEn19 = _mutantsUtil.enumController.getEnumOj(),
|
2528
2522
|
Differentiate = _enumController$getEn19.Differentiate;
|
2529
2523
|
|
@@ -2625,17 +2619,17 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2625
2619
|
}, {
|
2626
2620
|
key: 'setPaymodes',
|
2627
2621
|
value: function () {
|
2628
|
-
var
|
2622
|
+
var _ref31 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
|
2629
2623
|
var _this20 = this;
|
2630
2624
|
|
2631
|
-
var
|
2625
|
+
var _ref32, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
2632
2626
|
|
2633
2627
|
return _regenerator2.default.wrap(function _callee15$(_context15) {
|
2634
2628
|
while (1) {
|
2635
2629
|
switch (_context15.prev = _context15.next) {
|
2636
2630
|
case 0:
|
2637
2631
|
// 是否移动端判断
|
2638
|
-
|
2632
|
+
_ref32 = _mutantsUtil.platform || {}, isHorizontalPad = _ref32.isHorizontalPad, isHorizontalSunMi = _ref32.isHorizontalSunMi;
|
2639
2633
|
isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;
|
2640
2634
|
_enumController$getEn21 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn21.settleStyleType, PayStyle = _enumController$getEn21.PayStyle;
|
2641
2635
|
memberStoreCode = settleStyleType.memberStoreCode, settlementCode = settleStyleType.settlementCode;
|
@@ -2687,7 +2681,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2687
2681
|
}));
|
2688
2682
|
|
2689
2683
|
function setPaymodes(_x12, _x13) {
|
2690
|
-
return
|
2684
|
+
return _ref31.apply(this, arguments);
|
2691
2685
|
}
|
2692
2686
|
|
2693
2687
|
return setPaymodes;
|
@@ -2819,10 +2813,6 @@ var Member = exports.Member = (_class5 = function () {
|
|
2819
2813
|
var index = (0, _findIndex3.default)(m.DynamicPropertyKeys, function (key) {
|
2820
2814
|
return key == 'canusedbalancestorage';
|
2821
2815
|
});
|
2822
|
-
|
2823
|
-
var _ref35 = _mutantsUtil.platform || {},
|
2824
|
-
isNewRetailBCPos = _ref35.isNewRetailBCPos;
|
2825
|
-
|
2826
2816
|
(0, _mobx.runInAction)(function () {
|
2827
2817
|
_this24.cardNo = m.CardCode;
|
2828
2818
|
if (index >= 0) {
|