tplus-components-touch 3.26.21 → 3.26.25

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 (189) 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 +7 -7
  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 +6 -6
  23. package/dist/components/billSearch/index.js.map +1 -1
  24. package/dist/components/billSearch/index.less +373 -373
  25. package/dist/components/cloudPrint/BTPrintFormatUtil.js +17 -17
  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.map +1 -1
  29. package/dist/components/cloudPrint/printDispatch.js +7 -7
  30. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  31. package/dist/components/commonForm/addressPicker/index.js +7 -7
  32. package/dist/components/commonForm/addressPicker/index.js.map +1 -1
  33. package/dist/components/commonForm/addressPicker/style.less +10 -10
  34. package/dist/components/commonForm/autoComplete/index.js.map +1 -1
  35. package/dist/components/commonForm/autoComplete/style.less +2 -2
  36. package/dist/components/commonForm/datePicker/index.js.map +1 -1
  37. package/dist/components/commonForm/datePicker/style.less +4 -4
  38. package/dist/components/commonForm/formControl/index.js.map +1 -1
  39. package/dist/components/commonForm/index.js +4 -4
  40. package/dist/components/commonForm/index.js.map +1 -1
  41. package/dist/components/commonForm/inputNumber/index.js.map +1 -1
  42. package/dist/components/commonForm/inputNumber/style.less +10 -10
  43. package/dist/components/commonForm/radio/index.js.map +1 -1
  44. package/dist/components/commonForm/style.less +1 -1
  45. package/dist/components/deliverySearch/api.js +21 -21
  46. package/dist/components/deliverySearch/api.js.map +1 -1
  47. package/dist/components/deliverySearch/index.js +6 -6
  48. package/dist/components/deliverySearch/index.js.map +1 -1
  49. package/dist/components/deliverySearch/index.less +553 -553
  50. package/dist/components/form/index.js.map +1 -1
  51. package/dist/components/hardwareAPI/index.js.map +1 -1
  52. package/dist/components/hotKey/config.js +23 -23
  53. package/dist/components/hotKey/config.js.map +1 -1
  54. package/dist/components/hotKey/hotKeyModal.js.map +1 -1
  55. package/dist/components/hotKey/index.js +26 -26
  56. package/dist/components/hotKey/index.js.map +1 -1
  57. package/dist/components/hotKey/localConfig.js.map +1 -1
  58. package/dist/components/hotKey/style.less +96 -96
  59. package/dist/components/hotKey/utils.js.map +1 -1
  60. package/dist/components/input/index.js +6 -6
  61. package/dist/components/input/index.js.map +1 -1
  62. package/dist/components/input/scanInput.js.map +1 -1
  63. package/dist/components/input/scanInput.less +27 -27
  64. package/dist/components/input/style.less +99 -99
  65. package/dist/components/input/tplusInput/index.js +30 -30
  66. package/dist/components/input/tplusInput/index.js.map +1 -1
  67. package/dist/components/input/tplusInput/inputContent.js.map +1 -1
  68. package/dist/components/input/tplusInput/inputs.js.map +1 -1
  69. package/dist/components/input/tplusInput/style.less +132 -132
  70. package/dist/components/input/utils/index.js.map +1 -1
  71. package/dist/components/inventorySearch/api.js +58 -58
  72. package/dist/components/inventorySearch/api.js.map +1 -1
  73. package/dist/components/inventorySearch/index.js +3 -3
  74. package/dist/components/inventorySearch/index.js.map +1 -1
  75. package/dist/components/inventorySearch/index.less +119 -119
  76. package/dist/components/inventorySearch/store.js.map +1 -1
  77. package/dist/components/inventorySearch/tab.js.map +1 -1
  78. package/dist/components/keyboard/index.js.map +1 -1
  79. package/dist/components/keyboard/index.less +469 -469
  80. package/dist/components/keyboard/letterKeyboard.js +2 -2
  81. package/dist/components/keyboard/letterKeyboard.js.map +1 -1
  82. package/dist/components/keyboard/numKeyboard.js +4 -4
  83. package/dist/components/keyboard/numKeyboard.js.map +1 -1
  84. package/dist/components/keyboard/numKeyboardScan.js.map +1 -1
  85. package/dist/components/keyboard/numberButton_input.js +5 -5
  86. package/dist/components/keyboard/numberButton_input.js.map +1 -1
  87. package/dist/components/keyboard/numkeyboardPassword.js +4 -4
  88. package/dist/components/keyboard/numkeyboardPassword.js.map +1 -1
  89. package/dist/components/keyboard/onlyKeyboard.js +7 -7
  90. package/dist/components/keyboard/onlyKeyboard.js.map +1 -1
  91. package/dist/components/keyboard/onlyLetterButton.js +2 -2
  92. package/dist/components/keyboard/onlyLetterButton.js.map +1 -1
  93. package/dist/components/keyboard/onlyLetterButton2.js +2 -2
  94. package/dist/components/keyboard/onlyLetterButton2.js.map +1 -1
  95. package/dist/components/keyboard/onlyLetterButton2.less +161 -161
  96. package/dist/components/keyboard/onlyNumberButton.js +2 -2
  97. package/dist/components/keyboard/onlyNumberButton.js.map +1 -1
  98. package/dist/components/keyboard/onlyNumberButton2.js +3 -3
  99. package/dist/components/keyboard/onlyNumberButton2.js.map +1 -1
  100. package/dist/components/keyboard/textKeyboard.js.map +1 -1
  101. package/dist/components/layout/hamburger.js.map +1 -1
  102. package/dist/components/layout/index.js +10 -10
  103. package/dist/components/layout/index.js.map +1 -1
  104. package/dist/components/layout/layout.js.map +1 -1
  105. package/dist/components/layout/sider.js +12 -12
  106. package/dist/components/layout/sider.js.map +1 -1
  107. package/dist/components/layout/style.less +82 -82
  108. package/dist/components/loading/index.js +15 -15
  109. package/dist/components/loading/index.js.map +1 -1
  110. package/dist/components/loading/loadingContent.js.map +1 -1
  111. package/dist/components/loading/style.less +72 -72
  112. package/dist/components/loading/utils.js.map +1 -1
  113. package/dist/components/message/index.js +8 -8
  114. package/dist/components/message/index.js.map +1 -1
  115. package/dist/components/message/index.less +101 -101
  116. package/dist/components/modal/index.js.map +1 -1
  117. package/dist/components/modal/index.less +19 -19
  118. package/dist/components/modalVertical/index.js +7 -7
  119. package/dist/components/modalVertical/index.js.map +1 -1
  120. package/dist/components/modalVertical/style.less +60 -60
  121. package/dist/components/modalWraper/index.js +15 -15
  122. package/dist/components/modalWraper/index.js.map +1 -1
  123. package/dist/components/modalWraper/style.less +257 -257
  124. package/dist/components/modalWraper/utils.js.map +1 -1
  125. package/dist/components/notification/index.js +4 -4
  126. package/dist/components/notification/index.js.map +1 -1
  127. package/dist/components/notification/index.less +51 -51
  128. package/dist/components/overflowTip/index.js +15 -15
  129. package/dist/components/overflowTip/index.js.map +1 -1
  130. package/dist/components/overflowTip/style.less +66 -66
  131. package/dist/components/page/index.js.map +1 -1
  132. package/dist/components/page/index.less +21 -21
  133. package/dist/components/product/detail.js +7 -7
  134. package/dist/components/product/detail.js.map +1 -1
  135. package/dist/components/product/getCard.js +5 -5
  136. package/dist/components/product/getCard.js.map +1 -1
  137. package/dist/components/product/index.less +128 -128
  138. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  139. package/dist/components/progressState/ProgressState.js +10 -10
  140. package/dist/components/progressState/ProgressState.js.map +1 -1
  141. package/dist/components/progressState/index.js.map +1 -1
  142. package/dist/components/progressState/style.less +65 -65
  143. package/dist/components/scan/index.js.map +1 -1
  144. package/dist/components/scan/index.less +33 -33
  145. package/dist/components/select/index.js.map +1 -1
  146. package/dist/components/select/index.less +11 -11
  147. package/dist/components/settlement/asyncModal.js.map +1 -1
  148. package/dist/components/settlement/index.js.map +1 -1
  149. package/dist/components/settlement/moreCzkTable/index.js +156 -0
  150. package/dist/components/settlement/moreCzkTable/index.js.map +1 -0
  151. package/dist/components/settlement/moreCzkTable/style.less +0 -0
  152. package/dist/components/settlement/prototypeTable/index.js.map +1 -1
  153. package/dist/components/settlement/prototypeTable/style.less +58 -58
  154. package/dist/components/settlement/prototypeTable/utils.js.map +1 -1
  155. package/dist/components/settlement/settlement.js +172 -61
  156. package/dist/components/settlement/settlement.js.map +1 -1
  157. package/dist/components/settlement/settlement.less +1655 -1646
  158. package/dist/components/settlement/settlementStore.js +59 -43
  159. package/dist/components/settlement/settlementStore.js.map +1 -1
  160. package/dist/components/settlement/utils.js.map +1 -1
  161. package/dist/components/socket/index.js +11 -11
  162. package/dist/components/socket/index.js.map +1 -1
  163. package/dist/components/spin/index.js +6 -6
  164. package/dist/components/spin/index.js.map +1 -1
  165. package/dist/components/spin/spin-style.less +436 -436
  166. package/dist/components/test/index.js +3 -3
  167. package/dist/components/test/index.js.map +1 -1
  168. package/dist/components/ticon/iconfont/demo_index.html +5248 -5248
  169. package/dist/components/ticon/iconfont/iconfont.css +895 -895
  170. package/dist/components/ticon/iconfont/iconfont.json +1549 -1549
  171. package/dist/components/ticon/iconfont/iconfont.svg +593 -593
  172. package/dist/components/ticon/index.js.map +1 -1
  173. package/dist/components/touchScroll/index.js +9 -9
  174. package/dist/components/touchScroll/index.js.map +1 -1
  175. package/dist/components/touchTable/AuthProcess.js.map +1 -1
  176. package/dist/components/touchTable/generateWater.js.map +1 -1
  177. package/dist/components/touchTable/index.js +9 -9
  178. package/dist/components/touchTable/index.js.map +1 -1
  179. package/dist/components/touchTable/index.less +369 -369
  180. package/dist/components/touchTable/utils.js.map +1 -1
  181. package/dist/demo/PopOverDemo.js.map +1 -1
  182. package/dist/index.js +7 -7
  183. package/dist/index.js.map +1 -1
  184. package/dist/util/tools.js.map +1 -1
  185. package/locales/zh/tplus-components-touch.json +1 -1
  186. package/locales/zh-CN/tplus-components-touch.json +1 -1
  187. package/mocks/memberInfo.json +79 -79
  188. package/package.json +35 -35
  189. package/tsconfig.json +26 -26
