tplus-components-touch 3.26.8 → 3.26.9

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.
@@ -714,14 +714,18 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
714
714
  // 判断是否有密码
715
715
  _this2$store$paymode$ = _this2.store.paymode.currentMode, walletEnabled = _this2$store$paymode$.walletEnabled, cardTypeEnum = _this2$store$paymode$.cardTypeEnum;
716
716
 
717
- if (cardTypeEnum === 'BALANCE_CARD' && !walletEnabled) {
718
- _this2.setState({
719
- showSetPwdModal: true,
720
- btnDissabled: true
721
- });
722
- } else {
723
- _this2.handleCzkData();
724
- }
717
+ _this2.setState({
718
+ showSetPwdModal: true,
719
+ btnDissabled: true
720
+ });
721
+ // if (cardTypeEnum === 'BALANCE_CARD' && !walletEnabled) {
722
+ // this.setState({
723
+ // showSetPwdModal: true,
724
+ // btnDissabled: true
725
+ // })
726
+ // } else {
727
+ // // this.handleCzkData();
728
+ // }
725
729
 
726
730
  case 2:
727
731
  case 'end':
@@ -827,13 +831,31 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
827
831
  }, _callee4, _this3);
828
832
  }));
829
833
 
834
+ _this2.onPressEnterCzk = function (field) {
835
+ var _ref5 = _this2.state || {},
836
+ _ref5$newPass = _ref5.newPass,
837
+ newPass = _ref5$newPass === undefined ? '' : _ref5$newPass,
838
+ _ref5$newPassConfirm = _ref5.newPassConfirm,
839
+ newPassConfirm = _ref5$newPassConfirm === undefined ? '' : _ref5$newPassConfirm;
840
+
841
+ if (field === 'newPass' && newPass.length === 6) {
842
+ _this2.inputConfirmAmount.input.focus();
843
+ }
844
+ if (field === 'newPassConfirm' && newPassConfirm.length === 6 && newPass.length === 6 && newPass === newPassConfirm) {
845
+ _this2.handleSetModal();
846
+ }
847
+ };
848
+
830
849
  _this2.setPwdValue = function (field, value) {
850
+ if (!/^[0-9]*$/.test(value)) {
851
+ return;
852
+ }
831
853
  _this2.setState((0, _defineProperty3.default)({}, field, value), function () {
832
- var _ref5 = _this2.state || {},
833
- _ref5$newPass = _ref5.newPass,
834
- newPass = _ref5$newPass === undefined ? '' : _ref5$newPass,
835
- _ref5$newPassConfirm = _ref5.newPassConfirm,
836
- newPassConfirm = _ref5$newPassConfirm === undefined ? '' : _ref5$newPassConfirm;
854
+ var _ref6 = _this2.state || {},
855
+ _ref6$newPass = _ref6.newPass,
856
+ newPass = _ref6$newPass === undefined ? '' : _ref6$newPass,
857
+ _ref6$newPassConfirm = _ref6.newPassConfirm,
858
+ newPassConfirm = _ref6$newPassConfirm === undefined ? '' : _ref6$newPassConfirm;
837
859
 
838
860
  if (newPassConfirm.length === 6 && newPass.length === 6 && newPass === newPassConfirm) {
839
861
  _this2.setState({
@@ -844,15 +866,15 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
844
866
  };
845
867
 
846
868
  _this2.handleBlur = function (field) {
847
- var _ref6 = _this2.state || {},
848
- _ref6$newPass = _ref6.newPass,
849
- newPass = _ref6$newPass === undefined ? '' : _ref6$newPass,
850
- _ref6$newPassConfirm = _ref6.newPassConfirm,
851
- newPassConfirm = _ref6$newPassConfirm === undefined ? '' : _ref6$newPassConfirm;
869
+ var _ref7 = _this2.state || {},
870
+ _ref7$newPass = _ref7.newPass,
871
+ newPass = _ref7$newPass === undefined ? '' : _ref7$newPass,
872
+ _ref7$newPassConfirm = _ref7.newPassConfirm,
873
+ newPassConfirm = _ref7$newPassConfirm === undefined ? '' : _ref7$newPassConfirm;
852
874
 
853
875
  setTimeout(function () {
854
- var _ref7 = _this2.state || {},
855
- showSetPwdModal = _ref7.showSetPwdModal;
876
+ var _ref8 = _this2.state || {},
877
+ showSetPwdModal = _ref8.showSetPwdModal;
856
878
 
857
879
  if (!showSetPwdModal) return;
858
880
  if (field === 'newPass' && newPass.length < 6) {
@@ -909,8 +931,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
909
931
 
910
932
  // TODO: 测试优惠券支付
911
933
 
912
- var _ref8 = _mutantsUtil.platform || {},
913
- isNewRetailBCPos = _ref8.isNewRetailBCPos;
934
+ var _ref9 = _mutantsUtil.platform || {},
935
+ isNewRetailBCPos = _ref9.isNewRetailBCPos;
914
936
 
915
937
  if (isNewRetailBCPos && !_this2.store.paymode.currentMode.boriginReturn) {
916
938
  _this2.store.getCouponList();
@@ -994,8 +1016,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
994
1016
  };
995
1017
 
996
1018
  _this2.checkOfflineEnable = function (paymode, key) {
997
- var _ref9 = paymode || {},
998
- paymodes = _ref9.paymodes;
1019
+ var _ref10 = paymode || {},
1020
+ paymodes = _ref10.paymodes;
999
1021
 
1000
1022
  var isOffline = _mutantsMicrofx.stores.offlineSys.isOffline;
1001
1023
 
@@ -1345,8 +1367,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1345
1367
  return;
1346
1368
  }
1347
1369
 
1348
- var _ref10 = _mutantsUtil.platform || {},
1349
- isNewRetailBCPos = _ref10.isNewRetailBCPos;
1370
+ var _ref11 = _mutantsUtil.platform || {},
1371
+ isNewRetailBCPos = _ref11.isNewRetailBCPos;
1350
1372
 
1351
1373
  if (isNewRetailBCPos) {
1352
1374
  _this2.store.paymode.calcDjqCheckValue(q, _this2.store.dto);
@@ -1826,13 +1848,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1826
1848
  if (_this2.hasElectron === false) return;
1827
1849
  var dt = _mutantsMicrofx.localStore.get('portsetting_hardSet') || [];
1828
1850
 
1829
- var _ref14 = dt || {},
1830
- guestshow_enable = _ref14.guestshow_enable,
1831
- guestshow_clear = _ref14.guestshow_clear,
1832
- guestshow_welcome = _ref14.guestshow_welcome,
1833
- guestshow_collect = _ref14.guestshow_collect,
1834
- guestshow_refund = _ref14.guestshow_refund,
1835
- guestshow_change = _ref14.guestshow_change;
1851
+ var _ref15 = dt || {},
1852
+ guestshow_enable = _ref15.guestshow_enable,
1853
+ guestshow_clear = _ref15.guestshow_clear,
1854
+ guestshow_welcome = _ref15.guestshow_welcome,
1855
+ guestshow_collect = _ref15.guestshow_collect,
1856
+ guestshow_refund = _ref15.guestshow_refund,
1857
+ guestshow_change = _ref15.guestshow_change;
1836
1858
 
1837
1859
  var hasSuccess = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('portsetting_hardSet_isSuccess');
1838
1860
  if (!guestshow_enable || !!guestshow_enable && hasSuccess == '0') return;
@@ -1867,9 +1889,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1867
1889
  };
1868
1890
 
1869
1891
  _this2.handleSettle = function () {
1870
- var _ref15 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee11(args) {
1892
+ var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee11(args) {
1871
1893
  var handleUserInputs = function () {
1872
- var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee10(promises) {
1894
+ var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee10(promises) {
1873
1895
  var results, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, p, _result;
1874
1896
 
1875
1897
  return _regenerator2.default.wrap(function _callee10$(_context10) {
@@ -1960,7 +1982,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1960
1982
  }));
1961
1983
 
1962
1984
  return function handleUserInputs(_x7) {
1963
- return _ref17.apply(this, arguments);
1985
+ return _ref18.apply(this, arguments);
1964
1986
  };
1965
1987
  }();
1966
1988
 
@@ -2063,7 +2085,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2063
2085
  });
2064
2086
 
2065
2087
  commit = function () {
2066
- var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee9(values) {
2088
+ var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee9(values) {
2067
2089
  var result;
2068
2090
  return _regenerator2.default.wrap(function _callee9$(_context9) {
2069
2091
  while (1) {
@@ -2137,7 +2159,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2137
2159
  }));
2138
2160
 
2139
2161
  return function commit(_x6) {
2140
- return _ref16.apply(this, arguments);
2162
+ return _ref17.apply(this, arguments);
2141
2163
  };
2142
2164
  }();
2143
2165
 
@@ -2152,13 +2174,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2152
2174
  }));
2153
2175
 
2154
2176
  return function (_x5) {
2155
- return _ref15.apply(this, arguments);
2177
+ return _ref16.apply(this, arguments);
2156
2178
  };
2157
2179
  }();
2158
2180
 
2159
2181
  _this2.handleCzk = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee14() {
2160
2182
  var handleUserInputs = function () {
2161
- var _ref21 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(promises) {
2183
+ var _ref22 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(promises) {
2162
2184
  var results, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, p, _result2;
2163
2185
 
2164
2186
  return _regenerator2.default.wrap(function _callee13$(_context13) {
@@ -2255,11 +2277,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2255
2277
  }));
2256
2278
 
2257
2279
  return function handleUserInputs(_x9) {
2258
- return _ref21.apply(this, arguments);
2280
+ return _ref22.apply(this, arguments);
2259
2281
  };
2260
2282
  }();
2261
2283
 
2262
- var that, curmode, promises, _ref19, isNewRetailBCPos, _enumController$getEn22, PayStyle, commit;
2284
+ var that, curmode, promises, _ref20, isNewRetailBCPos, _enumController$getEn22, PayStyle, commit;
2263
2285
 
2264
2286
  return _regenerator2.default.wrap(function _callee14$(_context14) {
2265
2287
  while (1) {
@@ -2268,7 +2290,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2268
2290
  that = _this2;
2269
2291
  curmode = _this2.store.paymode.currentMode;
2270
2292
  promises = [];
2271
- _ref19 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref19.isNewRetailBCPos;
2293
+ _ref20 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref20.isNewRetailBCPos;
2272
2294
 
2273
2295
  if (isNewRetailBCPos) {
2274
2296
  if (curmode.value > 0) {
@@ -2287,7 +2309,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2287
2309
  }
2288
2310
 
2289
2311
  commit = function () {
2290
- var _ref20 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(values) {
2312
+ var _ref21 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(values) {
2291
2313
  var result;
2292
2314
  return _regenerator2.default.wrap(function _callee12$(_context12) {
2293
2315
  while (1) {
@@ -2337,7 +2359,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2337
2359
  }));
2338
2360
 
2339
2361
  return function commit(_x8) {
2340
- return _ref20.apply(this, arguments);
2362
+ return _ref21.apply(this, arguments);
2341
2363
  };
2342
2364
  }();
2343
2365
 
@@ -2388,7 +2410,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2388
2410
  };
2389
2411
 
2390
2412
  _this2.inputPwd = function () {
2391
- var _ref22 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(paymode) {
2413
+ var _ref23 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(paymode) {
2392
2414
  var that, confirmPwd;
2393
2415
  return _regenerator2.default.wrap(function _callee15$(_context15) {
2394
2416
  while (1) {
@@ -2404,8 +2426,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2404
2426
  // if (v !== '') {
2405
2427
  modal.destroy();
2406
2428
 
2407
- var _ref23 = that.state || {},
2408
- confirmPwd = _ref23.confirmPwd;
2429
+ var _ref24 = that.state || {},
2430
+ confirmPwd = _ref24.confirmPwd;
2409
2431
 
2410
2432
  setTimeout(function () {
2411
2433
  paymode.authCode = v;
@@ -2495,8 +2517,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2495
2517
  type: 'primary', size: 'large', onClick: function onClick() {
2496
2518
  var v = (0, _trim3.default)(that['inputAmount']['input']['value']);
2497
2519
 
2498
- var _ref24 = that.state || {},
2499
- confirmPwd = _ref24.confirmPwd;
2520
+ var _ref25 = that.state || {},
2521
+ confirmPwd = _ref25.confirmPwd;
2500
2522
  // if (v !== '') {
2501
2523
 
2502
2524
 
@@ -2537,7 +2559,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2537
2559
  }));
2538
2560
 
2539
2561
  return function (_x10) {
2540
- return _ref22.apply(this, arguments);
2562
+ return _ref23.apply(this, arguments);
2541
2563
  };
2542
2564
  }();
2543
2565
 
@@ -2590,8 +2612,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2590
2612
 
2591
2613
  _this2.onCzkChange = function (v) {
2592
2614
  // console.log("czk change:"+new Date().toLocaleTimeString())
2593
- var _ref25 = _mutantsUtil.platform || {},
2594
- isNewRetailBCPos = _ref25.isNewRetailBCPos;
2615
+ var _ref26 = _mutantsUtil.platform || {},
2616
+ isNewRetailBCPos = _ref26.isNewRetailBCPos;
2595
2617
 
2596
2618
  if (!isNewRetailBCPos) {
2597
2619
  _this2.store.paymode.currentMode.member.setCardNo(v);
@@ -3172,22 +3194,22 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3172
3194
 
3173
3195
  _this2.hasElectron = hasElectron;
3174
3196
 
3175
- var _ref26 = _mutantsMicrofx.localStore.get('user') || {},
3176
- _ref26$loginInfo = _ref26.loginInfo;
3197
+ var _ref27 = _mutantsMicrofx.localStore.get('user') || {},
3198
+ _ref27$loginInfo = _ref27.loginInfo;
3177
3199
 
3178
- _ref26$loginInfo = _ref26$loginInfo === undefined ? {} : _ref26$loginInfo;
3179
- var MemberMeStorageCardInputByKeyBoard = _ref26$loginInfo.MemberMeStorageCardInputByKeyBoard,
3180
- ICCardServer = _ref26$loginInfo.ICCardServer,
3181
- ICCardPassword = _ref26$loginInfo.ICCardPassword;
3200
+ _ref27$loginInfo = _ref27$loginInfo === undefined ? {} : _ref27$loginInfo;
3201
+ var MemberMeStorageCardInputByKeyBoard = _ref27$loginInfo.MemberMeStorageCardInputByKeyBoard,
3202
+ ICCardServer = _ref27$loginInfo.ICCardServer,
3203
+ ICCardPassword = _ref27$loginInfo.ICCardPassword;
3182
3204
 
3183
3205
  _this2.isStorageCardInputType = MemberMeStorageCardInputByKeyBoard; // 仅储值卡是否禁用键盘输入,'0'为不禁用 '1'为禁用
3184
3206
  _this2.iCCardServer = parseInt(ICCardServer); // 启用IC卡:0为禁用 1为启用
3185
3207
  _this2.iCCardPassword = ICCardPassword; //IC卡密码
3186
3208
  //移动端环境下,没有读取IC卡的方式。
3187
3209
 
3188
- var _ref27 = _mutantsUtil.platform || {},
3189
- isHorizontalPad = _ref27.isHorizontalPad,
3190
- isHorizontalSunMi = _ref27.isHorizontalSunMi;
3210
+ var _ref28 = _mutantsUtil.platform || {},
3211
+ isHorizontalPad = _ref28.isHorizontalPad,
3212
+ isHorizontalSunMi = _ref28.isHorizontalSunMi;
3191
3213
 
3192
3214
  _this2.isHorizontalPad = !!isHorizontalPad;
3193
3215
  _this2.isHorizontalSunMi = !!isHorizontalSunMi;
@@ -3422,10 +3444,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3422
3444
  discountRetailTotalAount = _state2.discountRetailTotalAount,
3423
3445
  discountPrototypeTotalAmount = _state2.discountPrototypeTotalAmount,
3424
3446
  storageValue = _state2.storageValue,
3425
- czkValue = _state2.czkValue;
3447
+ czkValue = _state2.czkValue,
3448
+ newPassConfirm = _state2.newPassConfirm,
3449
+ newPass = _state2.newPass;
3426
3450
 
3427
- var _ref28 = _mutantsUtil.platform || {},
3428
- isNewRetailBCPos = _ref28.isNewRetailBCPos;
3451
+ var _ref29 = _mutantsUtil.platform || {},
3452
+ isNewRetailBCPos = _ref29.isNewRetailBCPos;
3429
3453
 
3430
3454
  var _store2 = this.store,
3431
3455
  paymode = _store2.paymode,
@@ -3488,11 +3512,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
3488
3512
  quantity4 = 0;
3489
3513
  var sumQuantity = 0; //数量总和的值,包括称重的。
3490
3514
 
3491
- var _ref29 = quantityDetail || {},
3492
- _ref29$buyQuantity = _ref29.buyQuantity,
3493
- buyQuantity = _ref29$buyQuantity === undefined ? 0 : _ref29$buyQuantity,
3494
- _ref29$returnQuantity = _ref29.returnQuantity,
3495
- returnQuantity = _ref29$returnQuantity === undefined ? 0 : _ref29$returnQuantity;
3515
+ var _ref30 = quantityDetail || {},
3516
+ _ref30$buyQuantity = _ref30.buyQuantity,
3517
+ buyQuantity = _ref30$buyQuantity === undefined ? 0 : _ref30$buyQuantity,
3518
+ _ref30$returnQuantity = _ref30.returnQuantity,
3519
+ returnQuantity = _ref30$returnQuantity === undefined ? 0 : _ref30$returnQuantity;
3496
3520
 
3497
3521
  var quantityPrecision = (0, _tplusPoslogin.PosInitData)("QuantityPrecision");
3498
3522
  quantityPrecision = quantityPrecision ? parseInt(quantityPrecision) : '';
@@ -4829,7 +4853,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4829
4853
  return _this8.czkInput = input;
4830
4854
  },
4831
4855
  onKeyDown: function () {
4832
- var _ref30 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee16(e) {
4856
+ var _ref31 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee16(e) {
4833
4857
  var time, _paymode;
4834
4858
 
4835
4859
  return _regenerator2.default.wrap(function _callee16$(_context16) {
@@ -4885,7 +4909,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4885
4909
  }));
4886
4910
 
4887
4911
  return function (_x12) {
4888
- return _ref30.apply(this, arguments);
4912
+ return _ref31.apply(this, arguments);
4889
4913
  };
4890
4914
  }(),
4891
4915
  onFocus: function onFocus(e) {
@@ -4942,8 +4966,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
4942
4966
  _this8.setCurrentModeValue(event.target.value, Math.min(currentMode.maxamount, currentMode.balance));
4943
4967
  },
4944
4968
  defaultValue: currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.balance)),
4945
- ref: function ref(_ref31) {
4946
- return _this8["inputCzkAmount"] = _ref31;
4969
+ ref: function ref(_ref32) {
4970
+ return _this8["inputCzkAmount"] = _ref32;
4947
4971
  },
4948
4972
  onFocus: function onFocus(e) {
4949
4973
  _this8.inputkey = "inputCzkAmount";
@@ -5033,21 +5057,23 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5033
5057
  _react2.default.createElement(
5034
5058
  'div',
5035
5059
  { className: 'two' },
5036
- _react2.default.createElement(_numkeyboardPassword2.default, {
5060
+ _react2.default.createElement(_input2.default.Password, {
5037
5061
  className: 'content',
5038
- newType: 'positive',
5039
- bordered: true,
5040
5062
  placeholder: '\u8BF7\u8F93\u51656\u4F4D\u6570\u5B57\u5BC6\u7801',
5041
5063
  style: { width: 266, height: 32 },
5042
5064
  maxLength: 6,
5065
+ value: newPass,
5043
5066
  ref: function ref(input) {
5044
5067
  return _this8.inputNewAmount = input;
5045
5068
  },
5046
5069
  onChange: function onChange(value) {
5047
- return _this8.setPwdValue('newPass', value);
5070
+ return _this8.setPwdValue('newPass', value.target.value);
5048
5071
  },
5049
5072
  onBlur: function onBlur(value) {
5050
5073
  return _this8.handleBlur('newPass');
5074
+ },
5075
+ onPressEnter: function onPressEnter() {
5076
+ return _this8.onPressEnterCzk('newPass');
5051
5077
  }
5052
5078
  })
5053
5079
  )
@@ -5063,21 +5089,23 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5063
5089
  _react2.default.createElement(
5064
5090
  'div',
5065
5091
  { className: 'two' },
5066
- _react2.default.createElement(_numkeyboardPassword2.default, {
5092
+ _react2.default.createElement(_input2.default.Password, {
5067
5093
  className: 'content',
5068
- newType: 'positive',
5069
- bordered: true,
5070
5094
  placeholder: '\u8BF7\u786E\u8BA46\u4F4D\u6570\u5B57\u5BC6\u7801',
5071
5095
  style: { width: 266, height: 32 },
5072
5096
  maxLength: 6,
5097
+ value: newPassConfirm,
5073
5098
  ref: function ref(input) {
5074
5099
  return _this8.inputConfirmAmount = input;
5075
5100
  },
5076
5101
  onChange: function onChange(value) {
5077
- return _this8.setPwdValue('newPassConfirm', value);
5102
+ return _this8.setPwdValue('newPassConfirm', value.target.value);
5078
5103
  },
5079
5104
  onBlur: function onBlur(value) {
5080
5105
  return _this8.handleBlur('newPassConfirm');
5106
+ },
5107
+ onPressEnter: function onPressEnter() {
5108
+ return _this8.onPressEnterCzk('newPassConfirm');
5081
5109
  }
5082
5110
  })
5083
5111
  )
@@ -5560,8 +5588,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
5560
5588
  _this8.setCurrentModeValue(e.target.value, Math.min(currentMode.maxamount, currentMode.member.exchangable));
5561
5589
  },
5562
5590
  defaultValue: currentMode && currentMode.member && (0, _utils.getFixedNumber)(Math.min(currentMode.value, currentMode.maxamount, currentMode.member.exchangable)),
5563
- ref: function ref(_ref32) {
5564
- return _this8["inputJfdxAmount"] = _ref32;
5591
+ ref: function ref(_ref33) {
5592
+ return _this8["inputJfdxAmount"] = _ref33;
5565
5593
  },
5566
5594
  onFocus: function onFocus(e) {
5567
5595
  _this8.inputkey = "inputJfdxAmount";