tplus-components-touch 3.43.1 → 3.44.3

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 (204) hide show
  1. package/README.md +16 -16
  2. package/dist/components/acCitySelect/CitySelect.js +18 -18
  3. package/dist/components/acCitySelect/CitySelect.js.map +1 -1
  4. package/dist/components/acCitySelect/CitySelect.less +9 -9
  5. package/dist/components/acCitySelect/citys.js.map +1 -1
  6. package/dist/components/acCitySelect/index.js.map +1 -1
  7. package/dist/components/acCitySelect/provinceData.js +7 -7
  8. package/dist/components/acCitySelect/provinceData.js.map +1 -1
  9. package/dist/components/addLog/AddLogProcessor.js +6 -6
  10. package/dist/components/addLog/AddLogProcessor.js.map +1 -1
  11. package/dist/components/addLog/OperationLogApi.js +3 -3
  12. package/dist/components/addLog/OperationLogApi.js.map +1 -1
  13. package/dist/components/autoComplete/index.js +14 -14
  14. package/dist/components/autoComplete/index.js.map +1 -1
  15. package/dist/components/autoComplete/index.less +89 -89
  16. package/dist/components/autoComplete/option.js.map +1 -1
  17. package/dist/components/autoCompleteWithKeyboard/index.js +14 -14
  18. package/dist/components/autoCompleteWithKeyboard/index.js.map +1 -1
  19. package/dist/components/autoCompleteWithKeyboard/index.less +18 -18
  20. package/dist/components/billSearch/api.js +29 -29
  21. package/dist/components/billSearch/api.js.map +1 -1
  22. package/dist/components/billSearch/index.js +23 -46
  23. package/dist/components/billSearch/index.js.map +1 -1
  24. package/dist/components/billSearch/index.less +384 -384
  25. package/dist/components/cloudPrint/BTPrintFormatUtil.js +19 -19
  26. package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
  27. package/dist/components/cloudPrint/api.js.map +1 -1
  28. package/dist/components/cloudPrint/index.js +893 -608
  29. package/dist/components/cloudPrint/index.js.map +1 -1
  30. package/dist/components/cloudPrint/printDispatch.js +189 -53
  31. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  32. package/dist/components/cloudPrint/printTemplate/dialy_one.json +239 -0
  33. package/dist/components/cloudPrint/printTemplate/duty_one.json +239 -0
  34. package/dist/components/cloudPrint/printTemplate/retail_one.json +204 -0
  35. package/dist/components/cloudPrint/printTemplate/retail_two.json +220 -0
  36. package/dist/components/cloudPrint/printTemplate/storage_one.json +129 -0
  37. package/dist/components/cloudPrint/printTemplate/template.js +52 -0
  38. package/dist/components/cloudPrint/printTemplate/template.js.map +1 -0
  39. package/dist/components/commonForm/addressPicker/index.js +7 -7
  40. package/dist/components/commonForm/addressPicker/index.js.map +1 -1
  41. package/dist/components/commonForm/addressPicker/style.less +10 -10
  42. package/dist/components/commonForm/autoComplete/index.js.map +1 -1
  43. package/dist/components/commonForm/autoComplete/style.less +2 -2
  44. package/dist/components/commonForm/datePicker/index.js.map +1 -1
  45. package/dist/components/commonForm/datePicker/style.less +4 -4
  46. package/dist/components/commonForm/formControl/index.js.map +1 -1
  47. package/dist/components/commonForm/index.js +4 -4
  48. package/dist/components/commonForm/index.js.map +1 -1
  49. package/dist/components/commonForm/inputNumber/index.js.map +1 -1
  50. package/dist/components/commonForm/inputNumber/style.less +10 -10
  51. package/dist/components/commonForm/radio/index.js.map +1 -1
  52. package/dist/components/commonForm/style.less +1 -1
  53. package/dist/components/deliverySearch/api.js +21 -21
  54. package/dist/components/deliverySearch/api.js.map +1 -1
  55. package/dist/components/deliverySearch/index.js +11 -7
  56. package/dist/components/deliverySearch/index.js.map +1 -1
  57. package/dist/components/deliverySearch/index.less +553 -553
  58. package/dist/components/form/index.js.map +1 -1
  59. package/dist/components/hardwareAPI/index.js +46 -12
  60. package/dist/components/hardwareAPI/index.js.map +1 -1
  61. package/dist/components/hotKey/config.js +23 -23
  62. package/dist/components/hotKey/config.js.map +1 -1
  63. package/dist/components/hotKey/hotKeyModal.js.map +1 -1
  64. package/dist/components/hotKey/index.js +26 -26
  65. package/dist/components/hotKey/index.js.map +1 -1
  66. package/dist/components/hotKey/localConfig.js +13 -0
  67. package/dist/components/hotKey/localConfig.js.map +1 -1
  68. package/dist/components/hotKey/style.less +96 -96
  69. package/dist/components/hotKey/utils.js.map +1 -1
  70. package/dist/components/input/index.js +6 -6
  71. package/dist/components/input/index.js.map +1 -1
  72. package/dist/components/input/scanInput.js.map +1 -1
  73. package/dist/components/input/scanInput.less +30 -30
  74. package/dist/components/input/style.less +106 -106
  75. package/dist/components/input/tplusInput/index.js +30 -30
  76. package/dist/components/input/tplusInput/index.js.map +1 -1
  77. package/dist/components/input/tplusInput/inputContent.js.map +1 -1
  78. package/dist/components/input/tplusInput/inputs.js.map +1 -1
  79. package/dist/components/input/tplusInput/style.less +132 -132
  80. package/dist/components/input/utils/index.js.map +1 -1
  81. package/dist/components/inventorySearch/api.js +58 -58
  82. package/dist/components/inventorySearch/api.js.map +1 -1
  83. package/dist/components/inventorySearch/index.js +3 -3
  84. package/dist/components/inventorySearch/index.js.map +1 -1
  85. package/dist/components/inventorySearch/index.less +119 -119
  86. package/dist/components/inventorySearch/store.js.map +1 -1
  87. package/dist/components/inventorySearch/tab.js +6 -1
  88. package/dist/components/inventorySearch/tab.js.map +1 -1
  89. package/dist/components/keyboard/index.js.map +1 -1
  90. package/dist/components/keyboard/index.less +485 -485
  91. package/dist/components/keyboard/letterKeyboard.js +2 -2
  92. package/dist/components/keyboard/letterKeyboard.js.map +1 -1
  93. package/dist/components/keyboard/numKeyboard.js +4 -4
  94. package/dist/components/keyboard/numKeyboard.js.map +1 -1
  95. package/dist/components/keyboard/numKeyboardScan.js.map +1 -1
  96. package/dist/components/keyboard/numberButton_input.js +5 -5
  97. package/dist/components/keyboard/numberButton_input.js.map +1 -1
  98. package/dist/components/keyboard/numkeyboardPassword.js +4 -4
  99. package/dist/components/keyboard/numkeyboardPassword.js.map +1 -1
  100. package/dist/components/keyboard/onlyKeyboard.js +7 -7
  101. package/dist/components/keyboard/onlyKeyboard.js.map +1 -1
  102. package/dist/components/keyboard/onlyLetterButton.js +2 -2
  103. package/dist/components/keyboard/onlyLetterButton.js.map +1 -1
  104. package/dist/components/keyboard/onlyLetterButton2.js +2 -2
  105. package/dist/components/keyboard/onlyLetterButton2.js.map +1 -1
  106. package/dist/components/keyboard/onlyLetterButton2.less +156 -156
  107. package/dist/components/keyboard/onlyNumberButton.js +2 -2
  108. package/dist/components/keyboard/onlyNumberButton.js.map +1 -1
  109. package/dist/components/keyboard/onlyNumberButton2.js +3 -3
  110. package/dist/components/keyboard/onlyNumberButton2.js.map +1 -1
  111. package/dist/components/keyboard/textKeyboard.js.map +1 -1
  112. package/dist/components/layout/hamburger.js.map +1 -1
  113. package/dist/components/layout/index.js +10 -10
  114. package/dist/components/layout/index.js.map +1 -1
  115. package/dist/components/layout/layout.js.map +1 -1
  116. package/dist/components/layout/sider.js +12 -12
  117. package/dist/components/layout/sider.js.map +1 -1
  118. package/dist/components/layout/style.less +82 -82
  119. package/dist/components/loading/index.js +15 -15
  120. package/dist/components/loading/index.js.map +1 -1
  121. package/dist/components/loading/loadingContent.js +5 -2
  122. package/dist/components/loading/loadingContent.js.map +1 -1
  123. package/dist/components/loading/style.less +72 -72
  124. package/dist/components/loading/utils.js.map +1 -1
  125. package/dist/components/message/index.js +12 -13
  126. package/dist/components/message/index.js.map +1 -1
  127. package/dist/components/message/index.less +101 -101
  128. package/dist/components/modal/index.js.map +1 -1
  129. package/dist/components/modal/index.less +19 -19
  130. package/dist/components/modalVertical/index.js +7 -7
  131. package/dist/components/modalVertical/index.js.map +1 -1
  132. package/dist/components/modalVertical/style.less +60 -60
  133. package/dist/components/modalWraper/index.js +15 -15
  134. package/dist/components/modalWraper/index.js.map +1 -1
  135. package/dist/components/modalWraper/style.less +257 -257
  136. package/dist/components/modalWraper/utils.js.map +1 -1
  137. package/dist/components/notification/index.js +11 -12
  138. package/dist/components/notification/index.js.map +1 -1
  139. package/dist/components/notification/index.less +51 -51
  140. package/dist/components/overflowTip/index.js +15 -15
  141. package/dist/components/overflowTip/index.js.map +1 -1
  142. package/dist/components/overflowTip/style.less +66 -66
  143. package/dist/components/page/index.js.map +1 -1
  144. package/dist/components/page/index.less +21 -21
  145. package/dist/components/presale/pickup.js.map +1 -1
  146. package/dist/components/presale/style.less +58 -58
  147. package/dist/components/product/detail.js +7 -7
  148. package/dist/components/product/detail.js.map +1 -1
  149. package/dist/components/product/getCard.js +5 -5
  150. package/dist/components/product/getCard.js.map +1 -1
  151. package/dist/components/product/index.less +128 -128
  152. package/dist/components/progressState/EmptyAndErrorView.js +5 -7
  153. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  154. package/dist/components/progressState/ProgressState.js +10 -10
  155. package/dist/components/progressState/ProgressState.js.map +1 -1
  156. package/dist/components/progressState/index.js.map +1 -1
  157. package/dist/components/progressState/style.less +65 -65
  158. package/dist/components/scan/index.js.map +1 -1
  159. package/dist/components/scan/index.less +33 -33
  160. package/dist/components/select/index.js.map +1 -1
  161. package/dist/components/select/index.less +11 -11
  162. package/dist/components/settlement/asyncModal.js.map +1 -1
  163. package/dist/components/settlement/index.js.map +1 -1
  164. package/dist/components/settlement/moreCzkTable/index.js.map +1 -1
  165. package/dist/components/settlement/moreCzkTable/style.less +6 -6
  166. package/dist/components/settlement/prototypeTable/index.js +1 -1
  167. package/dist/components/settlement/prototypeTable/index.js.map +1 -1
  168. package/dist/components/settlement/prototypeTable/style.less +58 -58
  169. package/dist/components/settlement/prototypeTable/utils.js.map +1 -1
  170. package/dist/components/settlement/settlement.js +131 -137
  171. package/dist/components/settlement/settlement.js.map +1 -1
  172. package/dist/components/settlement/settlement.less +1705 -1705
  173. package/dist/components/settlement/settlementStore.js +156 -208
  174. package/dist/components/settlement/settlementStore.js.map +1 -1
  175. package/dist/components/settlement/utils.js.map +1 -1
  176. package/dist/components/socket/index.js +11 -11
  177. package/dist/components/socket/index.js.map +1 -1
  178. package/dist/components/spin/index.js +6 -6
  179. package/dist/components/spin/index.js.map +1 -1
  180. package/dist/components/spin/spin-style.less +436 -436
  181. package/dist/components/test/index.js +3 -3
  182. package/dist/components/test/index.js.map +1 -1
  183. package/dist/components/ticon/iconfont/demo_index.html +5248 -5248
  184. package/dist/components/ticon/iconfont/iconfont.css +895 -895
  185. package/dist/components/ticon/iconfont/iconfont.json +1549 -1549
  186. package/dist/components/ticon/iconfont/iconfont.svg +593 -593
  187. package/dist/components/ticon/index.js.map +1 -1
  188. package/dist/components/touchScroll/index.js +9 -9
  189. package/dist/components/touchScroll/index.js.map +1 -1
  190. package/dist/components/touchTable/AuthProcess.js.map +1 -1
  191. package/dist/components/touchTable/generateWater.js.map +1 -1
  192. package/dist/components/touchTable/index.js +14 -12
  193. package/dist/components/touchTable/index.js.map +1 -1
  194. package/dist/components/touchTable/index.less +376 -376
  195. package/dist/components/touchTable/utils.js.map +1 -1
  196. package/dist/demo/PopOverDemo.js.map +1 -1
  197. package/dist/index.js +7 -7
  198. package/dist/index.js.map +1 -1
  199. package/dist/util/tools.js.map +1 -1
  200. package/locales/zh/tplus-components-touch.json +1 -1
  201. package/locales/zh-CN/tplus-components-touch.json +1 -1
  202. package/mocks/memberInfo.json +79 -79
  203. package/package.json +3 -3
  204. package/tsconfig.json +26 -26