@@ -208,6 +208,10 @@ var _index2 = require('./prototypeTable/index');
208
208
 
209
209
  var _index3 = _interopRequireDefault(_index2);
210
210
 
211
+ var _moreCzkTable = require('./moreCzkTable');
212
+
213
+ var _moreCzkTable2 = _interopRequireDefault(_moreCzkTable);
214
+
211
215
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
212
216
 
213
217
  var hasElectron = _mutantsMicrofx.env.platform === _mutantsMicrofx.env.constant.platform.electron;
@@ -228,6 +232,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
228
232
  czkVisible: false,
229
233
  djqVisible: false,
230
234
  jfdxVisible: false,
235
+ moreCzkVisible: false,
231
236
  showSetPwdModal: false,
232
237
  prototypeVisible: false, // 优惠明细弹出框
233
238
  currentIndex: 0,
@@ -246,6 +251,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
246
251
  protytypeCount: null,
247
252
  isPrototypeClick: false,
248
253
  dataSource: [],
254
+ memberdata1: [],
249
255
  discountTotalAmount: null,
250
256
  discountRetailTotalAount: null,
251
257
  discountPrototypeTotalAmount: null,
@@ -254,7 +260,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
254
260
  couponLight: true,
255
261
  storageValue: '0.00',
256
262
  czkValue: null,
