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.
- package/dist/components/addLog/AddLogProcessor.js +1 -5
- package/dist/components/addLog/AddLogProcessor.js.map +1 -1
- package/dist/components/addLog/OperationLogApi.js +6 -45
- package/dist/components/addLog/OperationLogApi.js.map +1 -1
- package/dist/components/loading/index.js +5 -0
- package/dist/components/loading/index.js.map +1 -1
- package/dist/components/loading/loadingContent.js +23 -6
- package/dist/components/loading/loadingContent.js.map +1 -1
- package/dist/components/loading/style.less +12 -2
- package/dist/components/message/index.js +11 -0
- package/dist/components/message/index.js.map +1 -1
- package/dist/components/message/index.less +16 -1
- package/dist/components/settlement/settlement.js +92 -55
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlement.less +12 -0
- package/dist/components/settlement/settlementStore.js +69 -50
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/ticon/iconfont/demo_index.html +5202 -5202
- package/dist/components/ticon/iconfont/iconfont.css +887 -887
- package/dist/components/ticon/iconfont/iconfont.json +1535 -1535
- package/dist/components/ticon/iconfont/iconfont.ttf +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff2 +0 -0
- package/package.json +35 -35
|
@@ -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
|
-
|
|
999
|
+
_ref12 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref12.isNewRetailBCPos;
|
|
1000
|
+
_context2.prev = 4;
|
|
998
1001
|
|
|
999
1002
|
if (!(this.type == 1)) {
|
|
1000
|
-
_context2.next =
|
|
1003
|
+
_context2.next = 10;
|
|
1001
1004
|
break;
|
|
1002
1005
|
}
|
|
1003
1006
|
|
|
1004
|
-
_context2.next =
|
|
1007
|
+
_context2.next = 8;
|
|
1005
1008
|
return this.saveMember();
|
|
1006
1009
|
|
|
1007
|
-
case
|
|
1008
|
-
_context2.next =
|
|
1010
|
+
case 8:
|
|
1011
|
+
_context2.next = 18;
|
|
1009
1012
|
break;
|
|
1010
1013
|
|
|
1011
|
-
case
|
|
1012
|
-
|
|
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
|
|
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
|
|
1019
|
-
_context2.prev =
|
|
1020
|
-
_context2.t0 = _context2['catch'](
|
|
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
|
|
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, [[
|
|
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
|
|
1113
|
+
var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
|
|
1096
1114
|
var _this12 = this;
|
|
1097
1115
|
|
|
1098
|
-
var _enumController$getEn13, PayStyle,
|
|
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
|
|
1181
|
-
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1352
|
-
var
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1598
|
-
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
|
|
1706
|
-
couponCode =
|
|
1707
|
-
name =
|
|
1708
|
-
tieredAmountResult =
|
|
1709
|
-
fromDate =
|
|
1710
|
-
dateMount =
|
|
1711
|
-
promoMethodEnum =
|
|
1712
|
-
discountPct =
|
|
1713
|
-
nominalAmount =
|
|
1714
|
-
promoId =
|
|
1715
|
-
id =
|
|
1716
|
-
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
|
|
1759
|
-
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
|
|
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
|
|
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
|
|
2024
|
-
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);
|