tplus-components-touch 3.27.42 → 3.27.44

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 (196) 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 +45 -23
  18. package/dist/components/autoCompleteWithKeyboard/index.js.map +1 -1
  19. package/dist/components/autoCompleteWithKeyboard/index.less +18 -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 +19 -6
  23. package/dist/components/billSearch/index.js.map +1 -1
  24. package/dist/components/billSearch/index.less +384 -376
  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 +35 -16
  35. package/dist/components/commonForm/autoComplete/index.js.map +1 -1
  36. package/dist/components/commonForm/autoComplete/style.less +2 -2
  37. package/dist/components/commonForm/datePicker/index.js.map +1 -1
  38. package/dist/components/commonForm/datePicker/style.less +4 -4
  39. package/dist/components/commonForm/formControl/index.js.map +1 -1
  40. package/dist/components/commonForm/index.js +4 -4
  41. package/dist/components/commonForm/index.js.map +1 -1
  42. package/dist/components/commonForm/inputNumber/index.js.map +1 -1
  43. package/dist/components/commonForm/inputNumber/style.less +10 -10
  44. package/dist/components/commonForm/radio/index.js.map +1 -1
  45. package/dist/components/commonForm/style.less +1 -1
  46. package/dist/components/deliverySearch/api.js +21 -21
  47. package/dist/components/deliverySearch/api.js.map +1 -1
  48. package/dist/components/deliverySearch/index.js +6 -6
  49. package/dist/components/deliverySearch/index.js.map +1 -1
  50. package/dist/components/deliverySearch/index.less +553 -553
  51. package/dist/components/form/index.js.map +1 -1
  52. package/dist/components/hardwareAPI/index.js.map +1 -1
  53. package/dist/components/hotKey/config.js +23 -23
  54. package/dist/components/hotKey/config.js.map +1 -1
  55. package/dist/components/hotKey/hotKeyModal.js.map +1 -1
  56. package/dist/components/hotKey/index.js +26 -26
  57. package/dist/components/hotKey/index.js.map +1 -1
  58. package/dist/components/hotKey/localConfig.js +14 -16
  59. package/dist/components/hotKey/localConfig.js.map +1 -1
  60. package/dist/components/hotKey/style.less +96 -96
  61. package/dist/components/hotKey/utils.js.map +1 -1
  62. package/dist/components/input/index.js +10 -7
  63. package/dist/components/input/index.js.map +1 -1
  64. package/dist/components/input/scanInput.js.map +1 -1
  65. package/dist/components/input/scanInput.less +30 -27
  66. package/dist/components/input/style.less +106 -106
  67. package/dist/components/input/tplusInput/index.js +30 -30
  68. package/dist/components/input/tplusInput/index.js.map +1 -1
  69. package/dist/components/input/tplusInput/inputContent.js.map +1 -1
  70. package/dist/components/input/tplusInput/inputs.js.map +1 -1
  71. package/dist/components/input/tplusInput/style.less +132 -132
  72. package/dist/components/input/utils/index.js.map +1 -1
  73. package/dist/components/inventorySearch/api.js +58 -58
  74. package/dist/components/inventorySearch/api.js.map +1 -1
  75. package/dist/components/inventorySearch/index.js +3 -3
  76. package/dist/components/inventorySearch/index.js.map +1 -1
  77. package/dist/components/inventorySearch/index.less +119 -119
  78. package/dist/components/inventorySearch/store.js.map +1 -1
  79. package/dist/components/inventorySearch/tab.js.map +1 -1
  80. package/dist/components/keyboard/index.js +5 -1
  81. package/dist/components/keyboard/index.js.map +1 -1
  82. package/dist/components/keyboard/index.less +485 -469
  83. package/dist/components/keyboard/letterKeyboard.js +35 -18
  84. package/dist/components/keyboard/letterKeyboard.js.map +1 -1
  85. package/dist/components/keyboard/numKeyboard.js +27 -17
  86. package/dist/components/keyboard/numKeyboard.js.map +1 -1
  87. package/dist/components/keyboard/numKeyboardScan.js +32 -24
  88. package/dist/components/keyboard/numKeyboardScan.js.map +1 -1
  89. package/dist/components/keyboard/numberButton_input.js +5 -5
  90. package/dist/components/keyboard/numberButton_input.js.map +1 -1
  91. package/dist/components/keyboard/numkeyboardPassword.js +35 -18
  92. package/dist/components/keyboard/numkeyboardPassword.js.map +1 -1
  93. package/dist/components/keyboard/onlyKeyboard.js +7 -7
  94. package/dist/components/keyboard/onlyKeyboard.js.map +1 -1
  95. package/dist/components/keyboard/onlyLetterButton.js +2 -2
  96. package/dist/components/keyboard/onlyLetterButton.js.map +1 -1
  97. package/dist/components/keyboard/onlyLetterButton2.js +2 -2
  98. package/dist/components/keyboard/onlyLetterButton2.js.map +1 -1
  99. package/dist/components/keyboard/onlyLetterButton2.less +156 -156
  100. package/dist/components/keyboard/onlyNumberButton.js +2 -2
  101. package/dist/components/keyboard/onlyNumberButton.js.map +1 -1
  102. package/dist/components/keyboard/onlyNumberButton2.js +3 -3
  103. package/dist/components/keyboard/onlyNumberButton2.js.map +1 -1
  104. package/dist/components/keyboard/textKeyboard.js.map +1 -1
  105. package/dist/components/layout/hamburger.js.map +1 -1
  106. package/dist/components/layout/index.js +10 -10
  107. package/dist/components/layout/index.js.map +1 -1
  108. package/dist/components/layout/layout.js.map +1 -1
  109. package/dist/components/layout/sider.js +15 -13
  110. package/dist/components/layout/sider.js.map +1 -1
  111. package/dist/components/layout/style.less +82 -82
  112. package/dist/components/loading/index.js +15 -15
  113. package/dist/components/loading/index.js.map +1 -1
  114. package/dist/components/loading/loadingContent.js.map +1 -1
  115. package/dist/components/loading/style.less +72 -72
  116. package/dist/components/loading/utils.js.map +1 -1
  117. package/dist/components/message/index.js +8 -8
  118. package/dist/components/message/index.js.map +1 -1
  119. package/dist/components/message/index.less +101 -101
  120. package/dist/components/modal/index.js.map +1 -1
  121. package/dist/components/modal/index.less +19 -19
  122. package/dist/components/modalVertical/index.js +7 -7
  123. package/dist/components/modalVertical/index.js.map +1 -1
  124. package/dist/components/modalVertical/style.less +60 -60
  125. package/dist/components/modalWraper/index.js +15 -15
  126. package/dist/components/modalWraper/index.js.map +1 -1
  127. package/dist/components/modalWraper/style.less +257 -257
  128. package/dist/components/modalWraper/utils.js.map +1 -1
  129. package/dist/components/notification/index.js +4 -4
  130. package/dist/components/notification/index.js.map +1 -1
  131. package/dist/components/notification/index.less +51 -51
  132. package/dist/components/overflowTip/index.js +15 -15
  133. package/dist/components/overflowTip/index.js.map +1 -1
  134. package/dist/components/overflowTip/style.less +66 -66
  135. package/dist/components/page/index.js.map +1 -1
  136. package/dist/components/page/index.less +21 -21
  137. package/dist/components/presale/pickup.js.map +1 -1
  138. package/dist/components/presale/style.less +58 -58
  139. package/dist/components/product/detail.js +7 -7
  140. package/dist/components/product/detail.js.map +1 -1
  141. package/dist/components/product/getCard.js +5 -5
  142. package/dist/components/product/getCard.js.map +1 -1
  143. package/dist/components/product/index.less +128 -128
  144. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  145. package/dist/components/progressState/ProgressState.js +10 -10
  146. package/dist/components/progressState/ProgressState.js.map +1 -1
  147. package/dist/components/progressState/index.js.map +1 -1
  148. package/dist/components/progressState/style.less +65 -65
  149. package/dist/components/scan/index.js.map +1 -1
  150. package/dist/components/scan/index.less +33 -33
  151. package/dist/components/select/index.js.map +1 -1
  152. package/dist/components/select/index.less +11 -11
  153. package/dist/components/settlement/asyncModal.js.map +1 -1
  154. package/dist/components/settlement/index.js.map +1 -1
  155. package/dist/components/settlement/moreCzkTable/index.js.map +1 -1
  156. package/dist/components/settlement/moreCzkTable/style.less +6 -6
  157. package/dist/components/settlement/prototypeTable/index.js +3 -1
  158. package/dist/components/settlement/prototypeTable/index.js.map +1 -1
  159. package/dist/components/settlement/prototypeTable/style.less +58 -58
  160. package/dist/components/settlement/prototypeTable/utils.js.map +1 -1
  161. package/dist/components/settlement/settlement.js +81 -546
  162. package/dist/components/settlement/settlement.js.map +1 -1
  163. package/dist/components/settlement/settlement.less +1706 -1702
  164. package/dist/components/settlement/settlementStore.js +96 -78
  165. package/dist/components/settlement/settlementStore.js.map +1 -1
  166. package/dist/components/settlement/utils.js.map +1 -1
  167. package/dist/components/socket/index.js +11 -11
  168. package/dist/components/socket/index.js.map +1 -1
  169. package/dist/components/spin/index.js +6 -6
  170. package/dist/components/spin/index.js.map +1 -1
  171. package/dist/components/spin/spin-style.less +436 -436
  172. package/dist/components/test/index.js +3 -3
  173. package/dist/components/test/index.js.map +1 -1
  174. package/dist/components/ticon/iconfont/demo.css +539 -539
  175. package/dist/components/ticon/iconfont/demo_index.html +5248 -5248
  176. package/dist/components/ticon/iconfont/iconfont.css +895 -895
  177. package/dist/components/ticon/iconfont/iconfont.json +1549 -1549
  178. package/dist/components/ticon/iconfont/iconfont.svg +593 -593
  179. package/dist/components/ticon/index.js.map +1 -1
  180. package/dist/components/touchScroll/index.js +9 -9
  181. package/dist/components/touchScroll/index.js.map +1 -1
  182. package/dist/components/touchTable/AuthProcess.js.map +1 -1
  183. package/dist/components/touchTable/generateWater.js.map +1 -1
  184. package/dist/components/touchTable/index.js +20 -10
  185. package/dist/components/touchTable/index.js.map +1 -1
  186. package/dist/components/touchTable/index.less +376 -376
  187. package/dist/components/touchTable/utils.js.map +1 -1
  188. package/dist/demo/PopOverDemo.js.map +1 -1
  189. package/dist/index.js +7 -7
  190. package/dist/index.js.map +1 -1
  191. package/dist/util/tools.js.map +1 -1
  192. package/locales/zh/tplus-components-touch.json +1 -1
  193. package/locales/zh-CN/tplus-components-touch.json +1 -1
  194. package/mocks/memberInfo.json +79 -79
  195. package/package.json +35 -35
  196. package/tsconfig.json +26 -26
