tplus-components-touch 3.26.13 → 3.26.17

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.
@@ -1041,9 +1041,10 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
1041
1041
  paymode.currentMode = null;
1042
1042
  switch (key) {
1043
1043
  case PayStyle.hyczk:
1044
- _this2.showCzkModal(-1);
1045
1044
  _this2.setState({
1046
1045
  isInputMember: true
1046
+ }, function () {
1047
+ _this2.showCzkModal(-1);
1047
1048
  });
1048
1049
  break;
1049
1050
  case PayStyle.jfdx:
@@ -2290,8 +2291,14 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2290
2291
  _enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn22.PayStyle;
2291
2292
 
2292
2293
  if (curmode.paymentType === PayStyle.hyczk) {
2293
- if (curmode.cardTypeEnum === 'BALANCE_CARD' && !_this2.store.dto.FreePaymentPasswordStore || curmode.isNeedPassword) {
2294
- promises.push(that.inputPwd(curmode));
2294
+ if (curmode.cardTypeEnum === 'BALANCE_CARD') {
2295
+ !_this2.store.dto.FreePaymentPasswordStore && promises.push(that.inputPwd(curmode));
2296
+ } else {
2297
+ if (_this2.store.dto.Idmember === curmode.memberId) {
2298
+ !_this2.store.dto.FreePaymentPasswordStore && promises.push(that.inputPwd(curmode));
2299
+ } else {
2300
+ curmode.isNeedPassword && promises.push(that.inputPwd(curmode));
2301
+ }
2295
2302
  }
2296
2303
  }
2297
2304
  }