257
- isInputMember: false };
263
+ isInputMember: false,
264
+ selectedRowIndex: 0 };
258
265
  _this2.compoundHotkeysList = (window.$.operationControl[5] ? window.$.operationControl[5].control || [] : []).map(function (key) {
259
266
  return key.toLocaleUpperCase();
260
267
  });
@@ -554,9 +561,55 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
554
561
  });
555
562
  };
556
563
 
564
+ _this2.handleCzkMoreData = function (params) {
565
+ _this2._val = _this2.store.paymode.currentMode.value;
566
+ var currentMode = _this2.store.paymode.currentMode;
567
+
568
+ var maxamount = Math.min(currentMode.maxamount, currentMode.balance);
569
+ if (_this2.store.bquick && currentMode.storageCardNo && parseFloat(_this2.store.paymode.amount) > parseFloat(maxamount)) {
570
+ _message2.default.error("本单最大可用储值卡结算金额为:" + (0, _utils.getFixedNumber)(maxamount) + ",请使用复合结算!", {
571
+ duration: 4
572
+ });
573
+ } else {
574
+ if (params) {
575
+ _this2.setState({
576
+ czkVisible: true
577
+ });
578
+ }
579
+ var brefund = _this2.store.brefund;
580
+
581
+ var value11 = currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.balance));
582
+ _this2.setState({
583
+ storageValue: value11
584
+ });
585
+ if (currentMode.storageCardNo) {
586
+ _this2.setState({
587
+ czkValue: currentMode.storageCardNo
588
+ });
589
+ } else {
590
+ _this2.setState({
591
+ czkValue: null
592
+ });
593
+ }
594
+ }
595
+ if (params) {
596
+ setTimeout(function () {
597
+ if (!currentMode.storageCardNo) {
598
+ _this2.czkInput && _this2.czkInput.input.focus();
599
+ } else {
600
+ if (_this2.inputCzkAmount && _this2.inputCzkAmount.input) {
601
+ _this2.inputCzkAmount.input.focus();
602
+ _this2.inputCzkAmount.input.setSelectionRange(0, _this2.inputCzkAmount.input.value.length);
603
+ }
604
+ }
605
+ }, 500);
606
+ _this2.connectRfCard();
607
+ }
608
+ };
609
+
557
610
  _this2.showCzkModal = function () {
558
- var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(id, append, params) {
559
- var _enumController$getEn2, PayStyle, _ref2, isInputMember, currentMode, maxamount, brefund, value11;
611
+ var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(id, append) {
612
+ var _enumController$getEn2, PayStyle, _ref2, isInputMember, memberdata1;
560
613
 
561
614
  return _regenerator2.default.wrap(function _callee$(_context) {
562
615
  while (1) {
@@ -569,7 +622,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
569
622
  _context.t0 = isInputMember && _this2.store.paymode.currentMode.memberId;
570
623
 
571
624
  if (!_context.t0) {
572
- _context.next = 7;
625
+ _context.next = 8;
573
626
  break;
574
627
  }
575
628
 
@@ -577,47 +630,29 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
577
630
  return _this2.store.updateCurrentMode(_this2.store.paymode.currentMode.memberId);
578
631
 
579
632
  case 7:
580
- _this2._val = _this2.store.paymode.currentMode.value;
581
- currentMode = _this2.store.paymode.currentMode;
582
- maxamount = Math.min(currentMode.maxamount, currentMode.balance);
633
+ _context.t0 = _context.sent;
634
+
635
+ case 8:
636
+ memberdata1 = _context.t0;
583
637
 
584
- if (_this2.store.bquick && currentMode.storageCardNo && parseFloat(_this2.store.paymode.amount) > parseFloat(maxamount)) {
585
- _message2.default.error("本单最大可用储值卡结算金额为:" + (0, _utils.getFixedNumber)(maxamount) + ",请使用复合结算!", {
586
- duration: 4
638
+ if (memberdata1 && memberdata1.length === 1) {
639
+ _this2.handleCzkMoreData(true);
640
+ } else if (memberdata1 && memberdata1.length >= 1) {
641
+ _this2.setState({
642
+ czkVisible: true,
643
+ moreCzkVisible: true,
644
+ memberdata1: memberdata1
587
645
  });
588
646
  } else {
589
647
  _this2.setState({
590
648
  czkVisible: true
591
649
  });
592
- brefund = _this2.store.brefund;
593
- value11 = currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.balance));
594
-
595
- _this2.setState({
596
- storageValue: value11
597
- });
598
- if (currentMode.storageCardNo) {
599
- _this2.setState({
600
- czkValue: currentMode.storageCardNo
601
- });
602
- } else {
603
- _this2.setState({
604
- czkValue: null
605
- });
606
- }
607
- }
608
- setTimeout(function () {
609
- if (!currentMode.storageCardNo) {
650
+ setTimeout(function () {
610
651
  _this2.czkInput && _this2.czkInput.input.focus();
611
- } else {
612
- if (_this2.inputCzkAmount && _this2.inputCzkAmount.input) {
613
- _this2.inputCzkAmount.input.focus();
614
- _this2.inputCzkAmount.input.setSelectionRange(0, _this2.inputCzkAmount.input.value.length);
615
- }
616
- }
617
- }, 500);
618
- _this2.connectRfCard();
652
+ }, 300);
653
+ }
619
654
 
620
- case 13:
655
+ case 10:
621
656
  case 'end':
622
657
  return _context.stop();
623
658
  }
@@ -625,11 +660,41 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
625
660
  }, _callee, _this3);
626
661
  }));
