tplus-components-touch 3.33.15 → 3.33.16

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.
@@ -1167,7 +1167,7 @@ var SettlementStore = (_class = function () {
1167
1167
  status = this.type;
1168
1168
  _context4.prev = 4;
1169
1169
  paylist = this.paymode.thePaymodes.filter(function (v) {
1170
- return !!v.thridPayment && v.value > 0;
1170
+ return !!v.thridPayment && Math.abs(v.value) > 0;
1171
1171
  }) || [];
1172
1172
 
1173
1173
  if (!(paylist && paylist.length > 1)) {
@@ -1648,13 +1648,13 @@ var SettlementStore = (_class = function () {
1648
1648
 
1649
1649
  if (vType == 1) {
1650
1650
  dto.RetailPaymentDetails.forEach(function (v) {
1651
- if (v.ThirdPaymentInfo != null) {
1651
+ if (v.ThirdPaymentInfo != null && Math.abs(v.Amount) > 0) {
1652
1652
  v.ThirdPaymentReturnInfo = ThirdPaymentReturnInfo;
1653
1653
  }
1654
1654
  });
1655
1655
  } else if (vType == 2) {
1656
1656
  dto.StorageMutiSettleDetails.forEach(function (v) {
1657
- if (v.ThirdPaymentInfo != null) {
1657
+ if (v.ThirdPaymentInfo != null && Math.abs(v.StorageAmount) > 0) {
1658
1658
  v.ThirdPaymentReturnInfo = ThirdPaymentReturnInfo;
1659
1659
  }
1660
1660
  });
@@ -1676,7 +1676,7 @@ var SettlementStore = (_class = function () {
1676
1676
  case 24:
1677
1677
  _context7.prev = 24;
1678
1678
  _context7.t0 = _context7['catch'](0);
1679
- return _context7.abrupt('return', { type: false, data: null, msg: _context7.t0 });
1679
+ return _context7.abrupt('return', { type: false, data: null, msg: _context7.t0, code: '9999' });
1680
1680
 
1681
1681
  case 27:
1682
1682
  case 'end':