tplus-components-touch 3.41.6 → 3.42.1

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.
Files changed (37) hide show
  1. package/dist/components/billSearch/index.js +38 -15
  2. package/dist/components/billSearch/index.js.map +1 -1
  3. package/dist/components/cloudPrint/BTPrintFormatUtil.js +2 -2
  4. package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
  5. package/dist/components/cloudPrint/index.js +608 -891
  6. package/dist/components/cloudPrint/index.js.map +1 -1
  7. package/dist/components/cloudPrint/printDispatch.js +47 -151
  8. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  9. package/dist/components/deliverySearch/index.js +1 -5
  10. package/dist/components/deliverySearch/index.js.map +1 -1
  11. package/dist/components/hardwareAPI/index.js +12 -46
  12. package/dist/components/hardwareAPI/index.js.map +1 -1
  13. package/dist/components/inventorySearch/tab.js +1 -6
  14. package/dist/components/inventorySearch/tab.js.map +1 -1
  15. package/dist/components/loading/loadingContent.js +2 -5
  16. package/dist/components/loading/loadingContent.js.map +1 -1
  17. package/dist/components/message/index.js +5 -4
  18. package/dist/components/message/index.js.map +1 -1
  19. package/dist/components/notification/index.js +12 -11
  20. package/dist/components/notification/index.js.map +1 -1
  21. package/dist/components/progressState/EmptyAndErrorView.js +7 -5
  22. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  23. package/dist/components/settlement/settlement.js +93 -62
  24. package/dist/components/settlement/settlement.js.map +1 -1
  25. package/dist/components/settlement/settlementStore.js +26 -16
  26. package/dist/components/settlement/settlementStore.js.map +1 -1
  27. package/dist/components/ticon/iconfont/demo.css +539 -539
  28. package/dist/components/touchTable/index.js +3 -5
  29. package/dist/components/touchTable/index.js.map +1 -1
  30. package/package.json +3 -3
  31. package/dist/components/cloudPrint/printTemplate/dialy_one.json +0 -239
  32. package/dist/components/cloudPrint/printTemplate/duty_one.json +0 -239
  33. package/dist/components/cloudPrint/printTemplate/retail_one.json +0 -208
  34. package/dist/components/cloudPrint/printTemplate/retail_two.json +0 -220
  35. package/dist/components/cloudPrint/printTemplate/storage_one.json +0 -129
  36. package/dist/components/cloudPrint/printTemplate/template.js +0 -52
  37. package/dist/components/cloudPrint/printTemplate/template.js.map +0 -1
@@ -2355,6 +2355,9 @@ var PayMode = exports.PayMode = (_class3 = function () {
2355
2355
  this.checkList = [];
2356
2356
  }
2357
2357
 
2358
+ var _ref30 = _mutantsUtil.platform || {},
2359
+ isNewRetailBCPos = _ref30.isNewRetailBCPos;
2360
+
2358
2361
  var _enumController$getEn18 = _mutantsUtil.enumController.getEnumOj(),
2359
2362
  PayStyle = _enumController$getEn18.PayStyle,
2360
2363
  Differentiate = _enumController$getEn18.Differentiate;
@@ -2463,18 +2466,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
2463
2466
  }
2464
2467
  });
2465
2468
 
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;
2469
+ var _ref31 = element || {},
2470
+ couponCode = _ref31.couponCode,
2471
+ name = _ref31.name,
2472
+ tieredAmountResult = _ref31.tieredAmountResult,
2473
+ fromDate = _ref31.fromDate,
2474
+ dateMount = _ref31.dateMount,
2475
+ promoMethodEnum = _ref31.promoMethodEnum,
2476
+ discountPct = _ref31.discountPct,
2477
+ nominalAmount = _ref31.nominalAmount,
2478
+ promoId = _ref31.promoId,
2479
+ id = _ref31.id,
2480
+ doorsill = _ref31.doorsill;
2478
2481
 
2479
2482
  var condValue = tieredAmountResult.condValue,
2480
2483
  promoDiscount = tieredAmountResult.promoDiscount,
@@ -2518,6 +2521,9 @@ var PayMode = exports.PayMode = (_class3 = function () {
2518
2521
  }, {
2519
2522
  key: 'calcDjqValue',
2520
2523
  value: function calcDjqValue(q1) {
2524
+ var _ref32 = _mutantsUtil.platform || {},
2525
+ isNewRetailBCPos = _ref32.isNewRetailBCPos;
2526
+
2521
2527
  var _enumController$getEn19 = _mutantsUtil.enumController.getEnumOj(),
2522
2528
  Differentiate = _enumController$getEn19.Differentiate;
2523
2529
 
@@ -2619,17 +2625,17 @@ var PayMode = exports.PayMode = (_class3 = function () {
2619
2625
  }, {
2620
2626
  key: 'setPaymodes',
2621
2627
  value: function () {
2622
- var _ref31 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
2628
+ var _ref33 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
2623
2629
  var _this20 = this;
2624
2630
 
2625
- var _ref32, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
2631
+ var _ref34, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
2626
2632
 
2627
2633
  return _regenerator2.default.wrap(function _callee15$(_context15) {
2628
2634
  while (1) {
2629
2635
  switch (_context15.prev = _context15.next) {
2630
2636
  case 0:
2631
2637
  // 是否移动端判断
2632
- _ref32 = _mutantsUtil.platform || {}, isHorizontalPad = _ref32.isHorizontalPad, isHorizontalSunMi = _ref32.isHorizontalSunMi;
2638
+ _ref34 = _mutantsUtil.platform || {}, isHorizontalPad = _ref34.isHorizontalPad, isHorizontalSunMi = _ref34.isHorizontalSunMi;
2633
2639
  isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;
2634
2640
  _enumController$getEn21 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn21.settleStyleType, PayStyle = _enumController$getEn21.PayStyle;
2635
2641
  memberStoreCode = settleStyleType.memberStoreCode, settlementCode = settleStyleType.settlementCode;
@@ -2681,7 +2687,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2681
2687
  }));
2682
2688
 
2683
2689
  function setPaymodes(_x12, _x13) {
2684
- return _ref31.apply(this, arguments);
2690
+ return _ref33.apply(this, arguments);
2685
2691
  }
2686
2692
 
2687
2693
  return setPaymodes;
@@ -2813,6 +2819,10 @@ var Member = exports.Member = (_class5 = function () {
2813
2819
  var index = (0, _findIndex3.default)(m.DynamicPropertyKeys, function (key) {
2814
2820
  return key == 'canusedbalancestorage';
2815
2821
  });
2822
+
2823
+ var _ref35 = _mutantsUtil.platform || {},
2824
+ isNewRetailBCPos = _ref35.isNewRetailBCPos;
2825
+
2816
2826
  (0, _mobx.runInAction)(function () {
2817
2827
  _this24.cardNo = m.CardCode;
2818
2828
  if (index >= 0) {