627
662
 
628
- return function (_x, _x2, _x3) {
663
+ return function (_x, _x2) {
629
664
  return _ref.apply(this, arguments);
630
665
  };
631
666
  }();
632
667
 
668
+ _this2.handleMoreCzkCancel = function () {
669
+ _this2.setState({
670
+ moreCzkVisible: false,
671
+ selectedRowIndex: 0
672
+ });
673
+ setTimeout(function () {
674
+ _this2.czkInput && _this2.czkInput.input.focus();
675
+ }, 300);
676
+ };
677
+
678
+ _this2.setMoreCzkIndex = function (index) {
679
+ _this2.setState({
680
+ selectedRowIndex: index
681
+ });
682
+ };
683
+
684
+ _this2.handleMoreCzkOk = function () {
685
+ var _this2$state = _this2.state,
686
+ memberdata1 = _this2$state.memberdata1,
687
+ selectedRowIndex = _this2$state.selectedRowIndex;
688
+
689
+ _this2.store.paymode.updateCardInfo(memberdata1[selectedRowIndex]);
690
+ _this2.handleCzkMoreData();
691
+ _this2.store.handleCzkData(memberdata1[selectedRowIndex]);
692
+ _this2.setState({
693
+ moreCzkVisible: false,
694
+ selectedRowIndex: 0
695
+ });
696
+ };
697
+
633
698
  _this2.handleCzkData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
