tplus-components-touch 3.27.35 → 3.27.36

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.
@@ -1379,7 +1379,7 @@ var SettlementStore = (_class = function () {
1379
1379
  console.log('bc_pos\u73AF\u5883:' + isNewRetailBCPos + ',\u7ED3\u7B97\u6570\u636E\uFF1A', this.dto);
1380
1380
 
1381
1381
  if (!isNewRetailBCPos) {
1382
- _context4.next = 24;
1382
+ _context4.next = 23;
1383
1383
  break;
1384
1384
  }
1385
1385
 
@@ -1402,40 +1402,32 @@ var SettlementStore = (_class = function () {
1402
1402
  _this11.dto.PrepaidAmount = prepaidAmount;
1403
1403
  });
1404
1404
  }
1405
- this.dto.RetailDetails.forEach(function (o) {
1406
- if (o.BaseQuantity != o.Quantity && !o.Idunit2) {
1407
- (0, _mobx.runInAction)(function () {
1408
- o.BaseQuantity = o.Quantity;
1409
- });
1410
- _tplusComponentsTouch.ModalWraper.confirm({ content: '请回想该订单下单时的操作步骤,复现退货时提示"退货数量大于可退数量的问题",联系赵录方' });
1411
- }
1412
- });
1413
1405
  _context4.t1 = this.dto.IdbusiType == 37;
1414
1406
 
1415
1407
  if (!_context4.t1) {
1416
- _context4.next = 17;
1408
+ _context4.next = 16;
1417
1409
  break;
1418
1410
  }
1419
1411
 
1420
- _context4.next = 16;
1412
+ _context4.next = 15;
1421
1413
  return this.checkIntegralExchangeReturn(this.dto.RetailDetails[0].ReturnSourceId);
1422
1414
 
1423
- case 16:
1415
+ case 15:
1424
1416
  _context4.t1 = _context4.sent;
1425
1417
 
1426
- case 17:
1418
+ case 16:
1427
1419
  _context4.t0 = _context4.t1;
1428
1420
 
1429
1421
  if (_context4.t0) {
1430
- _context4.next = 20;
1422
+ _context4.next = 19;
1431
1423
  break;
1432
1424
  }
1433
1425
 
1434
1426
  _context4.t0 = this.dto.IdbusiType != 37;
1435
1427
 
1436
- case 20:
1428
+ case 19:
1437
1429
  if (!_context4.t0) {
1438
- _context4.next = 22;
1430
+ _context4.next = 21;
1439
1431
  break;
1440
1432
  }
1441
1433
 
@@ -1445,17 +1437,17 @@ var SettlementStore = (_class = function () {
1445
1437
  _this11.billID = resp.ID;
1446
1438
  }));
1447
1439
 
1448
- case 22:
1449
- _context4.next = 25;
1440
+ case 21:
1441
+ _context4.next = 24;
1450
1442
  break;
1451
1443
 
1452
- case 24:
1444
+ case 23:
1453
1445
  return _context4.abrupt('return', (0, _tplusApi.tApi)({ dto: this.dto.cut() }, 'chanjet.RE.newRetail.Settle', false, false, { timeout_skip: true }).then(function (resp) {
1454
1446
  _this11.setDtoID(resp.ID);
1455
1447
  _this11.billID = resp.ID;
1456
1448
  }));
1457
1449
 
1458
- case 25:
1450
+ case 24:
1459
1451
  case 'end':
1460
1452
  return _context4.stop();
1461
1453
  }