tplus-components-touch 3.22.3 → 3.22.4

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.
@@ -1356,6 +1356,7 @@
1356
1356
  line-height: 32px;
1357
1357
  padding:4px 8px;
1358
1358
  background: #FFFFFF;
1359
+ border: 1px solid #C8C8CD;
1359
1360
  border-radius: 2px;
1360
1361
  }
1361
1362
  .notext{
@@ -1515,6 +1516,17 @@
1515
1516
  }
1516
1517
  }
1517
1518
  }
1519
+ .receivedNumber {
1520
+ padding-top: 10px;
1521
+ .receivedInput {
1522
+ padding: 0 !important;
1523
+ border: none !important;
1524
+ span:first-child {
1525
+ margin-top: 5px;
1526
+ text-align: left !important;
1527
+ }
1528
+ }
1529
+ }
1518
1530
  .unReturn{
1519
1531
  .title{
1520
1532
  font-size: 18px;
@@ -980,6 +980,8 @@ var SettlementStore = (_class = function () {
980
980
  key: 'commit',
981
981
  value: function () {
982
982
  var _ref11 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(bTest) {
983
+ var _ref12, isNewRetailBCPos;
984
+
983
985
  return _regenerator2.default.wrap(function _callee2$(_context2) {
984
986
  while (1) {
985
987
  switch (_context2.prev = _context2.next) {
@@ -994,43 +996,59 @@ var SettlementStore = (_class = function () {
994
996
  return _context2.abrupt('return', _promise2.default.resolve(true));
995
997
 
996
998
  case 3:
997
- _context2.prev = 3;
999
+ _ref12 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref12.isNewRetailBCPos;
1000
+ _context2.prev = 4;
998
1001
 
999
1002
  if (!(this.type == 1)) {
1000
- _context2.next = 9;
1003
+ _context2.next = 10;
1001
1004
  break;
1002
1005
  }
1003
1006
 
1004
- _context2.next = 7;
1007
+ _context2.next = 8;
1005
1008
  return this.saveMember();
1006
1009
 
1007
- case 7:
1008
- _context2.next = 11;
1010
+ case 8:
1011
+ _context2.next = 18;
1009
1012
  break;
1010
1013
 
1011
- case 9:
1012
- _context2.next = 11;
1014
+ case 10:
1015
+ if (!isNewRetailBCPos) {
1016
+ _context2.next = 13;
1017
+ break;
1018
+ }
1019
+
1020
+ _context2.next = 13;
1021
+ return _mutantsMicrofx.stores.offlineSys.generatorCode(this.dto);
1022
+
1023
+ case 13:
1024
+ _context2.next = 15;
1013
1025
  return this.save();
1014
1026
 
1015
- case 11:
1027
+ case 15:
1028
+ if (!isNewRetailBCPos) {
1029
+ _context2.next = 18;
1030
+ break;
1031
+ }
1032
+
1033
+ _context2.next = 18;
1034
+ return _mutantsMicrofx.stores.offlineSys.retailSequenceUpload();
1035
+
1036
+ case 18:
1016
1037
  return _context2.abrupt('return', _promise2.default.resolve(true));
1017
1038
 
1018
- case 14:
1019
- _context2.prev = 14;
1020
- _context2.t0 = _context2['catch'](3);
1039
+ case 21:
1040
+ _context2.prev = 21;
1041
+ _context2.t0 = _context2['catch'](4);
1021
1042
 
1022
1043
  console.error('settlementStore.commit失败,错误信息:' + _context2.t0);
1023
1044
  return _context2.abrupt('return', _promise2.default.resolve(_context2.t0));
1024
1045
 
1025
- case 18:
1026
- console.error('settlementStore.commit失败,错误信息:' + err);
1027
-
1028
- case 19:
1046
+ case 25:
1029
1047
  case 'end':
1030
1048
  return _context2.stop();
1031
1049
  }
1032
1050
  }
1033
- }, _callee2, this, [[3, 14]]);
1051
+ }, _callee2, this, [[4, 21]]);
1034
1052
  }));
1035
1053
 
1036
1054
  function commit(_x2) {
@@ -1092,10 +1110,10 @@ var SettlementStore = (_class = function () {
1092
1110
  }, {
1093
1111
  key: 'save',
1094
1112
  value: function () {
1095
- var _ref12 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
1113
+ var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
1096
1114
  var _this12 = this;
1097
1115
 
1098
- var _enumController$getEn13, PayStyle, _ref14, isNewRetailBCPos, IPMSG, RetailTypeEnum;
1116
+ var _enumController$getEn13, PayStyle, _ref15, isNewRetailBCPos, IPMSG, RetailTypeEnum;
1099
1117
 
1100
1118
  return _regenerator2.default.wrap(function _callee3$(_context3) {
1101
1119
  while (1) {
@@ -1177,8 +1195,8 @@ var SettlementStore = (_class = function () {
1177
1195
  }
1178
1196
  });
1179
1197
 
1180
- var _ref13 = _mutantsUtil.platform || {},
1181
- isNewRetailBCPos = _ref13.isNewRetailBCPos;
1198
+ var _ref14 = _mutantsUtil.platform || {},
1199
+ isNewRetailBCPos = _ref14.isNewRetailBCPos;
1182
1200
 
1183
1201
  if (_this12.dto.RetailStorageDetails.length > 0) {
1184
1202
  var themode = (0, _find3.default)(_this12.paymode.paymodes, { 'paymentType': PayStyle.hyczk });
@@ -1212,7 +1230,7 @@ var SettlementStore = (_class = function () {
1212
1230
  _this12.dto.Idmember = Idmember;
1213
1231
  }
1214
1232
  });
1215
- _ref14 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref14.isNewRetailBCPos;
1233
+ _ref15 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref15.isNewRetailBCPos;
1216
1234
 
1217
1235
  console.log('bc_pos\u73AF\u5883:' + isNewRetailBCPos + ',\u7ED3\u7B97\u6570\u636E\uFF1A', this.dto);
1218
1236
 
@@ -1281,7 +1299,7 @@ var SettlementStore = (_class = function () {
1281
1299
  }));
1282
1300
 
1283
1301
  function save() {
1284
- return _ref12.apply(this, arguments);
1302
+ return _ref13.apply(this, arguments);
1285
1303
  }
1286
1304
 
1287
1305
  return save;
@@ -1294,7 +1312,7 @@ var SettlementStore = (_class = function () {
1294
1312
  }, {
1295
1313
  key: 'querySettleResult',
1296
1314
  value: function () {
1297
- var _ref15 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
1315
+ var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
1298
1316
  return _regenerator2.default.wrap(function _callee4$(_context4) {
1299
1317
  while (1) {
1300
1318
  switch (_context4.prev = _context4.next) {
@@ -1322,7 +1340,7 @@ var SettlementStore = (_class = function () {
1322
1340
  }));
1323
1341
 
1324
1342
  function querySettleResult() {
1325
- return _ref15.apply(this, arguments);
1343
+ return _ref16.apply(this, arguments);
1326
1344
  }
1327
1345
 
1328
1346
  return querySettleResult;
@@ -1348,14 +1366,14 @@ var SettlementStore = (_class = function () {
1348
1366
  }, {
1349
1367
  key: 'validePwd',
1350
1368
  value: function () {
1351
- var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5(value) {
1352
- var _ref17, isNewRetailBCPos, cook1, cook2, message, result, count, _result;
1369
+ var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5(value) {
1370
+ var _ref18, isNewRetailBCPos, cook1, cook2, message, result, count, _result;
1353
1371
 
1354
1372
  return _regenerator2.default.wrap(function _callee5$(_context5) {
1355
1373
  while (1) {
1356
1374
  switch (_context5.prev = _context5.next) {
1357
1375
  case 0:
1358
- _ref17 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref17.isNewRetailBCPos;
1376
+ _ref18 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref18.isNewRetailBCPos;
1359
1377
  _context5.prev = 1;
1360
1378
 
1361
1379
  if (!isNewRetailBCPos) {
@@ -1439,7 +1457,7 @@ var SettlementStore = (_class = function () {
1439
1457
  }));
1440
1458
 
1441
1459
  function validePwd(_x3) {
1442
- return _ref16.apply(this, arguments);
1460
+ return _ref17.apply(this, arguments);
1443
1461
  }
1444
1462
 
1445
1463
  return validePwd;
@@ -1478,7 +1496,7 @@ var SettlementStore = (_class = function () {
1478
1496
  var _this14 = this;
1479
1497
 
1480
1498
  return function () {
1481
- var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(_this) {
1499
+ var _ref19 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(_this) {
1482
1500
  var _getLoginInfo, IdStore, StoreCode, resp;
1483
1501
 
1484
1502
  return _regenerator2.default.wrap(function _callee6$(_context6) {
@@ -1505,7 +1523,7 @@ var SettlementStore = (_class = function () {
1505
1523
  }));
1506
1524
 
1507
1525
  return function (_x4) {
1508
- return _ref18.apply(this, arguments);
1526
+ return _ref19.apply(this, arguments);
1509
1527
  };
1510
1528
  }();
1511
1529
  }
@@ -1594,8 +1612,8 @@ var PayMode = exports.PayMode = (_class3 = function () {
1594
1612
  return;
1595
1613
  }
1596
1614
 
1597
- var _ref19 = _mutantsUtil.platform || {},
1598
- isNewRetailBCPos = _ref19.isNewRetailBCPos;
1615
+ var _ref20 = _mutantsUtil.platform || {},
1616
+ isNewRetailBCPos = _ref20.isNewRetailBCPos;
1599
1617
 
1600
1618
  var _enumController$getEn14 = _mutantsUtil.enumController.getEnumOj(),
1601
1619
  PayStyle = _enumController$getEn14.PayStyle,
@@ -1702,18 +1720,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
1702
1720
  return djq.id === element.id;
1703
1721
  });
1704
1722
 
1705
- var _ref20 = element || {},
1706
- couponCode = _ref20.couponCode,
1707
- name = _ref20.name,
1708
- tieredAmountResult = _ref20.tieredAmountResult,
1709
- fromDate = _ref20.fromDate,
1710
- dateMount = _ref20.dateMount,
1711
- promoMethodEnum = _ref20.promoMethodEnum,
1712
- discountPct = _ref20.discountPct,
1713
- nominalAmount = _ref20.nominalAmount,
1714
- promoId = _ref20.promoId,
1715
- id = _ref20.id,
1716
- doorsill = _ref20.doorsill;
1723
+ var _ref21 = element || {},
1724
+ couponCode = _ref21.couponCode,
1725
+ name = _ref21.name,
1726
+ tieredAmountResult = _ref21.tieredAmountResult,
1727
+ fromDate = _ref21.fromDate,
1728
+ dateMount = _ref21.dateMount,
1729
+ promoMethodEnum = _ref21.promoMethodEnum,
1730
+ discountPct = _ref21.discountPct,
1731
+ nominalAmount = _ref21.nominalAmount,
1732
+ promoId = _ref21.promoId,
1733
+ id = _ref21.id,
1734
+ doorsill = _ref21.doorsill;
1717
1735
 
1718
1736
  var condValue = tieredAmountResult.condValue,
1719
1737
  promoDiscount = tieredAmountResult.promoDiscount,
@@ -1755,8 +1773,8 @@ var PayMode = exports.PayMode = (_class3 = function () {
1755
1773
  }, {
1756
1774
  key: 'calcDjqValue',
1757
1775
  value: function calcDjqValue(q1) {
1758
- var _ref21 = _mutantsUtil.platform || {},
1759
- isNewRetailBCPos = _ref21.isNewRetailBCPos;
1776
+ var _ref22 = _mutantsUtil.platform || {},
1777
+ isNewRetailBCPos = _ref22.isNewRetailBCPos;
1760
1778
 
1761
1779
  var _enumController$getEn15 = _mutantsUtil.enumController.getEnumOj(),
1762
1780
  Differentiate = _enumController$getEn15.Differentiate;
@@ -1846,7 +1864,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1846
1864
  }, {
1847
1865
  key: 'setPaymodes',
1848
1866
  value: function () {
1849
- var _ref22 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, isIntegralExchange) {
1867
+ var _ref23 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, isIntegralExchange) {
1850
1868
  var _this16 = this;
1851
1869
 
1852
1870
  var _enumController$getEn17, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
@@ -1879,6 +1897,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1879
1897
  isQuick: (0, _findIndex3.default)(modes.QuickSettleStyles, { 'Code': mode.Code }) >= 0,
1880
1898
  orderBy: 1,
1881
1899
  paymentType: mode.Code,
1900
+ offlineDisable: mode.offlineDisable,
1882
1901
  idSettleStyle: mode.IdSettleStyle,
1883
1902
  idBankAccount: mode.IdBankAccount,
1884
1903
  exchangeRate: mode.Currency ? mode.Currency.ExchangeRate : 1,
@@ -1900,7 +1919,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1900
1919
  }));
1901
1920
 
1902
1921
  function setPaymodes(_x5, _x6) {
1903
- return _ref22.apply(this, arguments);
1922
+ return _ref23.apply(this, arguments);
1904
1923
  }
1905
1924
 
1906
1925
  return setPaymodes;
@@ -2020,8 +2039,8 @@ var Member = exports.Member = (_class5 = function () {
2020
2039
  return key == 'canusedbalancestorage';
2021
2040
  });
2022
2041
 
2023
- var _ref23 = _mutantsUtil.platform || {},
2024
- isNewRetailBCPos = _ref23.isNewRetailBCPos;
2042
+ var _ref24 = _mutantsUtil.platform || {},
2043
+ isNewRetailBCPos = _ref24.isNewRetailBCPos;
2025
2044
 
2026
2045
  m.StorageCardNo && (this.StorageCardNo = m.StorageCardNo);
2027
2046
  m.MeStorageCardId && (this.MeStorageCardId = m.MeStorageCardId);