tplus-components-touch 3.26.7 → 3.26.11
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/README.md +16 -16
- package/dist/components/acCitySelect/CitySelect.js +18 -18
- package/dist/components/acCitySelect/CitySelect.js.map +1 -1
- package/dist/components/acCitySelect/CitySelect.less +9 -9
- package/dist/components/acCitySelect/citys.js.map +1 -1
- package/dist/components/acCitySelect/index.js.map +1 -1
- package/dist/components/acCitySelect/provinceData.js +7 -7
- package/dist/components/acCitySelect/provinceData.js.map +1 -1
- package/dist/components/addLog/AddLogProcessor.js +6 -6
- package/dist/components/addLog/AddLogProcessor.js.map +1 -1
- package/dist/components/addLog/OperationLogApi.js +3 -3
- package/dist/components/addLog/OperationLogApi.js.map +1 -1
- package/dist/components/autoComplete/index.js +14 -14
- package/dist/components/autoComplete/index.js.map +1 -1
- package/dist/components/autoComplete/index.less +89 -89
- package/dist/components/autoComplete/option.js.map +1 -1
- package/dist/components/autoCompleteWithKeyboard/index.js +14 -14
- package/dist/components/autoCompleteWithKeyboard/index.js.map +1 -1
- package/dist/components/autoCompleteWithKeyboard/index.less +7 -7
- package/dist/components/billSearch/api.js +29 -29
- package/dist/components/billSearch/api.js.map +1 -1
- package/dist/components/billSearch/index.js +18 -18
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/billSearch/index.less +373 -373
- package/dist/components/cloudPrint/BTPrintFormatUtil.js +17 -17
- package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
- package/dist/components/cloudPrint/api.js.map +1 -1
- package/dist/components/cloudPrint/index.js +57 -4
- package/dist/components/cloudPrint/index.js.map +1 -1
- package/dist/components/cloudPrint/printDispatch.js +7 -7
- package/dist/components/cloudPrint/printDispatch.js.map +1 -1
- package/dist/components/commonForm/addressPicker/index.js +7 -7
- package/dist/components/commonForm/addressPicker/index.js.map +1 -1
- package/dist/components/commonForm/addressPicker/style.less +10 -10
- package/dist/components/commonForm/autoComplete/index.js.map +1 -1
- package/dist/components/commonForm/autoComplete/style.less +2 -2
- package/dist/components/commonForm/datePicker/index.js.map +1 -1
- package/dist/components/commonForm/datePicker/style.less +4 -4
- package/dist/components/commonForm/formControl/index.js.map +1 -1
- package/dist/components/commonForm/index.js +4 -4
- package/dist/components/commonForm/index.js.map +1 -1
- package/dist/components/commonForm/inputNumber/index.js.map +1 -1
- package/dist/components/commonForm/inputNumber/style.less +10 -10
- package/dist/components/commonForm/radio/index.js.map +1 -1
- package/dist/components/commonForm/style.less +1 -1
- package/dist/components/deliverySearch/api.js +21 -21
- package/dist/components/deliverySearch/api.js.map +1 -1
- package/dist/components/deliverySearch/index.js +16 -12
- package/dist/components/deliverySearch/index.js.map +1 -1
- package/dist/components/deliverySearch/index.less +553 -553
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/hardwareAPI/index.js.map +1 -1
- package/dist/components/hotKey/config.js +23 -23
- package/dist/components/hotKey/config.js.map +1 -1
- package/dist/components/hotKey/hotKeyModal.js.map +1 -1
- package/dist/components/hotKey/index.js +26 -26
- package/dist/components/hotKey/index.js.map +1 -1
- package/dist/components/hotKey/localConfig.js.map +1 -1
- package/dist/components/hotKey/style.less +96 -96
- package/dist/components/hotKey/utils.js.map +1 -1
- package/dist/components/input/index.js +6 -6
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/input/scanInput.js +98 -0
- package/dist/components/input/scanInput.js.map +1 -0
- package/dist/components/input/scanInput.less +28 -0
- package/dist/components/input/style.less +99 -99
- package/dist/components/input/tplusInput/index.js +30 -30
- package/dist/components/input/tplusInput/index.js.map +1 -1
- package/dist/components/input/tplusInput/inputContent.js.map +1 -1
- package/dist/components/input/tplusInput/inputs.js.map +1 -1
- package/dist/components/input/tplusInput/style.less +132 -132
- package/dist/components/input/utils/index.js.map +1 -1
- package/dist/components/inventorySearch/api.js +58 -58
- package/dist/components/inventorySearch/api.js.map +1 -1
- package/dist/components/inventorySearch/index.js +3 -3
- package/dist/components/inventorySearch/index.js.map +1 -1
- package/dist/components/inventorySearch/index.less +119 -119
- package/dist/components/inventorySearch/store.js +31 -12
- package/dist/components/inventorySearch/store.js.map +1 -1
- package/dist/components/inventorySearch/tab.js +9 -2
- package/dist/components/inventorySearch/tab.js.map +1 -1
- package/dist/components/keyboard/index.js.map +1 -1
- package/dist/components/keyboard/index.less +469 -469
- package/dist/components/keyboard/letterKeyboard.js +2 -2
- package/dist/components/keyboard/letterKeyboard.js.map +1 -1
- package/dist/components/keyboard/numKeyboard.js +4 -4
- package/dist/components/keyboard/numKeyboard.js.map +1 -1
- package/dist/components/keyboard/numKeyboardScan.js.map +1 -1
- package/dist/components/keyboard/numberButton_input.js +5 -5
- package/dist/components/keyboard/numberButton_input.js.map +1 -1
- package/dist/components/keyboard/numkeyboardPassword.js +4 -4
- package/dist/components/keyboard/numkeyboardPassword.js.map +1 -1
- package/dist/components/keyboard/onlyKeyboard.js +7 -7
- package/dist/components/keyboard/onlyKeyboard.js.map +1 -1
- package/dist/components/keyboard/onlyLetterButton.js +2 -2
- package/dist/components/keyboard/onlyLetterButton.js.map +1 -1
- package/dist/components/keyboard/onlyLetterButton2.js +2 -2
- package/dist/components/keyboard/onlyLetterButton2.js.map +1 -1
- package/dist/components/keyboard/onlyLetterButton2.less +161 -161
- package/dist/components/keyboard/onlyNumberButton.js +2 -2
- package/dist/components/keyboard/onlyNumberButton.js.map +1 -1
- package/dist/components/keyboard/onlyNumberButton2.js +3 -3
- package/dist/components/keyboard/onlyNumberButton2.js.map +1 -1
- package/dist/components/keyboard/textKeyboard.js.map +1 -1
- package/dist/components/layout/hamburger.js.map +1 -1
- package/dist/components/layout/index.js +10 -10
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/layout.js.map +1 -1
- package/dist/components/layout/sider.js +12 -12
- package/dist/components/layout/sider.js.map +1 -1
- package/dist/components/layout/style.less +82 -82
- package/dist/components/loading/index.js +15 -15
- package/dist/components/loading/index.js.map +1 -1
- package/dist/components/loading/loadingContent.js +13 -4
- package/dist/components/loading/loadingContent.js.map +1 -1
- package/dist/components/loading/style.less +70 -61
- package/dist/components/loading/utils.js.map +1 -1
- package/dist/components/message/index.js +16 -13
- package/dist/components/message/index.js.map +1 -1
- package/dist/components/message/index.less +101 -101
- package/dist/components/modal/index.js.map +1 -1
- package/dist/components/modal/index.less +19 -19
- package/dist/components/modalVertical/index.js +7 -7
- package/dist/components/modalVertical/index.js.map +1 -1
- package/dist/components/modalVertical/style.less +60 -60
- package/dist/components/modalWraper/index.js +15 -15
- package/dist/components/modalWraper/index.js.map +1 -1
- package/dist/components/modalWraper/style.less +257 -257
- package/dist/components/modalWraper/utils.js.map +1 -1
- package/dist/components/notification/index.js +4 -4
- package/dist/components/notification/index.js.map +1 -1
- package/dist/components/notification/index.less +51 -51
- package/dist/components/overflowTip/index.js +15 -15
- package/dist/components/overflowTip/index.js.map +1 -1
- package/dist/components/overflowTip/style.less +66 -66
- package/dist/components/page/index.js.map +1 -1
- package/dist/components/page/index.less +21 -21
- package/dist/components/product/detail.js +7 -7
- package/dist/components/product/detail.js.map +1 -1
- package/dist/components/product/getCard.js +5 -5
- package/dist/components/product/getCard.js.map +1 -1
- package/dist/components/product/index.less +128 -128
- package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
- package/dist/components/progressState/ProgressState.js +10 -10
- package/dist/components/progressState/ProgressState.js.map +1 -1
- package/dist/components/progressState/index.js.map +1 -1
- package/dist/components/progressState/style.less +65 -65
- package/dist/components/scan/index.js.map +1 -1
- package/dist/components/scan/index.less +33 -33
- package/dist/components/select/index.js.map +1 -1
- package/dist/components/select/index.less +11 -11
- package/dist/components/settlement/asyncModal.js.map +1 -1
- package/dist/components/settlement/index.js.map +1 -1
- package/dist/components/settlement/prototypeTable/index.js.map +1 -1
- package/dist/components/settlement/prototypeTable/style.less +58 -58
- package/dist/components/settlement/prototypeTable/utils.js.map +1 -1
- package/dist/components/settlement/settlement.js +129 -121
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlement.less +1646 -1646
- package/dist/components/settlement/settlementStore.js +54 -52
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/settlement/utils.js.map +1 -1
- package/dist/components/socket/index.js +17 -16
- package/dist/components/socket/index.js.map +1 -1
- package/dist/components/spin/index.js +6 -6
- package/dist/components/spin/index.js.map +1 -1
- package/dist/components/spin/spin-style.less +436 -436
- package/dist/components/test/index.js +3 -3
- package/dist/components/test/index.js.map +1 -1
- package/dist/components/ticon/iconfont/demo_index.html +5248 -5248
- package/dist/components/ticon/iconfont/iconfont.css +895 -895
- package/dist/components/ticon/iconfont/iconfont.json +1549 -1549
- package/dist/components/ticon/iconfont/iconfont.svg +593 -593
- package/dist/components/ticon/index.js.map +1 -1
- package/dist/components/touchScroll/index.js +9 -9
- package/dist/components/touchScroll/index.js.map +1 -1
- package/dist/components/touchTable/AuthProcess.js.map +1 -1
- package/dist/components/touchTable/generateWater.js.map +1 -1
- package/dist/components/touchTable/index.js +9 -9
- package/dist/components/touchTable/index.js.map +1 -1
- package/dist/components/touchTable/index.less +369 -369
- package/dist/components/touchTable/utils.js.map +1 -1
- package/dist/demo/PopOverDemo.js.map +1 -1
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/dist/util/tools.js +5 -7
- package/dist/util/tools.js.map +1 -1
- package/locales/zh/tplus-components-touch.json +1 -1
- package/locales/zh-CN/tplus-components-touch.json +1 -1
- package/mocks/memberInfo.json +79 -79
- package/package.json +35 -35
- package/tsconfig.json +26 -26
|
@@ -586,7 +586,7 @@ var SettlementStore = (_class = function () {
|
|
|
586
586
|
if (ele === "mestoragecard") {
|
|
587
587
|
balanceAmount = detail.DynamicPropertyValues[index].BalanceStorage - detail.StoragePaymentAmount;
|
|
588
588
|
storageCardNo = detail.DynamicPropertyValues[index].StorageCardNo;
|
|
589
|
-
meStorageCardId = detail.DynamicPropertyValues[index].
|
|
589
|
+
meStorageCardId = detail.DynamicPropertyValues[index].MeStorageCardId;
|
|
590
590
|
}
|
|
591
591
|
});
|
|
592
592
|
var newmode = (0, _extends3.default)({}, _this5.genNewMode(PayStyle.hyczk, false, detail.StoragePaymentAmount), {
|
|
@@ -659,11 +659,7 @@ var SettlementStore = (_class = function () {
|
|
|
659
659
|
}, {
|
|
660
660
|
key: 'getLoginInfo',
|
|
661
661
|
value: function getLoginInfo() {
|
|
662
|
-
|
|
663
|
-
_ref7$loginInfo = _ref7.loginInfo,
|
|
664
|
-
loginInfo = _ref7$loginInfo === undefined ? {} : _ref7$loginInfo;
|
|
665
|
-
|
|
666
|
-
return loginInfo;
|
|
662
|
+
return _mutantsMicrofx.stores.user.options.get('loginInfo');
|
|
667
663
|
}
|
|
668
664
|
}, {
|
|
669
665
|
key: 'loadCzk',
|
|
@@ -679,15 +675,15 @@ var SettlementStore = (_class = function () {
|
|
|
679
675
|
var IdStore = this.storeInfo.storeID;
|
|
680
676
|
var StoreCode = this.storeInfo.storeCode; //_find(this.storeInfo.storeInfos,(store)=>{return store.ID==IdStore;}).Code;
|
|
681
677
|
|
|
682
|
-
var
|
|
683
|
-
isNewRetailBCPos =
|
|
678
|
+
var _ref7 = _mutantsUtil.platform || {},
|
|
679
|
+
isNewRetailBCPos = _ref7.isNewRetailBCPos;
|
|
684
680
|
|
|
685
681
|
var address = '';
|
|
686
682
|
if (isNewRetailBCPos) {
|
|
687
683
|
// address = '/member/memberProfile/FindByStorageCode/'+v;
|
|
688
684
|
address = '/marketingtool/MeStorageCard/getCardInfoByCardNo/' + v + '/' + true;
|
|
689
685
|
return (0, _tplusApi.ccApi)({ code: v }, address, false, false, { method: 'get', timeout_skip: true }).then(function () {
|
|
690
|
-
var
|
|
686
|
+
var _ref8 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(result) {
|
|
691
687
|
var data, m;
|
|
692
688
|
return _regenerator2.default.wrap(function _callee2$(_context2) {
|
|
693
689
|
while (1) {
|
|
@@ -727,7 +723,7 @@ var SettlementStore = (_class = function () {
|
|
|
727
723
|
}));
|
|
728
724
|
|
|
729
725
|
return function (_x2) {
|
|
730
|
-
return
|
|
726
|
+
return _ref8.apply(this, arguments);
|
|
731
727
|
};
|
|
732
728
|
}());
|
|
733
729
|
} else {
|
|
@@ -1045,8 +1041,8 @@ var SettlementStore = (_class = function () {
|
|
|
1045
1041
|
}, {
|
|
1046
1042
|
key: 'commit',
|
|
1047
1043
|
value: function () {
|
|
1048
|
-
var
|
|
1049
|
-
var
|
|
1044
|
+
var _ref9 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3(bTest) {
|
|
1045
|
+
var _ref10, isNewRetailBCPos;
|
|
1050
1046
|
|
|
1051
1047
|
return _regenerator2.default.wrap(function _callee3$(_context3) {
|
|
1052
1048
|
while (1) {
|
|
@@ -1062,7 +1058,7 @@ var SettlementStore = (_class = function () {
|
|
|
1062
1058
|
return _context3.abrupt('return', _promise2.default.resolve(true));
|
|
1063
1059
|
|
|
1064
1060
|
case 3:
|
|
1065
|
-
|
|
1061
|
+
_ref10 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref10.isNewRetailBCPos;
|
|
1066
1062
|
_context3.prev = 4;
|
|
1067
1063
|
|
|
1068
1064
|
if (!(this.type == 1)) {
|
|
@@ -1118,7 +1114,7 @@ var SettlementStore = (_class = function () {
|
|
|
1118
1114
|
}));
|
|
1119
1115
|
|
|
1120
1116
|
function commit(_x3) {
|
|
1121
|
-
return
|
|
1117
|
+
return _ref9.apply(this, arguments);
|
|
1122
1118
|
}
|
|
1123
1119
|
|
|
1124
1120
|
return commit;
|
|
@@ -1176,10 +1172,10 @@ var SettlementStore = (_class = function () {
|
|
|
1176
1172
|
}, {
|
|
1177
1173
|
key: 'save',
|
|
1178
1174
|
value: function () {
|
|
1179
|
-
var
|
|
1175
|
+
var _ref11 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
|
|
1180
1176
|
var _this11 = this;
|
|
1181
1177
|
|
|
1182
|
-
var _enumController$getEn14, PayStyle,
|
|
1178
|
+
var _enumController$getEn14, PayStyle, _ref13, isNewRetailBCPos, IPMSG, RetailTypeEnum;
|
|
1183
1179
|
|
|
1184
1180
|
return _regenerator2.default.wrap(function _callee4$(_context4) {
|
|
1185
1181
|
while (1) {
|
|
@@ -1254,8 +1250,8 @@ var SettlementStore = (_class = function () {
|
|
|
1254
1250
|
}
|
|
1255
1251
|
});
|
|
1256
1252
|
|
|
1257
|
-
var
|
|
1258
|
-
isNewRetailBCPos =
|
|
1253
|
+
var _ref12 = _mutantsUtil.platform || {},
|
|
1254
|
+
isNewRetailBCPos = _ref12.isNewRetailBCPos;
|
|
1259
1255
|
|
|
1260
1256
|
if (_this11.dto.RetailStorageDetails.length > 0) {
|
|
1261
1257
|
var themode = (0, _find3.default)(_this11.paymode.paymodes, { 'paymentType': PayStyle.hyczk });
|
|
@@ -1285,7 +1281,7 @@ var SettlementStore = (_class = function () {
|
|
|
1285
1281
|
}
|
|
1286
1282
|
}
|
|
1287
1283
|
});
|
|
1288
|
-
|
|
1284
|
+
_ref13 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref13.isNewRetailBCPos;
|
|
1289
1285
|
|
|
1290
1286
|
console.log('bc_pos\u73AF\u5883:' + isNewRetailBCPos + ',\u7ED3\u7B97\u6570\u636E\uFF1A', this.dto);
|
|
1291
1287
|
|
|
@@ -1355,7 +1351,7 @@ var SettlementStore = (_class = function () {
|
|
|
1355
1351
|
}));
|
|
1356
1352
|
|
|
1357
1353
|
function save() {
|
|
1358
|
-
return
|
|
1354
|
+
return _ref11.apply(this, arguments);
|
|
1359
1355
|
}
|
|
1360
1356
|
|
|
1361
1357
|
return save;
|
|
@@ -1368,7 +1364,7 @@ var SettlementStore = (_class = function () {
|
|
|
1368
1364
|
}, {
|
|
1369
1365
|
key: 'querySettleResult',
|
|
1370
1366
|
value: function () {
|
|
1371
|
-
var
|
|
1367
|
+
var _ref14 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5() {
|
|
1372
1368
|
return _regenerator2.default.wrap(function _callee5$(_context5) {
|
|
1373
1369
|
while (1) {
|
|
1374
1370
|
switch (_context5.prev = _context5.next) {
|
|
@@ -1396,7 +1392,7 @@ var SettlementStore = (_class = function () {
|
|
|
1396
1392
|
}));
|
|
1397
1393
|
|
|
1398
1394
|
function querySettleResult() {
|
|
1399
|
-
return
|
|
1395
|
+
return _ref14.apply(this, arguments);
|
|
1400
1396
|
}
|
|
1401
1397
|
|
|
1402
1398
|
return querySettleResult;
|
|
@@ -1422,14 +1418,14 @@ var SettlementStore = (_class = function () {
|
|
|
1422
1418
|
}, {
|
|
1423
1419
|
key: 'validePwd',
|
|
1424
1420
|
value: function () {
|
|
1425
|
-
var
|
|
1426
|
-
var
|
|
1421
|
+
var _ref15 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(value) {
|
|
1422
|
+
var _ref16, isNewRetailBCPos, cook1, cook2, message, memberStorageId, _paymode$currentMode, cardTypeEnum, memberId, meStorageCardId, result, count, _result;
|
|
1427
1423
|
|
|
1428
1424
|
return _regenerator2.default.wrap(function _callee6$(_context6) {
|
|
1429
1425
|
while (1) {
|
|
1430
1426
|
switch (_context6.prev = _context6.next) {
|
|
1431
1427
|
case 0:
|
|
1432
|
-
|
|
1428
|
+
_ref16 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref16.isNewRetailBCPos;
|
|
1433
1429
|
_context6.prev = 1;
|
|
1434
1430
|
|
|
1435
1431
|
if (!isNewRetailBCPos) {
|
|
@@ -1532,7 +1528,7 @@ var SettlementStore = (_class = function () {
|
|
|
1532
1528
|
}));
|
|
1533
1529
|
|
|
1534
1530
|
function validePwd(_x4) {
|
|
1535
|
-
return
|
|
1531
|
+
return _ref15.apply(this, arguments);
|
|
1536
1532
|
}
|
|
1537
1533
|
|
|
1538
1534
|
return validePwd;
|
|
@@ -1571,7 +1567,7 @@ var SettlementStore = (_class = function () {
|
|
|
1571
1567
|
var _this13 = this;
|
|
1572
1568
|
|
|
1573
1569
|
return function () {
|
|
1574
|
-
var
|
|
1570
|
+
var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(_this) {
|
|
1575
1571
|
var _getLoginInfo, IdStore, StoreCode, resp;
|
|
1576
1572
|
|
|
1577
1573
|
return _regenerator2.default.wrap(function _callee7$(_context7) {
|
|
@@ -1586,7 +1582,7 @@ var SettlementStore = (_class = function () {
|
|
|
1586
1582
|
resp = _context7.sent;
|
|
1587
1583
|
|
|
1588
1584
|
_this.member = resp;
|
|
1589
|
-
_this.paymode.
|
|
1585
|
+
_this.paymode.updateMemberStorageCardNo(resp.StorageCardNo, resp.WalletEnabled);
|
|
1590
1586
|
return _context7.abrupt('return', _promise2.default.resolve(resp));
|
|
1591
1587
|
|
|
1592
1588
|
case 7:
|
|
@@ -1598,7 +1594,7 @@ var SettlementStore = (_class = function () {
|
|
|
1598
1594
|
}));
|
|
1599
1595
|
|
|
1600
1596
|
return function (_x5) {
|
|
1601
|
-
return
|
|
1597
|
+
return _ref17.apply(this, arguments);
|
|
1602
1598
|
};
|
|
1603
1599
|
}();
|
|
1604
1600
|
}
|
|
@@ -1608,7 +1604,7 @@ var SettlementStore = (_class = function () {
|
|
|
1608
1604
|
var _this14 = this;
|
|
1609
1605
|
|
|
1610
1606
|
return function () {
|
|
1611
|
-
var
|
|
1607
|
+
var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee8(memberId) {
|
|
1612
1608
|
var result;
|
|
1613
1609
|
return _regenerator2.default.wrap(function _callee8$(_context8) {
|
|
1614
1610
|
while (1) {
|
|
@@ -1638,7 +1634,7 @@ var SettlementStore = (_class = function () {
|
|
|
1638
1634
|
}));
|
|
1639
1635
|
|
|
1640
1636
|
return function (_x6) {
|
|
1641
|
-
return
|
|
1637
|
+
return _ref18.apply(this, arguments);
|
|
1642
1638
|
};
|
|
1643
1639
|
}();
|
|
1644
1640
|
}
|
|
@@ -1745,6 +1741,12 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1745
1741
|
this.received = (0, _utils.getFixedNumber)(sum);
|
|
1746
1742
|
this.receivable = (0, _utils.getFixedNumber)(this.amount - sum);
|
|
1747
1743
|
}
|
|
1744
|
+
}, {
|
|
1745
|
+
key: 'updateMemberStorageCardNo',
|
|
1746
|
+
value: function updateMemberStorageCardNo(storageCardNo, walletEnabled) {
|
|
1747
|
+
this.currentMode.storageCardNo = storageCardNo;
|
|
1748
|
+
this.currentMode.walletEnabled = walletEnabled;
|
|
1749
|
+
}
|
|
1748
1750
|
}, {
|
|
1749
1751
|
key: 'updateCardInfo',
|
|
1750
1752
|
value: function updateCardInfo(m) {
|
|
@@ -1774,8 +1776,8 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1774
1776
|
this.checkList = [];
|
|
1775
1777
|
}
|
|
1776
1778
|
|
|
1777
|
-
var
|
|
1778
|
-
isNewRetailBCPos =
|
|
1779
|
+
var _ref20 = _mutantsUtil.platform || {},
|
|
1780
|
+
isNewRetailBCPos = _ref20.isNewRetailBCPos;
|
|
1779
1781
|
|
|
1780
1782
|
var _enumController$getEn15 = _mutantsUtil.enumController.getEnumOj(),
|
|
1781
1783
|
PayStyle = _enumController$getEn15.PayStyle,
|
|
@@ -1885,18 +1887,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1885
1887
|
}
|
|
1886
1888
|
});
|
|
1887
1889
|
|
|
1888
|
-
var
|
|
1889
|
-
couponCode =
|
|
1890
|
-
name =
|
|
1891
|
-
tieredAmountResult =
|
|
1892
|
-
fromDate =
|
|
1893
|
-
dateMount =
|
|
1894
|
-
promoMethodEnum =
|
|
1895
|
-
discountPct =
|
|
1896
|
-
nominalAmount =
|
|
1897
|
-
promoId =
|
|
1898
|
-
id =
|
|
1899
|
-
doorsill =
|
|
1890
|
+
var _ref21 = element || {},
|
|
1891
|
+
couponCode = _ref21.couponCode,
|
|
1892
|
+
name = _ref21.name,
|
|
1893
|
+
tieredAmountResult = _ref21.tieredAmountResult,
|
|
1894
|
+
fromDate = _ref21.fromDate,
|
|
1895
|
+
dateMount = _ref21.dateMount,
|
|
1896
|
+
promoMethodEnum = _ref21.promoMethodEnum,
|
|
1897
|
+
discountPct = _ref21.discountPct,
|
|
1898
|
+
nominalAmount = _ref21.nominalAmount,
|
|
1899
|
+
promoId = _ref21.promoId,
|
|
1900
|
+
id = _ref21.id,
|
|
1901
|
+
doorsill = _ref21.doorsill;
|
|
1900
1902
|
|
|
1901
1903
|
var condValue = tieredAmountResult.condValue,
|
|
1902
1904
|
promoDiscount = tieredAmountResult.promoDiscount,
|
|
@@ -1940,8 +1942,8 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1940
1942
|
}, {
|
|
1941
1943
|
key: 'calcDjqValue',
|
|
1942
1944
|
value: function calcDjqValue(q1) {
|
|
1943
|
-
var
|
|
1944
|
-
isNewRetailBCPos =
|
|
1945
|
+
var _ref22 = _mutantsUtil.platform || {},
|
|
1946
|
+
isNewRetailBCPos = _ref22.isNewRetailBCPos;
|
|
1945
1947
|
|
|
1946
1948
|
var _enumController$getEn16 = _mutantsUtil.enumController.getEnumOj(),
|
|
1947
1949
|
Differentiate = _enumController$getEn16.Differentiate;
|
|
@@ -2031,7 +2033,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
2031
2033
|
}, {
|
|
2032
2034
|
key: 'setPaymodes',
|
|
2033
2035
|
value: function () {
|
|
2034
|
-
var
|
|
2036
|
+
var _ref23 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee10(type, isIntegralExchange) {
|
|
2035
2037
|
var _this17 = this;
|
|
2036
2038
|
|
|
2037
2039
|
var _enumController$getEn18, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
|
@@ -2086,7 +2088,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
2086
2088
|
}));
|
|
2087
2089
|
|
|
2088
2090
|
function setPaymodes(_x7, _x8) {
|
|
2089
|
-
return
|
|
2091
|
+
return _ref23.apply(this, arguments);
|
|
2090
2092
|
}
|
|
2091
2093
|
|
|
2092
2094
|
return setPaymodes;
|
|
@@ -2147,7 +2149,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
2147
2149
|
_this18.checkList = [];
|
|
2148
2150
|
};
|
|
2149
2151
|
}
|
|
2150
|
-
}), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
|
|
2152
|
+
}), _applyDecoratedDescriptor(_class3.prototype, 'updateMemberStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateMemberStorageCardNo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
|
|
2151
2153
|
enumerable: true,
|
|
2152
2154
|
initializer: function initializer() {
|
|
2153
2155
|
var _this19 = this;
|
|
@@ -2217,8 +2219,8 @@ var Member = exports.Member = (_class5 = function () {
|
|
|
2217
2219
|
return key == 'canusedbalancestorage';
|
|
2218
2220
|
});
|
|
2219
2221
|
|
|
2220
|
-
var
|
|
2221
|
-
isNewRetailBCPos =
|
|
2222
|
+
var _ref24 = _mutantsUtil.platform || {},
|
|
2223
|
+
isNewRetailBCPos = _ref24.isNewRetailBCPos;
|
|
2222
2224
|
|
|
2223
2225
|
(0, _mobx.runInAction)(function () {
|
|
2224
2226
|
_this21.cardNo = m.CardCode;
|