tplus-components-touch 3.27.27 → 3.27.28

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.
@@ -2537,20 +2537,24 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2537
2537
  //预订时,若没录入买家手机号,或配送方式为快递时,弹框买家信息确认框
2538
2538
 
2539
2539
  if (!(IdbusiType == 38)) {
2540
- _context14.next = 9;
2540
+ _context14.next = 10;
2541
2541
  break;
2542
2542
  }
2543
2543
 
2544
- if (!(!CustomerPhone || DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE')) {
2545
- _context14.next = 9;
2544
+ if (DistributionMode.Id == 'ON_SITE_PICKUP' && !CustomerPhone && _this2.context.viewModel.data.Member.Mobilephone) {
2545
+ _this2.props.syncMemberInfoProcessor();
2546
+ }
2547
+
2548
+ if (!(!CustomerPhone && !_this2.context.viewModel.data.Member.Mobilephone || DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE')) {
2549
+ _context14.next = 10;
2546
2550
  break;
2547
2551
  }
2548
2552
 
2549
2553
  title = (DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE') && Address ? '收货地址确认' : '收货人';
2550
- _context14.next = 9;
2554
+ _context14.next = 10;
2551
2555
  return _this2.props.openBuyerModal(title);
2552
2556
 
2553
- case 9:
2557
+ case 10:
2554
2558
 
2555
2559
  _this2.setState({
2556
2560
  bquick: bquick
@@ -2559,13 +2563,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2559
2563
  _this2$store7 = _this2.store, paymode = _this2$store7.paymode, brefund = _this2$store7.brefund, boriginReturn = _this2$store7.boriginReturn, newStyle = _this2$store7.newStyle;
2560
2564
 
2561
2565
  if (!(bquick && !_mutantsMicrofx.stores.offlineSys.shouldSettlement(type))) {
2562
- _context14.next = 14;
2566
+ _context14.next = 15;
2563
2567
  break;
2564
2568
  }
2565
2569
 
2566
2570
  return _context14.abrupt('return', false);
2567
2571
 
2568
- case 14:
2572
+ case 15:
2569
2573
  status = false;
2570
2574
 
2571
2575
  paymode.thePaymodes.forEach(function (v) {
@@ -2578,13 +2582,13 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2578
2582
  });
2579
2583
 
2580
2584
  if (!_this2.btndebounced) {
2581
- _context14.next = 19;
2585
+ _context14.next = 20;
2582
2586
  break;
2583
2587
  }
2584
2588
 
2585
2589
  return _context14.abrupt('return');
2586
2590
 
2587
- case 19:
2591
+ case 20:
2588
2592
  _this2.btndebounced = (0, _debounce3.default)(function () {
2589
2593
  if (bquick) {
2590
2594
  _this2.quickSettle(type);
@@ -2601,7 +2605,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
2601
2605
  _this2.btndebounced = null;
2602
2606
  }, 2000);
2603
2607
 
2604
- case 22:
2608
+ case 23:
2605
2609
  case 'end':
2606
2610
  return _context14.stop();
2607
2611
  }