634
699
  var _enumController$getEn3, PayStyle;
635
700
 
@@ -728,7 +793,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
728
793
  }, _callee3, _this3);
729
794
  }));
730
795
 
731
- return function (_x4) {
796
+ return function (_x3) {
732
797
  return _ref4.apply(this, arguments);
733
798
  };
734
799
  }();
@@ -755,13 +820,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
755
820
  };
756
821
 
757
822
  _this2.handleSetModal = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
758
- var _this2$state, newPass, newPassConfirm, isInputMember, updataMemberInfo, result, cardTypeEnum, resp;
823
+ var _this2$state2, newPass, newPassConfirm, isInputMember, updataMemberInfo, result, cardTypeEnum, resp;
759
824
 
760
825
  return _regenerator2.default.wrap(function _callee4$(_context4) {
761
826
  while (1) {
762
827
  switch (_context4.prev = _context4.next) {
763
828
  case 0:
764
- _this2$state = _this2.state, newPass = _this2$state.newPass, newPassConfirm = _this2$state.newPassConfirm, isInputMember = _this2$state.isInputMember;
829
+ _this2$state2 = _this2.state, newPass = _this2$state2.newPass, newPassConfirm = _this2$state2.newPassConfirm, isInputMember = _this2$state2.isInputMember;
765
830
  updataMemberInfo = _this2.props.updataMemberInfo;
766
831
  _context4.next = 4;
767
832
  return _this2.store.queryPwd(newPass, newPassConfirm);
@@ -1398,7 +1463,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1398
1463
  return;
1399
1464
  }
1400
1465
  _this2.czkdebounced = (0, _debounce3.default)((0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5() {
1401
- var _this2$store$paymode$2, cardTypeEnum, walletEnabled;
1466
+ var memberdata1, _this2$store$paymode$2, cardTypeEnum, walletEnabled;
1402
1467
 
1403
1468
  return _regenerator2.default.wrap(function _callee5$(_context5) {
1404
1469
  while (1) {
@@ -1408,11 +1473,21 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1408
1473
  return _this2.store.loadCzk(v);
1409
1474
 
1410
1475
  case 2:
1411
- _this2$store$paymode$2 = _this2.store.paymode.currentMode, cardTypeEnum = _this2$store$paymode$2.cardTypeEnum, walletEnabled = _this2$store$paymode$2.walletEnabled;
1476
+ memberdata1 = _context5.sent;
1477
+
1478
+ if (memberdata1 && memberdata1.length === 1) {
1479
+ _this2$store$paymode$2 = _this2.store.paymode.currentMode, cardTypeEnum = _this2$store$paymode$2.cardTypeEnum, walletEnabled = _this2$store$paymode$2.walletEnabled;
1412
1480
 
1413
- if (_this2.store.paymode.currentMode.storageCardNo) {
1481
+ if (_this2.store.paymode.currentMode.storageCardNo) {
1482
+ _this2.setState({
1483
+ czkValue: _this2.store.paymode.currentMode.storageCardNo
1484
+ });
1485
+ }
1486
+ } else if (memberdata1 && memberdata1.length >= 1) {
1414
1487
  _this2.setState({
1415
- czkValue: _this2.store.paymode.currentMode.storageCardNo
1488
+ czkVisible: true,
1489
+ moreCzkVisible: true,
1490
+ memberdata1: memberdata1
1416
1491
  });
1417
1492
  }
1418
1493
 
@@ -1975,7 +2050,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1975
2050
  }, _callee10, this, [[1, 35], [5, 18, 22, 30], [23,, 25, 29]]);
1976
2051
  }));
1977
2052
 
1978
- return function handleUserInputs(_x7) {
2053
+ return function handleUserInputs(_x6) {
1979
2054
  return _ref19.apply(this, arguments);
1980
2055
  };
1981
2056
  }();
@@ -2152,7 +2227,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2152
2227
  }, _callee9, _this3);
2153
2228
  }));
