tplus-components-touch 3.26.19 → 3.26.23

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 +164 -62
  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 +88 -40
  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,22 @@ 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;
583
634
 
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
587
- });
588
- } else {
589
- _this2.setState({
590
- czkVisible: true
591
- });
592
- brefund = _this2.store.brefund;
593
- value11 = currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.balance));
635
+ case 8:
636
+ memberdata1 = _context.t0;
594
637
 
638
+ if (memberdata1 && memberdata1.length === 1) {
639
+ _this2.handleCzkMoreData(true);
640
+ } else if (memberdata1 && memberdata1.length >= 1) {
595
641
  _this2.setState({
596
- storageValue: value11
642
+ czkVisible: true,
643
+ moreCzkVisible: true,
644
+ memberdata1: memberdata1
597
645
  });
598
- if (currentMode.storageCardNo) {
599
- _this2.setState({
600
- czkValue: currentMode.storageCardNo
601
- });
602
- } else {
603
- _this2.setState({
604
- czkValue: null
605
- });
606
- }
607
646
  }
608
- setTimeout(function () {
609
- if (!currentMode.storageCardNo) {
610
- _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();
619
647
 
620
- case 13:
648
+ case 10:
621
649
  case 'end':
622
650
  return _context.stop();
623
651
  }
@@ -625,11 +653,39 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
625
653
  }, _callee, _this3);
626
654
  }));
627
655
 
628
- return function (_x, _x2, _x3) {
656
+ return function (_x, _x2) {
629
657
  return _ref.apply(this, arguments);
630
658
  };
631
659
  }();
632
660
 
661
+ _this2.handleMoreCzkCancel = function () {
662
+ _this2.setState({
663
+ moreCzkVisible: false
664
+ });
665
+ setTimeout(function () {
666
+ _this2.czkInput && _this2.czkInput.input.focus();
667
+ }, 300);
668
+ };
669
+
670
+ _this2.setMoreCzkIndex = function (index) {
671
+ _this2.setState({
672
+ selectedRowIndex: index
673
+ });
674
+ };
675
+
676
+ _this2.handleMoreCzkOk = function () {
677
+ var _this2$state = _this2.state,
678
+ memberdata1 = _this2$state.memberdata1,
679
+ selectedRowIndex = _this2$state.selectedRowIndex;
680
+
681
+ _this2.store.paymode.updateCardInfo(memberdata1[selectedRowIndex]);
682
+ _this2.handleCzkMoreData();
683
+ _this2.store.handleCzkData(memberdata1[selectedRowIndex]);
684
+ _this2.setState({
685
+ moreCzkVisible: false
686
+ });
687
+ };
688
+
633
689
  _this2.handleCzkData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
634
690
  var _enumController$getEn3, PayStyle;
635
691
 
@@ -728,7 +784,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
728
784
  }, _callee3, _this3);
729
785
  }));
730
786
 
731
- return function (_x4) {
787
+ return function (_x3) {
732
788
  return _ref4.apply(this, arguments);
733
789
  };
734
790
  }();
@@ -755,13 +811,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
755
811
  };
756
812
 
757
813
  _this2.handleSetModal = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
758
- var _this2$state, newPass, newPassConfirm, isInputMember, updataMemberInfo, result, cardTypeEnum, resp;
814
+ var _this2$state2, newPass, newPassConfirm, isInputMember, updataMemberInfo, result, cardTypeEnum, resp;
759
815
 
760
816
  return _regenerator2.default.wrap(function _callee4$(_context4) {
761
817
  while (1) {
762
818
  switch (_context4.prev = _context4.next) {
763
819
  case 0:
764
- _this2$state = _this2.state, newPass = _this2$state.newPass, newPassConfirm = _this2$state.newPassConfirm, isInputMember = _this2$state.isInputMember;
820
+ _this2$state2 = _this2.state, newPass = _this2$state2.newPass, newPassConfirm = _this2$state2.newPassConfirm, isInputMember = _this2$state2.isInputMember;
765
821
  updataMemberInfo = _this2.props.updataMemberInfo;
766
822
  _context4.next = 4;
767
823
  return _this2.store.queryPwd(newPass, newPassConfirm);
@@ -1398,7 +1454,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1398
1454
  return;
1399
1455
  }
1400
1456
  _this2.czkdebounced = (0, _debounce3.default)((0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5() {
1401
- var _this2$store$paymode$2, cardTypeEnum, walletEnabled;
1457
+ var memberdata1, _this2$store$paymode$2, cardTypeEnum, walletEnabled;
1402
1458
 
1403
1459
  return _regenerator2.default.wrap(function _callee5$(_context5) {
1404
1460
  while (1) {
@@ -1408,11 +1464,21 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1408
1464
  return _this2.store.loadCzk(v);
1409
1465
 
1410
1466
  case 2:
1411
- _this2$store$paymode$2 = _this2.store.paymode.currentMode, cardTypeEnum = _this2$store$paymode$2.cardTypeEnum, walletEnabled = _this2$store$paymode$2.walletEnabled;
1467
+ memberdata1 = _context5.sent;
1468
+
1469
+ if (memberdata1 && memberdata1.length === 1) {
1470
+ _this2$store$paymode$2 = _this2.store.paymode.currentMode, cardTypeEnum = _this2$store$paymode$2.cardTypeEnum, walletEnabled = _this2$store$paymode$2.walletEnabled;
1412
1471
 
1413
- if (_this2.store.paymode.currentMode.storageCardNo) {
1472
+ if (_this2.store.paymode.currentMode.storageCardNo) {
1473
+ _this2.setState({
1474
+ czkValue: _this2.store.paymode.currentMode.storageCardNo
1475
+ });
1476
+ }
1477
+ } else if (memberdata1 && memberdata1.length >= 1) {
1414
1478
  _this2.setState({
1415
- czkValue: _this2.store.paymode.currentMode.storageCardNo
1479
+ czkVisible: true,
1480
+ moreCzkVisible: true,
1481
+ memberdata1: memberdata1
1416
1482
  });
1417
1483
  }
1418
1484
 
@@ -1975,7 +2041,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1975
2041
  }, _callee10, this, [[1, 35], [5, 18, 22, 30], [23,, 25, 29]]);
1976
2042
  }));
1977
2043
 
1978
- return function handleUserInputs(_x7) {
2044
+ return function handleUserInputs(_x6) {
1979
2045
  return _ref19.apply(this, arguments);
1980
2046
  };
1981
2047
  }();
@@ -2152,7 +2218,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2152
2218
  }, _callee9, _this3);
2153
2219
  }));