@@ -279,6 +279,22 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
279
279
  _this2.hotkeydebouncedPayMode = "";
280
280
  _this2.currentInput = null;
281
281
 
282
+ _this2.getIsReturn = function () {
283
+ var dataModal = _this2.context && _this2.context.viewModel && _this2.context.viewModel.data;
284
+ return dataModal.IdbusiType === 35 || dataModal.IdbusiType === 40; //40预售退货类型。
285
+ };
286
+
287
+ _this2.getBoriginReturn = function () {
288
+ var boriginReturn = _this2.context && _this2.context.viewModel && _this2.context.viewModel.data && JSON.getCellValue(_this2.context.viewModel.data, "IsOriginalReturn");
289
+ return boriginReturn || false;
290
+ };
291
+
292
+ _this2.getNotBoriginReturn = function () {
293
+ var isReturn = _this2.getIsReturn();
294
+ var boriginReturn = _this2.getBoriginReturn();
295
+ return isReturn && !boriginReturn;
296
+ };
297
+
282
298
  _this2.resizeSettlementToolBtns = function () {
283
299
  var newStyle = _this2.store.newStyle;
284
300
  var isMemberStorePage = _this2.props.isMemberStorePage;
@@ -413,14 +429,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
413
429
  _this2.handleGuestShow(amount < 0 ? 2 : 3, amount);
414
430
  setTimeout(function () {
415
431
  _this2.handleDefault();
416
- // // 单据模式 临时性获取第一个结算方式焦点
417
- // // document.querySelector('.modeItem:nth-child(1) .content input').focus()
418
432
  var _this2$store = _this2.store,
419
433
  paymode = _this2$store.paymode,
420
434
  brefund = _this2$store.brefund,
421
435
  newStyle = _this2$store.newStyle;
422
436
 
423
- var boriginReturn = _this2.context && _this2.context.viewModel && _this2.context.viewModel.data && JSON.getCellValue(_this2.context.viewModel.data, "IsOriginalReturn");
437
+ var boriginReturn = _this2.getBoriginReturn();
424
438
  var thePaymodes = newStyle ? (0, _filter3.default)(paymode.thePaymodes, function (m) {
425
439
  return !(_this2.checkModeDisabled(m.paymentType, brefund, boriginReturn) && parseFloat(m.value) == 0);
426
440
  }) : paymode.thePaymodes;
@@ -632,36 +646,36 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
632
646
 
633
647
  _this2.showCzkModal = function () {
634
648
  var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(id, append) {
635
- var _enumController$getEn2, PayStyle, _ref2, isInputMember, memberdata1;
649
+ var _ref2, isInputMember, _enumController$getEn2, PayStyle, memberId, returnType, memberdata1;
636
650
 
637
651
  return _regenerator2.default.wrap(function _callee$(_context) {
638
652
  while (1) {
639
653
  switch (_context.prev = _context.next) {
640
654
  case 0:
641
- _this2.connectRfCard();
655
+ _ref2 = _this2.state || {}, isInputMember = _ref2.isInputMember;
642
656
  _enumController$getEn2 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn2.PayStyle;
657
+ memberId = _this2.store && _this2.store.member && _this2.store.member.ID;
658
+ returnType = _this2.getNotBoriginReturn();
643
659
 
660
+ _this2.connectRfCard();
644
661
  _this2.store.setCurrentMode(id, PayStyle.hyczk, append);
645
- _ref2 = _this2.state || {}, isInputMember = _ref2.isInputMember;
646
- _context.t0 = isInputMember && _this2.store.paymode.currentMode.memberId;
662
+ _context.t0 = isInputMember && memberId;
647
663
 
648
664
  if (!_context.t0) {
649
- _context.next = 9;
665
+ _context.next = 11;
650
666
  break;
651
667
  }
652
668
 
653
- _context.next = 8;
654
- return _this2.store.updateCurrentMode(_this2.store.paymode.currentMode.memberId);
669
+ _context.next = 10;
670
+ return _this2.store.updateCurrentMode(memberId, returnType);
655
671
 
656
- case 8:
672
+ case 10:
657
673
  _context.t0 = _context.sent;
658
674
 
659
- case 9:
675
+ case 11:
660
676
  memberdata1 = _context.t0;
661
677
 
662
- _this2.setState({
663
- czkVisible: true
664
- });
678
+ _this2.setState({ czkVisible: true });
665
679
  if (memberdata1 && memberdata1.length === 1) {
666
680
  _this2.handleCzkMoreData(true);
667
681
  _this2.store.handleCzkData(memberdata1[0]);
@@ -677,7 +691,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
677
691
  }, 300);
678
692
  }
679
693
 
680
- case 12:
694
+ case 14:
681
695
  case 'end':
682
696
  return _context.stop();
683
697
  }
@@ -721,7 +735,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
721
735
  };
722
736
 
723
737
  _this2.handleCzkData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
724
- var _enumController$getEn3, PayStyle;
738
+ var _enumController$getEn3, PayStyle, returnType;
725
739
 
726
740
  return _regenerator2.default.wrap(function _callee2$(_context2) {
727
741
  while (1) {
@@ -733,43 +747,44 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
733
747
  _enumController$getEn3 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn3.PayStyle;
734
748
 
735
749
  if (_this2.store.paymode.currentMode.storageCardNo) {
736
- _context2.next = 5;
750
+ _context2.next = 6;
737
751
  break;
738
752
  }
739
753
 
740
- _context2.next = 5;
741
- return _this2.store.loadCzk(_this2.czkInput.input.value);
754
+ returnType = _this2.getNotBoriginReturn();
755
+ _context2.next = 6;
756
+ return _this2.store.loadCzk(_this2.czkInput.input.value, returnType);
742
757
 
743
- case 5:
758
+ case 6:
744
759
  if (_this2.store.paymode.currentMode.storageCardNo) {
745
- _context2.next = 8;
760
+ _context2.next = 9;
746
761
  break;
747
762
  }
748
763
 
749
764
  _message2.default.error("请录入储值卡!");
750
765
  return _context2.abrupt('return');
751
766
 
752
- case 8:
767
+ case 9:
753
768
  if (!(0, _find3.default)(_this2.store.paymode.thePaymodes, function (mode) {
754
769
  return mode.paymethodId != _this2.store.paymode.currentMode.paymethodId && mode.paymentType == PayStyle.hyczk && mode.storageCardNo == _this2.store.paymode.currentMode.storageCardNo;
755
770
  })) {
756
- _context2.next = 11;
771
+ _context2.next = 12;
757
772
  break;
758
773
  }
759
774
 
760
775
  _message2.default.error("该储值卡已使用。");
761
776
  return _context2.abrupt('return');
762
777
 
763
- case 11:
778
+ case 12:
764
779
  if (!(_this2.store.bquick && _this2.store.paymode.amount != _this2.store.paymode.currentMode.value)) {
765
- _context2.next = 14;
780
+ _context2.next = 15;
766
781
  break;
767
782
  }
768
783
 
769
784
  _message2.default.error("实收金额应等于应收金额。");
770
785
  return _context2.abrupt('return');
771
786
 
772
- case 14:
787
+ case 15:
773
788
 
774
789
  _this2.setState({
775
790
  czkVisible: false,
@@ -780,7 +795,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
780
795
  _this2.store.paymode.calcMemberBalance();
781
796
  _this2.handleCzk();
782
797
 
783
- case 18:
798
+ case 19:
784
799
  case 'end':
785
800
  return _context2.stop();
786
801
  }
@@ -1008,11 +1023,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1008
1023
  }, 200);
1009
1024
 
1010
1025
  // TODO: 测试优惠券支付
1011
-
1012
- var _ref10 = _mutantsUtil.platform || {},
1013
- isNewRetailBCPos = _ref10.isNewRetailBCPos;
1014
-
1015
- if (isNewRetailBCPos && !_this2.store.paymode.currentMode.boriginReturn) {
1026
+ if (!_this2.store.paymode.currentMode.boriginReturn) {
1016
1027
  _this2.store.getCouponList();
1017
1028
  }
1018
1029
  };
@@ -1094,8 +1105,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1094
1105
  };
1095
1106
 
1096
1107
  _this2.checkOfflineEnable = function (paymode, key) {
1097
- var _ref11 = paymode || {},
1098
- paymodes = _ref11.paymodes;
1108
+ var _ref10 = paymode || {},
1109
+ paymodes = _ref10.paymodes;
1099
1110
 
1100
1111
  var isOffline = _mutantsMicrofx.stores.offlineSys.isOffline;
1101
1112
 
@@ -1354,10 +1365,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1354
1365
  };
1355
1366
 
1356
1367
  _this2.setCurrentModeValue = function (val, max) {
1368
+ var returnType = _this2.getNotBoriginReturn();
1369
+
1357
1370
  var _enumController$getEn13 = _mutantsUtil.enumController.getEnumOj(),
1358
1371
  PayStyle = _enumController$getEn13.PayStyle;
1359
1372
 
1360
- var reg = /^[\d.]+$/g;
1373
+ var reg = returnType ? /^[\d.-]+$/g : /^[\d.]+$/g;
1361
1374
  if (_this2.store.paymode.currentMode.paymentType === PayStyle.hyczk || _this2.store.paymode.currentMode.paymentType === PayStyle.jfdx) {
1362
1375
  if (!val) {
1363
1376
  _this2.setState({
@@ -1446,15 +1459,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1446
1459
  _message2.default.info('\u539F\u5355\u9000\u8D27\u65F6' + Differentiate.COUPON + '\u4E0D\u53EF\u4EE5\u53D6\u6D88\u3002');
1447
1460
  return;
1448
1461
  }
1449
-
1450
- var _ref12 = _mutantsUtil.platform || {},
1451
- isNewRetailBCPos = _ref12.isNewRetailBCPos;
1452
-
1453
- if (isNewRetailBCPos) {
1454
- _this2.store.paymode.calcDjqCheckValue(q, _this2.store.dto);
1455
- } else {
1456
- _this2.store.paymode.calcDjqValue(q);
1457
- }
1462
+ _this2.store.paymode.calcDjqCheckValue(q, _this2.store.dto);
1458
1463
  // this.props.onGetCouponList && this.props.onGetCouponList(this.store.dto, _filter(this.store.paymode.currentMode.djqs,(djq)=>{return djq.couponCategoryEnum !== 'RIGHT'}));
1459
1464
  // this.props.onGetCouponList && this.props.onGetCouponList(this.store.dto, _filter(this.store.paymode.currentMode.djqs,(djq)=>{return djq.checked}), this.store.paymode.currentMode.djqs);
1460
1465
  };
@@ -1484,15 +1489,16 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1484
1489
  return;
1485
1490
  }
1486
1491
  _this2.czkdebounced = (0, _debounce3.default)((0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5() {
1487
- var memberdata1;
1492
+ var returnType, memberdata1;
1488
1493
  return _regenerator2.default.wrap(function _callee5$(_context5) {
1489
1494
  while (1) {
1490
1495
  switch (_context5.prev = _context5.next) {
1491
1496
  case 0:
1492
- _context5.next = 2;
1493
- return _this2.store.loadCzk(v);
1497
+ returnType = _this2.getNotBoriginReturn();
1498
+ _context5.next = 3;
1499
+ return _this2.store.loadCzk(v, returnType);
1494
1500
 
1495
- case 2:
1501
+ case 3:
1496
1502
  memberdata1 = _context5.sent;
1497
1503
 
1498
1504
  if (memberdata1 && memberdata1.length === 1) {
@@ -1509,7 +1515,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1509
1515
  });
1510
1516
  }
1511
1517
 
1512
- case 4:
1518
+ case 5:
1513
1519
  case 'end':
1514
1520
  return _context5.stop();
1515
1521
  }
@@ -1615,8 +1621,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1615
1621
  _this2.hotkeydebounced = null;
1616
1622
  }
1617
1623
  _this2.hotkeydebounced = (0, _debounce3.default)(function () {
1618
- // let { type, amount, totalVariety, totalQuantity, isReturn, quantityDetail,memberDisabled } = this.props
1619
- var boriginReturn = _this2.context && _this2.context.viewModel && _this2.context.viewModel.data && JSON.getCellValue(_this2.context.viewModel.data, "IsOriginalReturn");
1624
+ var boriginReturn = _this2.getBoriginReturn();
1620
1625
  var thePaymodes = newStyle ? (0, _filter3.default)(paymode.thePaymodes, function (m) {
1621
1626
  return !(_this2.checkModeDisabled(m.paymentType, brefund, boriginReturn) && parseFloat(m.value) == 0);
1622
1627
  }) : paymode.thePaymodes;
@@ -1625,7 +1630,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1625
1630
  if (!notsettle && !_this2.checkSettleDisabled(paymode, thePaymodes)) {
1626
1631
  _this2.handleSettle();
1627
1632
  } else if ((thePaymodes || []).length > 0) {
1628
-
1629
1633
  // 根据currentIndex = paymethodeId 获取当前支付方式位置
1630
1634
  var payIndex = -1;
1631
1635
  thePaymodes.forEach(function (paymodes, index) {
@@ -1947,13 +1951,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1947
1951
  if (_this2.hasElectron === false) return;
1948
1952
  var dt = _mutantsMicrofx.localStore.get('portsetting_hardSet') || [];
1949
1953
 
1950
- var _ref16 = dt || {},
1951
- guestshow_enable = _ref16.guestshow_enable,
1952
- guestshow_clear = _ref16.guestshow_clear,
1953
- guestshow_welcome = _ref16.guestshow_welcome,
1954
- guestshow_collect = _ref16.guestshow_collect,
1955
- guestshow_refund = _ref16.guestshow_refund,
1956
- guestshow_change = _ref16.guestshow_change;
1954
+ var _ref14 = dt || {},
1955
+ guestshow_enable = _ref14.guestshow_enable,
1956
+ guestshow_clear = _ref14.guestshow_clear,
1957
+ guestshow_welcome = _ref14.guestshow_welcome,
1958
+ guestshow_collect = _ref14.guestshow_collect,
1959
+ guestshow_refund = _ref14.guestshow_refund,
1960
+ guestshow_change = _ref14.guestshow_change;
1957
1961
 
1958
1962
  var hasSuccess = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('portsetting_hardSet_isSuccess');
1959
1963
  if (!guestshow_enable || !!guestshow_enable && hasSuccess == '0') return;
@@ -1988,9 +1992,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1988
1992
  };
1989
1993
 
1990
1994
  _this2.handleSettle = function () {
1991
- var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee11(args) {
1995
+ var _ref15 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee11(args) {
1992
1996
  var handleUserInputs = function () {
1993
- var _ref19 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee10(promises) {
1997
+ var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee10(promises) {
1994
1998
  var results, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, p, _result;
1995
1999
 
1996
2000
  return _regenerator2.default.wrap(function _callee10$(_context10) {
@@ -2081,7 +2085,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2081
2085
  }));
2082
2086
 
2083
2087
  return function handleUserInputs(_x6) {
2084
- return _ref19.apply(this, arguments);
2088
+ return _ref17.apply(this, arguments);
2085
2089
  };
2086
2090
  }();
2087
2091
 
@@ -2174,7 +2178,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2174
2178
  });
2175
2179
 
2176
2180
  commit = function () {
2177
- var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee9(values) {
2181
+ var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee9(values) {
2178
2182
  var result;
2179
2183
  return _regenerator2.default.wrap(function _callee9$(_context9) {
2180
2184
  while (1) {
@@ -2248,7 +2252,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2248
2252
  }));
2249
2253
 
2250
2254
  return function commit(_x5) {
2251
- return _ref18.apply(this, arguments);
2255
+ return _ref16.apply(this, arguments);
2252
2256
  };
2253
2257
  }();
2254
2258
 
@@ -2263,13 +2267,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2263
2267
  }));
2264
2268
 
2265
2269
  return function (_x4) {
2266
- return _ref17.apply(this, arguments);
2270
+ return _ref15.apply(this, arguments);
2267
2271
  };
2268
2272
  }();
2269
2273
 
2270
2274
  _this2.handleCzk = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee14() {
2271
2275
  var handleUserInputs = function () {
2272
- var _ref23 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(promises) {
2276
+ var _ref20 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(promises) {
2273
2277
  var results, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, p, _result2;
2274
2278
 
2275
2279
  return _regenerator2.default.wrap(function _callee13$(_context13) {
@@ -2366,11 +2370,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2366
2370
  }));
2367
2371
 
2368
2372
  return function handleUserInputs(_x8) {
2369
- return _ref23.apply(this, arguments);
2373
+ return _ref20.apply(this, arguments);
2370
2374
  };
2371
2375
  }();
2372
2376
 
2373
- var that, curmode, promises, _ref21, isNewRetailBCPos, _enumController$getEn22, PayStyle, commit;
2377
+ var that, curmode, promises, _enumController$getEn22, PayStyle, commit;
2374
2378
 
2375
2379
  return _regenerator2.default.wrap(function _callee14$(_context14) {
2376
2380
  while (1) {
@@ -2379,28 +2383,21 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2379
2383
  that = _this2;
2380
2384
  curmode = _this2.store.paymode.currentMode;
2381
2385
  promises = [];
2382
- _ref21 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref21.isNewRetailBCPos;
2383
2386
 
2384
- if (isNewRetailBCPos) {
2385
- if (curmode.value > 0) {
2386
- _enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn22.PayStyle;
2387
+ if (curmode.value > 0) {
2388
+ _enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn22.PayStyle;
2387
2389
 
2388
- if (curmode.paymentType === PayStyle.hyczk) {
2389
- if (curmode.cardTypeEnum === 'BALANCE_CARD') {
2390
- !curmode.freePaymentPasswordStore && promises.push(that.inputPwd(curmode));
2391
- } else {
2392
- curmode.isNeedPassword && promises.push(that.inputPwd(curmode));
2393
- }
2390
+ if (curmode.paymentType === PayStyle.hyczk) {
2391
+ if (curmode.cardTypeEnum === 'BALANCE_CARD') {
2392
+ !curmode.freePaymentPasswordStore && promises.push(that.inputPwd(curmode));
2393
+ } else {
2394
+ curmode.isNeedPassword && promises.push(that.inputPwd(curmode));
2394
2395
  }
2395
2396
  }
2396
- } else {
2397
- if (curmode.member.needPwd && curmode.value > 0) {
2398
- promises.push(that.inputPwd(curmode));
2399
- }
2400
2397
  }
2401
2398
 
2402
2399
  commit = function () {
2403
- var _ref22 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(values) {
2400
+ var _ref19 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(values) {
2404
2401
  var result;
2405
2402
  return _regenerator2.default.wrap(function _callee12$(_context12) {
2406
2403
  while (1) {
@@ -2450,13 +2447,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2450
2447
  }));
2451
2448
 
2452
2449
  return function commit(_x7) {
2453
- return _ref22.apply(this, arguments);
2450
+ return _ref19.apply(this, arguments);
2454
2451
  };
2455
2452
  }();
2456
2453
 
2457
2454
  handleUserInputs(promises);
2458
2455
 
2459
- case 7:
2456
+ case 6:
2460
2457
  case 'end':
2461
2458
  return _context14.stop();
2462
2459
  }
@@ -2501,7 +2498,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2501
2498
  };
2502
2499
 
2503
2500
  _this2.inputPwd = function () {
2504
- var _ref24 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(paymode) {
2501
+ var _ref21 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(paymode) {
2505
2502
  var that, confirmPwd;
2506
2503
  return _regenerator2.default.wrap(function _callee15$(_context15) {
2507
2504
  while (1) {
@@ -2517,8 +2514,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2517
2514
  // if (v !== '') {
2518
2515
  modal.destroy();
2519
2516
 
2520
- var _ref25 = that.state || {},
2521
- confirmPwd = _ref25.confirmPwd;
2517
+ var _ref22 = that.state || {},
2518
+ confirmPwd = _ref22.confirmPwd;
2522
2519
 
2523
2520
  setTimeout(function () {
2524
2521
  paymode.authCode = v;
@@ -2609,8 +2606,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2609
2606
  type: 'primary', size: 'large', onClick: function onClick() {
2610
2607
  var v = (0, _trim3.default)(that['inputAmount']['input']['value']);
2611
2608
 
2612
- var _ref26 = that.state || {},
2613
- confirmPwd = _ref26.confirmPwd;
2609
+ var _ref23 = that.state || {},
2610
+ confirmPwd = _ref23.confirmPwd;
2614
2611
  // if (v !== '') {
2615
2612
 
2616
2613
 
@@ -2651,12 +2648,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2651
2648
  }));
2652
2649
 
2653
2650
  return function (_x9) {
2654
- return _ref24.apply(this, arguments);
2651
+ return _ref21.apply(this, arguments);
2655
2652
  };
2656
2653
  }();
2657
2654
 
2658
2655
  _this2.btnDebounced = function () {
2659
- var _ref27 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee16(type, bquick) {
2656
+ var _ref24 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee16(type, bquick) {
2660
2657
  var IdbusiType, CustomerPhone, DistributionMode, Address, isEnableSerialNumber, resultObj, title, _enumController$getEn23, PayStyle, _this2$store8, paymode, brefund, boriginReturn, newStyle, status;
2661
2658
 
2662
2659
  return _regenerator2.default.wrap(function _callee16$(_context16) {
@@ -2763,14 +2760,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2763
2760
  }));
2764
2761
 
2765
2762
  return function (_x10, _x11) {
2766
- return _ref27.apply(this, arguments);
2763
+ return _ref24.apply(this, arguments);
2767
2764
  };
2768
2765
  }();
2769
2766
 
2770
2767
  _this2.onCzkChange = function (v) {
2771
- // console.log("czk change:"+new Date().toLocaleTimeString())
2772
- var _ref28 = _mutantsUtil.platform || {},
2773
- isNewRetailBCPos = _ref28.isNewRetailBCPos;
2768
+ var _ref25 = _mutantsUtil.platform || {},
2769
+ isNewRetailBCPos = _ref25.isNewRetailBCPos;
2774
2770
 
2775
2771
  if (!isNewRetailBCPos) {
2776
2772
  _this2.store.paymode.currentMode.member.setCardNo(v);
@@ -2781,13 +2777,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2781
2777
  _this2.setState({
2782
2778
  czkValue: v
2783
2779
  });
2784
- // if(this.debounced){
2785
- // this.debounced.cancel();
2786
- // this.debounced=null;
2787
- // // console.log("debounce canceled");
2788
- // }
2789
- // this.debounced=_debounce(()=>{this.loadCzk(v)},2000);
2790
- // this.debounced();
2791
2780
  };
2792
2781
 
2793
2782
  _this2.czkKeyboardOnOk = function (e) {
@@ -2808,7 +2797,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2808
2797
  if (_this2.debounced) {
2809
2798
  _this2.debounced.cancel();
2810
2799
  _this2.debounced = null;
2811
- // console.log("debounce canceled");
2812
2800
  }
2813
2801
  if (!isKeyBorad) {
2814
2802
  _this2.debounced = (0, _debounce3.default)(function () {
@@ -3379,12 +3367,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3379
3367
 
3380
3368
  _this2.hasElectron = hasElectron;
3381
3369
 
3382
- var _ref29 = _mutantsMicrofx.stores.user.options.get('loginInfo') || {},
3383
- MemberMeStorageCardInputByKeyBoard = _ref29.MemberMeStorageCardInputByKeyBoard,
3384
- ICCardServer = _ref29.ICCardServer,
3385
- ICCardPassword = _ref29.ICCardPassword,
3386
- PreSellOrBook = _ref29.PreSellOrBook,
3387
- PercentageWhenBook = _ref29.PercentageWhenBook;
3370
+ var _ref26 = _mutantsMicrofx.stores.user.options.get('loginInfo') || {},
3371
+ MemberMeStorageCardInputByKeyBoard = _ref26.MemberMeStorageCardInputByKeyBoard,
3372
+ ICCardServer = _ref26.ICCardServer,
3373
+ ICCardPassword = _ref26.ICCardPassword,
3374
+ PreSellOrBook = _ref26.PreSellOrBook,
3375
+ PercentageWhenBook = _ref26.PercentageWhenBook;
3388
3376
 
3389
3377
  _this2.isStorageCardInputType = MemberMeStorageCardInputByKeyBoard; // 仅储值卡是否禁用键盘输入,'0'为不禁用 '1'为禁用
3390
3378
  _this2.iCCardServer = parseInt(ICCardServer); // 启用IC卡:0为禁用 1为启用
@@ -3393,9 +3381,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3393
3381
  _this2.percentageWhenBook = PercentageWhenBook;
3394
3382
  //移动端环境下,没有读取IC卡的方式。
3395
3383
 
3396
- var _ref30 = _mutantsUtil.platform || {},
3397
- isHorizontalPad = _ref30.isHorizontalPad,
3398
- isHorizontalSunMi = _ref30.isHorizontalSunMi;
3384
+ var _ref27 = _mutantsUtil.platform || {},
3385
+ isHorizontalPad = _ref27.isHorizontalPad,
3386
+ isHorizontalSunMi = _ref27.isHorizontalSunMi;
3399
3387
 
3400
3388
  _this2.isHorizontalPad = !!isHorizontalPad;
3401
3389
  _this2.isHorizontalSunMi = !!isHorizontalSunMi;
@@ -3432,6 +3420,15 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3432
3420
  }
3433
3421
  }
3434
3422
 
3423
+ //是否退货
3424
+
3425
+
3426
+ //原单退货状态
3427
+
3428
+
3429
+ //非原单退货状态
3430
+
3431
+
3435
3432
  //对结算按钮超出的处理
3436
3433
 
3437
3434
  }, {
@@ -3527,22 +3524,23 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3527
3524
  return true;
3528
3525
  }
3529
3526
 
3530
- /**
3531
- *
3532
- * @param {*} thePaymodes 支付方式列表
3533
- * @param {*} currenIndex 当前支付方式下标
3534
- * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3527
+ /**
3528
+ *
3529
+ * @param {*} thePaymodes 支付方式列表
3530
+ * @param {*} currenIndex 当前支付方式下标
3531
+ * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3535
3532
  */
3536
3533
 
3537
3534
  // 处理客显显示功能
3538
3535
 
3536
+
3539
3537
  //that[`inputS${paymode.paymethodId}`]
3540
3538
 
3541
3539
  }, {
3542
3540
  key: 'isNoProductTip',
3543
3541
  value: function isNoProductTip(nonProductMap) {
3544
- var _ref31 = this.context.viewModel.data || {},
3545
- RetailDetails = _ref31.RetailDetails;
3542
+ var _ref28 = this.context.viewModel.data || {},
3543
+ RetailDetails = _ref28.RetailDetails;
3546
3544
 
3547
3545
  var temphtml = [];
3548
3546
  if ((0, _keys2.default)(nonProductMap).length > 0) {
@@ -3729,10 +3727,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3729
3727
  newPassConfirm = _state2.newPassConfirm,
3730
3728
  newPass = _state2.newPass,
3731
3729
  isNotAutoFocus = _state2.isNotAutoFocus;
3732
-
3733
- var _ref32 = _mutantsUtil.platform || {},
3734
- isNewRetailBCPos = _ref32.isNewRetailBCPos;
3735
-
3736
3730
  var _store2 = this.store,
3737
3731
  paymode = _store2.paymode,
3738
3732
  brefund = _store2.brefund,
@@ -3748,7 +3742,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3748
3742
  noIsMinAmount = _props.noIsMinAmount;
3749
3743
  // 原单退货
3750
3744
 
3751
- var boriginReturn = this.context && this.context.viewModel && this.context.viewModel.data && JSON.getCellValue(this.context.viewModel.data, "IsOriginalReturn");
3745
+ var boriginReturn = this.getBoriginReturn();
3752
3746
  var totalTaxAmount = this.context && this.context.viewModel && this.context.viewModel.data && this.context.viewModel.data.TotalTaxAmount;
3753
3747
 
3754
3748
  //收订金
@@ -3817,11 +3811,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3817
3811
  quantity4 = 0;
3818
3812
  var sumQuantity = 0; //数量总和的值,包括称重的。
3819
3813
 
3820
- var _ref33 = quantityDetail || {},
3821
- _ref33$buyQuantity = _ref33.buyQuantity,
3822
- buyQuantity = _ref33$buyQuantity === undefined ? 0 : _ref33$buyQuantity,
3823
- _ref33$returnQuantity = _ref33.returnQuantity,
3824
- returnQuantity = _ref33$returnQuantity === undefined ? 0 : _ref33$returnQuantity;
3814
+ var _ref29 = quantityDetail || {},
3815
+ _ref29$buyQuantity = _ref29.buyQuantity,
3816
+ buyQuantity = _ref29$buyQuantity === undefined ? 0 : _ref29$buyQuantity,
3817
+ _ref29$returnQuantity = _ref29.returnQuantity,
3818
+ returnQuantity = _ref29$returnQuantity === undefined ? 0 : _ref29$returnQuantity;
3825
3819
 
3826
3820
  var quantityPrecision = (0, _tplusPoslogin.PosInitData)("QuantityPrecision");
3827
3821
  quantityPrecision = quantityPrecision ? parseInt(quantityPrecision) : '';
@@ -4706,7 +4700,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4706
4700
  return _this8.czkInput = input;
4707
4701
  },
4708
4702
  onKeyDown: function () {
4709
- var _ref34 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee17(e) {
4703
+ var _ref30 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee17(e) {
4710
4704
  var time, _paymode;
4711
4705
 
4712
4706
  return _regenerator2.default.wrap(function _callee17$(_context17) {
@@ -4762,7 +4756,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4762
4756
  }));
4763
4757
 
4764
4758
  return function (_x13) {
4765
- return _ref34.apply(this, arguments);
4759
+ return _ref30.apply(this, arguments);
4766
4760
  };
4767
4761
  }(),
4768
4762
  onFocus: function onFocus(e) {
@@ -4819,8 +4813,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4819
4813
  _this8.setCurrentModeValue(event.target.value, Math.min(currentMode.maxamount, currentMode.balance));
4820
4814
  },
4821
4815
  defaultValue: currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.balance)),
4822
- ref: function ref(_ref35) {
4823
- return _this8["inputCzkAmount"] = _ref35;
4816
+ ref: function ref(_ref31) {
4817
+ return _this8["inputCzkAmount"] = _ref31;
4824
4818
  },
4825
4819
  onFocus: function onFocus(e) {
4826
4820
  _this8.inputkey = "inputCzkAmount";
@@ -5490,8 +5484,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5490
5484
  _this8.setCurrentModeValue(e.target.value, Math.min(currentMode.maxamount, currentMode.member.exchangable));
5491
5485
  },
5492
5486
  defaultValue: currentMode && currentMode.member && (0, _utils.getFixedNumber)(Math.min(currentMode.value, currentMode.maxamount, currentMode.member.exchangable)),
5493
- ref: function ref(_ref36) {
5494
- return _this8["inputJfdxAmount"] = _ref36;
5487
+ ref: function ref(_ref32) {
5488
+ return _this8["inputJfdxAmount"] = _ref32;
5495
5489
  },
5496
5490
  onFocus: function onFocus(e) {
5497
5491
  _this8.inputkey = "inputJfdxAmount";