2154
2229
 
2155
- return function commit(_x6) {
2230
+ return function commit(_x5) {
2156
2231
  return _ref18.apply(this, arguments);
2157
2232
  };
2158
2233
  }();
@@ -2167,7 +2242,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2167
2242
  }, _callee11, _this3);
2168
2243
  }));
2169
2244
 
2170
- return function (_x5) {
2245
+ return function (_x4) {
2171
2246
  return _ref17.apply(this, arguments);
2172
2247
  };
2173
2248
  }();
@@ -2270,7 +2345,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2270
2345
  }, _callee13, this, [[1, 34], [5, 18, 22, 30], [23,, 25, 29]]);
2271
2346
  }));
2272
2347
 
2273
- return function handleUserInputs(_x9) {
2348
+ return function handleUserInputs(_x8) {
2274
2349
  return _ref23.apply(this, arguments);
2275
2350
  };
2276
2351
  }();
@@ -2358,7 +2433,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2358
2433
  }, _callee12, _this3);
2359
2434
  }));
2360
2435
 
2361
- return function commit(_x8) {
2436
+ return function commit(_x7) {
2362
2437
  return _ref22.apply(this, arguments);
2363
2438
  };
2364
2439
  }();
@@ -2558,7 +2633,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2558
2633
  }, _callee15, _this3);
2559
2634
  }));
2560
2635
 
2561
- return function (_x10) {
2636
+ return function (_x9) {
2562
2637
  return _ref24.apply(this, arguments);
2563
2638
  };
2564
2639
  }();