2154
2220
 
2155
- return function commit(_x6) {
2221
+ return function commit(_x5) {
2156
2222
  return _ref18.apply(this, arguments);
2157
2223
  };
2158
2224
  }();
@@ -2167,7 +2233,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2167
2233
  }, _callee11, _this3);
2168
2234
  }));
2169
2235
 
2170
- return function (_x5) {
2236
+ return function (_x4) {
2171
2237
  return _ref17.apply(this, arguments);
2172
2238
  };
2173
2239
  }();
@@ -2270,7 +2336,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2270
2336
  }, _callee13, this, [[1, 34], [5, 18, 22, 30], [23,, 25, 29]]);
2271
2337
  }));
2272
2338
 
2273
- return function handleUserInputs(_x9) {
2339
+ return function handleUserInputs(_x8) {
2274
2340
  return _ref23.apply(this, arguments);
2275
2341
  };
2276
2342
  }();
@@ -2358,7 +2424,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2358
2424
  }, _callee12, _this3);
2359
2425
  }));
2360
2426
 
2361
- return function commit(_x8) {
2427
+ return function commit(_x7) {
2362
2428
  return _ref22.apply(this, arguments);
2363
2429
  };
2364
2430
  }();
@@ -2558,7 +2624,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2558
2624
  }, _callee15, _this3);
2559
2625
  }));
2560
2626
 
2561
- return function (_x10) {
2627
+ return function (_x9) {
2562
2628
  return _ref24.apply(this, arguments);
2563
2629
  };
2564
2630
  }();
@@ -3166,9 +3232,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3166
3232
  isPrototypeClick: false
3167
3233
  });
3168
3234
  var that = _this2;
3169
- var _this2$state2 = _this2.state,
3170
- bquick = _this2$state2.bquick,
3171
- isPrototypeClick = _this2$state2.isPrototypeClick;
3235
+ var _this2$state3 = _this2.state,
3236
+ bquick = _this2$state3.bquick,
3237
+ isPrototypeClick = _this2$state3.isPrototypeClick;
3172
3238
 
3173
3239
  if (!isPrototypeClick) {
3174
3240
  if (bquick) {
@@ -3322,11 +3388,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3322
3388
  //jfdx
3323
3389
 
3324
3390
 
3325
- /**
3326
- *
3327
- * @param {*} thePaymodes 支付方式列表
3328
- * @param {*} currenIndex 当前支付方式下标
3329
- * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3391
+ /**
3392
+ *
3393
+ * @param {*} thePaymodes 支付方式列表
3394
+ * @param {*} currenIndex 当前支付方式下标
3395
+ * @param {*} symbol 从当前currenIndex开始 还是从当前currenIndex截止
3330
3396
  */
3331
3397
 
3332
3398
  // 处理客显显示功能
@@ -4905,7 +4971,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4905
4971
  }, _callee16, _this8);
4906
4972
  }));
4907
4973
 
4908
- return function (_x12) {
4974
+ return function (_x11) {
4909
4975
  return _ref32.apply(this, arguments);
4910
4976
  };
4911
4977
  }(),
@@ -5013,6 +5079,42 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5013
5079
  )
5014
5080
  )
5015
5081
  ),
5082
+ _react2.default.createElement(
5083
+ _modal2.default,
5084
+ {
5085
+ wrapClassName: 'moreCzkModal ' + (this.isHorizontalPad ? 'extraHeight' : ''),
5086
+ width: '400px',
5087
+ visible: this.state.moreCzkVisible,
5088
+ maskClosable: false,
5089
+ destroyOnClose: true,
5090
+ title: "储值结算",
5091
+ onCancel: this.handleMoreCzkCancel,
5092
+ keyboard: false,
5093
+ centered: !this.isHorizontalPad ? true : false,
5094
+ footer: _react2.default.createElement(
5095
+ 'div',
5096
+ { className: 'action' },
5097
+ _react2.default.createElement(
5098
+ _button2.default,
5099
+ { onClick: this.handleMoreCzkCancel },
5100
+ '\u53D6\u6D88'
5101
+ ),
5102
+ _react2.default.createElement(
5103
+ _button2.default,
5104
+ { type: 'primary', onClick: this.handleMoreCzkOk },
5105
+ '\u786E\u5B9A'
5106
+ )
5107
+ )
5108
+ },
5109
+ _react2.default.createElement(
5110
+ 'div',
5111
+ null,
5112
+ _react2.default.createElement(_moreCzkTable2.default, {
5113
+ setMoreCzkIndex: this.setMoreCzkIndex,
5114
+ selectedRowIndex: this.state.selectedRowIndex,
5115
+ dataSource: this.state.memberdata1 })
5116
+ )
5117
+ ),
5016
5118
  _react2.default.createElement(
5017
5119
  _modal2.default,
5018
5120
  (0, _defineProperty3.default)({