@@ -41,7 +41,7 @@ var _createClass2 = require('babel-runtime/helpers/createClass');
41
41
 
42
42
  var _createClass3 = _interopRequireDefault(_createClass2);
43
43
 
44
- var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _desc2, _value2, _class3, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _desc3, _value3, _class5, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
44
+ var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _desc2, _value2, _class3, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _desc3, _value3, _class5, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;
45
45
 
46
46
  var _mobx = require('mobx');
47
47
 
@@ -173,16 +173,20 @@ var SettlementStore = (_class = function () {
173
173
  this.brefund = false;
174
174
  this.bquick = false;
175
175
  this.boriginReturn = false;
176
- this.newStyle = true;
176
+
177
+ _initDefineProp(this, 'newStyle', _descriptor, this);
178
+
177
179
  this.isFull = true;
178
180
 
179
- _initDefineProp(this, 'queryPwd', _descriptor, this);
181
+ _initDefineProp(this, 'setNewStyle', _descriptor2, this);
182
+
183
+ _initDefineProp(this, 'queryPwd', _descriptor3, this);
180
184
 
181
- _initDefineProp(this, 'updateMemberInfo', _descriptor2, this);
185
+ _initDefineProp(this, 'updateMemberInfo', _descriptor4, this);
182
186
 
183
- _initDefineProp(this, 'updateCurrentMode', _descriptor3, this);
187
+ _initDefineProp(this, 'updateCurrentMode', _descriptor5, this);
184
188
 
185
- _initDefineProp(this, 'updateCardInfo', _descriptor4, this);
189
+ _initDefineProp(this, 'updateCardInfo', _descriptor6, this);
186
190
 
187
191
  this.handleCzkData = function (m) {
188
192
  if (!m || !m.StorageCardNo) {
@@ -499,7 +503,7 @@ var SettlementStore = (_class = function () {
499
503
  this.paymode = new PayMode();
500
504
  var params = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('cloudPrintArguments');
501
505
  if (params) this.cloudPrintArguments = params;
502
- this.newStyle = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('voucherDefaultPosMode') == 'voucher';
506
+ this.setNewStyle();
503
507
  } //type==2
504
508
 
505
509
 
@@ -515,7 +519,7 @@ var SettlementStore = (_class = function () {
515
519
  value: function init(context, amounthandler, datasource, storeinfo, bquick, amount, type, data, payModeKey) {
516
520
  var _this3 = this;
517
521
 
518
- this.newStyle = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('voucherDefaultPosMode') == 'voucher';
522
+ this.setNewStyle();
519
523
  this.type = type;
520
524
  if (context) {
521
525
  this.context = context;
@@ -1684,12 +1688,12 @@ var SettlementStore = (_class = function () {
1684
1688
  return data;
1685
1689
  }
1686
1690
 
1687
- /**
1688
- * 二开支付
1689
- * vType:1零售单、2储值单
1690
- * payment:结算方式
1691
- * trade:00表示结算、02表示退款
1692
- * dto:结算数据集合
1691
+ /**
1692
+ * 二开支付
1693
+ * vType:1零售单、2储值单
1694
+ * payment:结算方式
1695
+ * trade:00表示结算、02表示退款
1696
+ * dto:结算数据集合
1693
1697
  */
1694
1698
 
1695
1699
  }, {
@@ -2041,11 +2045,25 @@ var SettlementStore = (_class = function () {
2041
2045
  }()
2042
2046
  }]);
2043
2047
  return SettlementStore;
2044
- }(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, 'queryPwd', [_mobx.action], {
2048
+ }(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, 'newStyle', [_mobx.observable], {
2049
+ enumerable: true,
2050
+ initializer: function initializer() {
2051
+ return true;
2052
+ }
2053
+ }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, 'setNewStyle', [_mobx.action], {
2045
2054
  enumerable: true,
2046
2055
  initializer: function initializer() {
2047
2056
  var _this14 = this;
2048
2057
 
2058
+ return function () {
2059
+ _this14.newStyle = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('voucherDefaultPosMode') == 'voucher';
2060
+ };
2061
+ }
2062
+ }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'queryPwd', [_mobx.action], {
2063
+ enumerable: true,
2064
+ initializer: function initializer() {
2065
+ var _this15 = this;
2066
+
2049
2067
  return function (newPass, newPassConfirm) {
2050
2068
  if (!newPass || !newPassConfirm) {
2051
2069
  return _message2.default.warn('您还有未填写项');
@@ -2056,7 +2074,7 @@ var SettlementStore = (_class = function () {
2056
2074
  var idstore = (0, _tplusPoslogin.PosInitData)('storeID');
2057
2075
  return (0, _tplusApi.ccApi)({
2058
2076
  Idstore: idstore,
2059
- meMemberId: _this14.paymode.currentMode.memberId,
2077
+ meMemberId: _this15.paymode.currentMode.memberId,
2060
2078
  oldPassword: null,
2061
2079
  newPassword: _tplusApi.User.pwdEncrypt(newPassConfirm),
2062
2080
  dataSource: "POS"
@@ -2067,10 +2085,10 @@ var SettlementStore = (_class = function () {
2067
2085
  });
2068
2086
  };
2069
2087
  }
2070
- }), _applyDecoratedDescriptor(_class.prototype, 'initByOriginReturn', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'initByOriginReturn'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'quickSettle', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'quickSettle'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusAndAddPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusAndAddPay'), _class.prototype), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, 'updateMemberInfo', [_mobx.action], {
2088
+ }), _applyDecoratedDescriptor(_class.prototype, 'initByOriginReturn', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'initByOriginReturn'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'quickSettle', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'quickSettle'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusAndAddPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusAndAddPay'), _class.prototype), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, 'updateMemberInfo', [_mobx.action], {
2071
2089
  enumerable: true,
2072
2090
  initializer: function initializer() {
2073
- var _this15 = this;
2091
+ var _this16 = this;
2074
2092
 
2075
2093
  return function () {
2076
2094
  var _ref27 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(_this) {
@@ -2080,9 +2098,9 @@ var SettlementStore = (_class = function () {
2080
2098
  while (1) {
2081
2099
  switch (_context12.prev = _context12.next) {
2082
2100
  case 0:
2083
- _getLoginInfo4 = _this15.getLoginInfo(), IdStore = _getLoginInfo4.IdStore, StoreCode = _getLoginInfo4.StoreCode;
2101
+ _getLoginInfo4 = _this16.getLoginInfo(), IdStore = _getLoginInfo4.IdStore, StoreCode = _getLoginInfo4.StoreCode;
2084
2102
  _context12.next = 3;
2085
- return (0, _tplusApi.tApi)({ Idmember: _this15.member.ID, IdStore: IdStore, StoreCode: StoreCode }, 'chanjet.AA.DR.INewRetailMember.GetUmemberDTO', false, false);
2103
+ return (0, _tplusApi.tApi)({ Idmember: _this16.member.ID, IdStore: IdStore, StoreCode: StoreCode }, 'chanjet.AA.DR.INewRetailMember.GetUmemberDTO', false, false);
2086
2104
 
2087
2105
  case 3:
2088
2106
  resp = _context12.sent;
@@ -2096,7 +2114,7 @@ var SettlementStore = (_class = function () {
2096
2114
  return _context12.stop();
2097
2115
  }
2098
2116
  }
2099
- }, _callee12, _this15);
2117
+ }, _callee12, _this16);
2100
2118
  }));
2101
2119
 
2102
2120
  return function (_x10) {
@@ -2104,10 +2122,10 @@ var SettlementStore = (_class = function () {
2104
2122
  };
2105
2123
  }();
2106
2124
  }
2107
- }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'updateCurrentMode', [_mobx.action], {
2125
+ }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, 'updateCurrentMode', [_mobx.action], {
2108
2126
  enumerable: true,
2109
2127
  initializer: function initializer() {
2110
- var _this16 = this;
2128
+ var _this17 = this;
2111
2129
 
2112
2130
  return function () {
2113
2131
  var _ref28 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(memberId) {
@@ -2132,7 +2150,7 @@ var SettlementStore = (_class = function () {
2132
2150
  break;
2133
2151
  }
2134
2152
 
2135
- _this16.paymode.updateCardInfo(result.data[0]);
2153
+ _this17.paymode.updateCardInfo(result.data[0]);
2136
2154
  return _context13.abrupt('return', result.data);
2137
2155
 
2138
2156
  case 9:
@@ -2141,7 +2159,7 @@ var SettlementStore = (_class = function () {
2141
2159
  break;
2142
2160
  }
2143
2161
 
2144
- _this16.paymode.updateCardInfo(result.data[0]);
2162
+ _this17.paymode.updateCardInfo(result.data[0]);
2145
2163
  return _context13.abrupt('return', result.data);
2146
2164
 
2147
2165
  case 14:
@@ -2161,7 +2179,7 @@ var SettlementStore = (_class = function () {
2161
2179
  return _context13.stop();
2162
2180
  }
2163
2181
  }
2164
- }, _callee13, _this16);
2182
+ }, _callee13, _this17);
2165
2183
  }));
2166
2184
 
2167
2185
  return function (_x11) {
@@ -2169,10 +2187,10 @@ var SettlementStore = (_class = function () {
2169
2187
  };
2170
2188
  }();
2171
2189
  }
2172
- }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, 'updateCardInfo', [_mobx.action], {
2190
+ }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, 'updateCardInfo', [_mobx.action], {
2173
2191
  enumerable: true,
2174
2192
  initializer: function initializer() {
2175
- var _this17 = this;
2193
+ var _this18 = this;
2176
2194
 
2177
2195
  return (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee14() {
2178
2196
  var address, result;
@@ -2180,21 +2198,21 @@ var SettlementStore = (_class = function () {
2180
2198
  while (1) {
2181
2199
  switch (_context14.prev = _context14.next) {
2182
2200
  case 0:
2183
- address = '/marketingtool/MeStorageCard/getCardInfoByCardNo/' + _this17.paymode.currentMode.storageCardNo;
2201
+ address = '/marketingtool/MeStorageCard/getCardInfoByCardNo/' + _this18.paymode.currentMode.storageCardNo;
2184
2202
  _context14.next = 3;
2185
2203
  return (0, _tplusApi.ccApi)({}, address, false, false, { method: 'get', timeout_skip: true });
2186
2204
 
2187
2205
  case 3:
2188
2206
  result = _context14.sent;
2189
2207
 
2190
- _this17.paymode.updateCardInfo(result.data);
2208
+ _this18.paymode.updateCardInfo(result.data);
2191
2209
 
2192
2210
  case 5:
2193
2211
  case 'end':
2194
2212
  return _context14.stop();
2195
2213
  }
2196
2214
  }
2197
- }, _callee14, _this17);
2215
+ }, _callee14, _this18);
2198
2216
  }));
2199
2217
  }
2200
2218
  }), _applyDecoratedDescriptor(_class.prototype, 'addDjq', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addDjq'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeClickFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeClickFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeValue'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPayDirectly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPayDirectly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'delPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'delPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
@@ -2211,23 +2229,23 @@ var PayMode = exports.PayMode = (_class3 = function () {
2211
2229
  this.onlineamount = 0;
2212
2230
  this.maxamount = 0;
2213
2231
 
2214
- _initDefineProp(this, 'currentFocus', _descriptor5, this);
2232
+ _initDefineProp(this, 'currentFocus', _descriptor7, this);
2215
2233
 
2216
- _initDefineProp(this, 'received', _descriptor6, this);
2234
+ _initDefineProp(this, 'received', _descriptor8, this);
2217
2235
 
2218
- _initDefineProp(this, 'receivable', _descriptor7, this);
2236
+ _initDefineProp(this, 'receivable', _descriptor9, this);
2219
2237
 
2220
- _initDefineProp(this, 'paymodes', _descriptor8, this);
2238
+ _initDefineProp(this, 'paymodes', _descriptor10, this);
2221
2239
 
2222
- _initDefineProp(this, 'thePaymodes', _descriptor9, this);
2240
+ _initDefineProp(this, 'thePaymodes', _descriptor11, this);
2223
2241
 
2224
2242
  this.bookMaxValue = 0;
2225
2243
  this.isNotFullBook = false;
2226
2244
  this.isNotFullOnlyBook = false;
2227
2245
 
2228
- _initDefineProp(this, 'storageCardNo', _descriptor10, this);
2246
+ _initDefineProp(this, 'storageCardNo', _descriptor12, this);
2229
2247
 
2230
- _initDefineProp(this, 'balance', _descriptor11, this);
2248
+ _initDefineProp(this, 'balance', _descriptor13, this);
2231
2249
 
2232
2250
  this.currentMode = null;
2233
2251
  this.checkList = [];
@@ -2236,11 +2254,11 @@ var PayMode = exports.PayMode = (_class3 = function () {
2236
2254
  hotKey: "Ctrl+M"
2237
2255
  };
2238
2256
 
2239
- _initDefineProp(this, 'calcCheckList', _descriptor12, this);
2257
+ _initDefineProp(this, 'calcCheckList', _descriptor14, this);
2240
2258
 
2241
- _initDefineProp(this, 'setCouponNum', _descriptor13, this);
2259
+ _initDefineProp(this, 'setCouponNum', _descriptor15, this);
2242
2260
 
2243
- _initDefineProp(this, 'addDjqs', _descriptor14, this);
2261
+ _initDefineProp(this, 'addDjqs', _descriptor16, this);
2244
2262
  }
2245
2263
  // @observable store = null;
2246
2264
  //只是预订场景下,现场提货,且选项设置订金比例非100%时 为 true
@@ -2313,7 +2331,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2313
2331
  }, {
2314
2332
  key: 'calcDjqCheckValue',
2315
2333
  value: function calcDjqCheckValue(q1, dto, params) {
2316
- var _this18 = this;
2334
+ var _this19 = this;
2317
2335
 
2318
2336
  var useLimitPerOrder = (0, _tplusPoslogin.PosInitData)('UseLimitPerOrder');
2319
2337
  var qList = (0, _filter3.default)(this.currentMode.djqs, function (djq) {
@@ -2360,7 +2378,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2360
2378
  if (!q1.checked) {
2361
2379
  this.checkList.forEach(function (ele, i) {
2362
2380
  if (ele.id === q1.id) {
2363
- _this18.checkList.splice(i, 1);
2381
+ _this19.checkList.splice(i, 1);
2364
2382
  }
2365
2383
  });
2366
2384
  } else {
@@ -2432,7 +2450,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2432
2450
  if (result && result.length != 0) {
2433
2451
  result.forEach(function (element, index) {
2434
2452
  var djq1 = false;
2435
- _this18.currentMode.djqs.forEach(function (djq) {
2453
+ _this19.currentMode.djqs.forEach(function (djq) {
2436
2454
  if (element.id === djq.id) {
2437
2455
  djq1 = true;
2438
2456
  }
@@ -2477,10 +2495,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
2477
2495
  // couponCategoryEnum: tieredAmountResult.couponCategoryEnum,
2478
2496
  // id
2479
2497
  // })
2480
- _this18.addDjqs(couponCode, name, true, nominalAmount, promoDiscount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
2498
+ _this19.addDjqs(couponCode, name, true, nominalAmount, promoDiscount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
2481
2499
  djq1 = false;
2482
2500
  } else {
2483
- _this18.setCouponNum(element.id, couponCategoryEnum, promoMethodEnum, nominalAmount, promoDiscount);
2501
+ _this19.setCouponNum(element.id, couponCategoryEnum, promoMethodEnum, nominalAmount, promoDiscount);
2484
2502
  // this.currentMode.djqs[0].couponCategoryEnum = 'couponCategoryEnum';
2485
2503
  // djq1.couponCategoryEnum = element.tieredAmountResult.couponCategoryEnum
2486
2504
  }
@@ -2585,7 +2603,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2585
2603
  key: 'setPaymodes',
2586
2604
  value: function () {
2587
2605
  var _ref33 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
2588
- var _this19 = this;
2606
+ var _this20 = this;
2589
2607
 
2590
2608
  var _ref34, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
2591
2609
 
@@ -2633,7 +2651,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2633
2651
  thridPayment: mode.ThirdPaymentInfo
2634
2652
  });
2635
2653
  });
2636
- _this19.paymodes = paymodes;
2654
+ _this20.paymodes = paymodes;
2637
2655
  });
2638
2656
  }
2639
2657
 
@@ -2663,57 +2681,57 @@ var PayMode = exports.PayMode = (_class3 = function () {
2663
2681
  }
2664
2682
  }]);
2665
2683
  return PayMode;
2666
- }(), (_descriptor5 = _applyDecoratedDescriptor(_class3.prototype, 'currentFocus', [_mobx.observable], {
2684
+ }(), (_descriptor7 = _applyDecoratedDescriptor(_class3.prototype, 'currentFocus', [_mobx.observable], {
2667
2685
  enumerable: true,
2668
2686
  initializer: function initializer() {
2669
2687
  return "";
2670
2688
  }
2671
- }), _descriptor6 = _applyDecoratedDescriptor(_class3.prototype, 'received', [_mobx.observable], {
2689
+ }), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'received', [_mobx.observable], {
2672
2690
  enumerable: true,
2673
2691
  initializer: function initializer() {
2674
2692
  return 0;
2675
2693
  }
2676
- }), _descriptor7 = _applyDecoratedDescriptor(_class3.prototype, 'receivable', [_mobx.observable], {
2694
+ }), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'receivable', [_mobx.observable], {
2677
2695
  enumerable: true,
2678
2696
  initializer: function initializer() {
2679
2697
  return 0;
2680
2698
  }
2681
- }), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'paymodes', [_mobx.observable], {
2699
+ }), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'paymodes', [_mobx.observable], {
2682
2700
  enumerable: true,
2683
2701
  initializer: function initializer() {
2684
2702
  return [];
2685
2703
  }
2686
- }), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'thePaymodes', [_mobx.observable], {
2704
+ }), _descriptor11 = _applyDecoratedDescriptor(_class3.prototype, 'thePaymodes', [_mobx.observable], {
2687
2705
  enumerable: true,
2688
2706
  initializer: function initializer() {
2689
2707
  return [];
2690
2708
  }
2691
- }), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'storageCardNo', [_mobx.observable], {
2709
+ }), _descriptor12 = _applyDecoratedDescriptor(_class3.prototype, 'storageCardNo', [_mobx.observable], {
2692
2710
  enumerable: true,
2693
2711
  initializer: function initializer() {
2694
2712
  return null;
2695
2713
  }
2696
- }), _descriptor11 = _applyDecoratedDescriptor(_class3.prototype, 'balance', [_mobx.observable], {
2714
+ }), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'balance', [_mobx.observable], {
2697
2715
  enumerable: true,
2698
2716
  initializer: function initializer() {
2699
2717
  return null;
2700
2718
  }
2701
- }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _descriptor12 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
2719
+ }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _descriptor14 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
2702
2720
  enumerable: true,
2703
2721
  initializer: function initializer() {
2704
- var _this20 = this;
2722
+ var _this21 = this;
2705
2723
 
2706
2724
  return function () {
2707
- _this20.checkList = [];
2725
+ _this21.checkList = [];
2708
2726
  };
2709
2727
  }
2710
- }), _applyDecoratedDescriptor(_class3.prototype, 'updateMemberStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateMemberStorageCardNo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
2728
+ }), _applyDecoratedDescriptor(_class3.prototype, 'updateMemberStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateMemberStorageCardNo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor15 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
2711
2729
  enumerable: true,
2712
2730
  initializer: function initializer() {
2713
- var _this21 = this;
2731
+ var _this22 = this;
2714
2732
 
2715
2733
  return function (id, couponNum, promoMethodEnum, nominalAmount, promoDiscount) {
2716
- _this21.currentMode.djqs.forEach(function (ele) {
2734
+ _this22.currentMode.djqs.forEach(function (ele) {
2717
2735
  if (ele.id === id) {
2718
2736
  ele.amount = promoDiscount;
2719
2737
  promoMethodEnum == "CASH_COUPON" && (ele.nominalAmount = nominalAmount);
@@ -2724,10 +2742,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
2724
2742
  });
2725
2743
  };
2726
2744
  }
2727
- }), _descriptor14 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
2745
+ }), _descriptor16 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
2728
2746
  enumerable: true,
2729
2747
  initializer: function initializer() {
2730
- var _this22 = this;
2748
+ var _this23 = this;
2731
2749
 
2732
2750
  return function (promoCouponCode, name, IsEnable, nominalAmount, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id) {
2733
2751
  var djq = {
@@ -2750,25 +2768,25 @@ var PayMode = exports.PayMode = (_class3 = function () {
2750
2768
  couponCategoryEnum: couponCategoryEnum,
2751
2769
  id: id
2752
2770
  };
2753
- _this22.currentMode.djqs.push(djq);
2771
+ _this23.currentMode.djqs.push(djq);
2754
2772
  };
2755
2773
  }
2756
2774
  }), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'reCalculationDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'reCalculationDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clearDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clearDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'setCurrentModeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'setCurrentModeValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcMemberBalance', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcMemberBalance'), _class3.prototype)), _class3);
2757
2775
  var Member = exports.Member = (_class5 = function () {
2758
2776
  function Member(m) {
2759
- var _this23 = this;
2777
+ var _this24 = this;
2760
2778
 
2761
2779
  (0, _classCallCheck3.default)(this, Member);
2762
2780
 
2763
- _initDefineProp(this, 'cardNo', _descriptor15, this);
2781
+ _initDefineProp(this, 'cardNo', _descriptor17, this);
2764
2782
 
2765
- _initDefineProp(this, 'balance', _descriptor16, this);
2783
+ _initDefineProp(this, 'balance', _descriptor18, this);
2766
2784
 
2767
- _initDefineProp(this, 'exchangable', _descriptor17, this);
2785
+ _initDefineProp(this, 'exchangable', _descriptor19, this);
2768
2786
 
2769
- _initDefineProp(this, 'meStorageCardId', _descriptor18, this);
2787
+ _initDefineProp(this, 'meStorageCardId', _descriptor20, this);
2770
2788
 
2771
- _initDefineProp(this, 'storageCardNo', _descriptor19, this);
2789
+ _initDefineProp(this, 'storageCardNo', _descriptor21, this);
2772
2790
 
2773
2791
  if (m) {
2774
2792
  this.id = m.ID;
@@ -2783,11 +2801,11 @@ var Member = exports.Member = (_class5 = function () {
2783
2801
  isNewRetailBCPos = _ref35.isNewRetailBCPos;
2784
2802
 
2785
2803
  (0, _mobx.runInAction)(function () {
2786
- _this23.cardNo = m.CardCode;
2804
+ _this24.cardNo = m.CardCode;
2787
2805
  if (index >= 0) {
2788
- _this23.balance = parseFloat(m.DynamicPropertyValues[index]);
2806
+ _this24.balance = parseFloat(m.DynamicPropertyValues[index]);
2789
2807
  } else {
2790
- _this23.balance = _this23.rawbalance;
2808
+ _this24.balance = _this24.rawbalance;
2791
2809
  }
2792
2810
  });
2793
2811
  this.needPwd = m.MemberType ? m.MemberType.IsNeedPwd : false;
@@ -2809,19 +2827,19 @@ var Member = exports.Member = (_class5 = function () {
2809
2827
  }
2810
2828
  }]);
2811
2829
  return Member;
2812
- }(), (_descriptor15 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
2830
+ }(), (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
2813
2831
  enumerable: true,
2814
2832
  initializer: null
2815
- }), _descriptor16 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
2833
+ }), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
2816
2834
  enumerable: true,
2817
2835
  initializer: null
2818
- }), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
2836
+ }), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
2819
2837
  enumerable: true,
2820
2838
  initializer: null
2821
- }), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
2839
+ }), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
2822
2840
  enumerable: true,
2823
2841
  initializer: null
2824
- }), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, 'storageCardNo', [_mobx.observable], {
2842
+ }), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, 'storageCardNo', [_mobx.observable], {
2825
2843
  enumerable: true,
2826
2844
  initializer: null
2827
2845
  }), _applyDecoratedDescriptor(_class5.prototype, 'setExchangable', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setExchangable'), _class5.prototype), _applyDecoratedDescriptor(_class5.prototype, 'setCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setCardNo'), _class5.prototype)), _class5);