@@ -3166,9 +3241,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3166
3241
  isPrototypeClick: false
3167
3242
  });
3168
3243
  var that = _this2;
3169
- var _this2$state2 = _this2.state,
3170
- bquick = _this2$state2.bquick,
3171
- isPrototypeClick = _this2$state2.isPrototypeClick;
3244
+ var _this2$state3 = _this2.state,
3245
+ bquick = _this2$state3.bquick,
3246
+ isPrototypeClick = _this2$state3.isPrototypeClick;
3172
3247
 
3173
3248
  if (!isPrototypeClick) {
3174
3249
  if (bquick) {
@@ -3322,11 +3397,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3322
3397
  //jfdx
3323
3398
 
3324
3399
 
3325
- /**
3326
- *
3327
- * @param {*} thePaymodes 支付方式列表
3328
- * @param {*} currenIndex 当前支付方式下标
3329
- * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3400
+ /**
3401
+ *
3402
+ * @param {*} thePaymodes 支付方式列表
3403
+ * @param {*} currenIndex 当前支付方式下标
3404
+ * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3330
3405
  */
3331
3406
 
3332
3407
  // 处理客显显示功能
@@ -4839,7 +4914,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4839
4914
  null,
4840
4915
  _react2.default.createElement(_input2.default, {
4841
4916
  type: 'text',
4842
- placeholder: '\u8BF7\u626B\u63CF\u6216\u8F93\u5165\u50A8\u503C\u5361',
4917
+ placeholder: '\u8BF7\u626B\u63CF\u6216\u8F93\u5165\u624B\u673A\u53F7/\u50A8\u503C\u5361\u53F7',
4843
4918
  className: 'input ' + (this.hasElectron === true && this.iCCardServer === 1 || this.isHorizontalPad === true ? 'temp' : ''),
4844
4919
  onChange: function onChange(e) {
4845
4920
  return _this8.onCzkChange(e.target.value);
@@ -4905,7 +4980,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4905
4980
  }, _callee16, _this8);
4906
4981
  }));
4907
4982
 
4908
- return function (_x12) {
4983
+ return function (_x11) {
4909
4984
  return _ref32.apply(this, arguments);
4910
4985
  };
4911
4986
  }(),
@@ -5013,6 +5088,42 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5013
5088
  )
5014
5089
  )
5015
5090
  ),
5091
+ _react2.default.createElement(
5092
+ _modal2.default,
5093
+ {
5094
+ wrapClassName: _index.hotKey.hotKeyBindClass('5', 'moreCzkModal') + ' ' + (this.isHorizontalPad ? 'extraHeight' : ''),
5095
+ width: '400px',
5096
+ visible: this.state.moreCzkVisible,
5097
+ maskClosable: false,
5098
+ destroyOnClose: true,
5099
+ title: "储值结算",
5100
+ onCancel: this.handleMoreCzkCancel,
5101
+ keyboard: false,
5102
+ centered: !this.isHorizontalPad ? true : false,
5103
+ footer: _react2.default.createElement(
5104
+ 'div',
5105
+ { className: 'action' },
5106
+ _react2.default.createElement(
5107
+ _button2.default,
5108
+ { onClick: this.handleMoreCzkCancel },
5109
+ '\u53D6\u6D88'
5110
+ ),
5111
+ _react2.default.createElement(
5112
+ _button2.default,
5113
+ { type: 'primary', onClick: this.handleMoreCzkOk },
5114
+ '\u786E\u5B9A'
5115
+ )
5116
+ )
5117
+ },
5118
+ _react2.default.createElement(
5119
+ 'div',
5120
+ null,
5121
+ _react2.default.createElement(_moreCzkTable2.default, {
5122
+ setMoreCzkIndex: this.setMoreCzkIndex,
5123
+ selectedRowIndex: this.state.selectedRowIndex,
5124
+ dataSource: this.state.memberdata1 })
5125
+ )
5126
+ ),
5016
5127
  _react2.default.createElement(
5017
5128
  _modal2.default,
5018
5129
  (0, _defineProperty3.default)({