tplus-components-touch 3.18.13 → 3.20.2
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/billSearch/index.js +2 -62
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/billSearch/index.less +2 -12
- package/dist/components/hotKey/localConfig.js +1 -14
- package/dist/components/hotKey/localConfig.js.map +1 -1
- package/dist/components/modalWraper/style.less +0 -6
- package/dist/components/settlement/settlement.js +71 -50
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlementStore.js +128 -81
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/ticon/iconfont/demo.css +539 -539
- package/dist/components/ticon/iconfont/demo_index.html +4949 -5179
- package/dist/components/ticon/iconfont/iconfont.css +843 -883
- package/dist/components/ticon/iconfont/iconfont.js +1 -1
- package/dist/components/ticon/iconfont/iconfont.js.map +1 -1
- package/dist/components/ticon/iconfont/iconfont.json +1458 -1528
- 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/dist/components/touchTable/index.js +0 -8
- package/dist/components/touchTable/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -621,49 +621,93 @@ var SettlementStore = (_class = function () {
|
|
|
621
621
|
|
|
622
622
|
var address = '';
|
|
623
623
|
if (isNewRetailBCPos) {
|
|
624
|
-
address = '
|
|
624
|
+
// address = '/member/memberProfile/FindByStorageCode/'+v;
|
|
625
|
+
address = '/member/MeMemberWallet/FindByStorageCode';
|
|
626
|
+
return (0, _tplusApi.ccApi)({ code: v }, address, false, false, { method: 'get', timeout_skip: true }).then(function (result) {
|
|
627
|
+
var data = result.data;
|
|
628
|
+
var m = data;
|
|
629
|
+
|
|
630
|
+
var _ref8 = _mutantsUtil.platform || {},
|
|
631
|
+
isNewRetailBCPos = _ref8.isNewRetailBCPos;
|
|
632
|
+
|
|
633
|
+
if (isNewRetailBCPos) {
|
|
634
|
+
_this7.paymode && _this7.paymode.currentMode.member.setMeStorageCardId(m.MeStorageCardId);
|
|
635
|
+
_this7.paymode && _this7.paymode.currentMode.member.setStorageCardNo(m.StorageCardNo);
|
|
636
|
+
_this7.paymode && (_this7.paymode.currentMode.MeStorageCardId = m.MeStorageCardId);
|
|
637
|
+
_this7.paymode && (_this7.paymode.currentMode.StorageCardNo = m.StorageCardNo);
|
|
638
|
+
}
|
|
639
|
+
if (!m || !m.ID) {
|
|
640
|
+
(0, _mobx.runInAction)(function () {
|
|
641
|
+
_this7.paymode.currentMode.errinfo = "无效的会员卡号";
|
|
642
|
+
});
|
|
643
|
+
} else {
|
|
644
|
+
(0, _mobx.runInAction)(function () {
|
|
645
|
+
_this7.paymode.currentMode.errinfo = "";
|
|
646
|
+
_this7.paymode.currentMode.member = new Member(m);
|
|
647
|
+
_this7.paymode.currentMode.value = (0, _utils.getFixedNumber)(_this7.brefund ? _this7.paymode.receivable : Math.max(_this7.paymode.receivable, 0));
|
|
648
|
+
_this7.updateEvent();
|
|
649
|
+
var message = '';
|
|
650
|
+
if (global.CheckMemberStorageProcessorBlock) {
|
|
651
|
+
message = CheckMemberStorageProcessorBlock.execute(m);
|
|
652
|
+
}
|
|
653
|
+
if (!String.isNullOrEmpty(message)) {
|
|
654
|
+
_this7.paymode.currentMode.errinfo = message;
|
|
655
|
+
} else if (_this7.checkReceived(_this7.paymode.currentMode, "balance")) {
|
|
656
|
+
_this7.paymode.currentMode.errinfo = "余额不足";
|
|
657
|
+
} else if (_this7.paymode.amount > 0 && _this7.paymode.currentMode.value == 0) {
|
|
658
|
+
_this7.paymode.currentMode.errinfo = "实收金额必须录入";
|
|
659
|
+
} else {
|
|
660
|
+
// 查询成功后将焦点移入下一个输入框
|
|
661
|
+
var nextInput = document.querySelector('.czk .received .input');
|
|
662
|
+
nextInput && nextInput.focus();
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
});
|
|
625
667
|
} else {
|
|
626
668
|
address = 'AA.DR.newRetailMember.SearchMember';
|
|
669
|
+
return (0, _tplusApi.tApi)({ SearchParams: { Key: v, IsSingleMember: true, IdStore: IdStore, StoreCode: StoreCode } }, address, false, false).then(function (result) {
|
|
670
|
+
var data = JSON.parse(result.Data);
|
|
671
|
+
var m = data && data.length > 0 && data[0];
|
|
672
|
+
|
|
673
|
+
var _ref9 = _mutantsUtil.platform || {},
|
|
674
|
+
isNewRetailBCPos = _ref9.isNewRetailBCPos;
|
|
675
|
+
|
|
676
|
+
if (isNewRetailBCPos) {
|
|
677
|
+
_this7.paymode && _this7.paymode.currentMode.member.setMeStorageCardId(m.MeStorageCardId);
|
|
678
|
+
_this7.paymode && _this7.paymode.currentMode.member.setStorageCardNo(m.StorageCardNo);
|
|
679
|
+
_this7.paymode && (_this7.paymode.currentMode.MeStorageCardId = m.MeStorageCardId);
|
|
680
|
+
_this7.paymode && (_this7.paymode.currentMode.StorageCardNo = m.StorageCardNo);
|
|
681
|
+
}
|
|
682
|
+
if (!m || !m.ID) {
|
|
683
|
+
(0, _mobx.runInAction)(function () {
|
|
684
|
+
_this7.paymode.currentMode.errinfo = "无效的会员卡号";
|
|
685
|
+
});
|
|
686
|
+
} else {
|
|
687
|
+
(0, _mobx.runInAction)(function () {
|
|
688
|
+
_this7.paymode.currentMode.errinfo = "";
|
|
689
|
+
_this7.paymode.currentMode.member = new Member(m);
|
|
690
|
+
_this7.paymode.currentMode.value = (0, _utils.getFixedNumber)(_this7.brefund ? _this7.paymode.receivable : Math.max(_this7.paymode.receivable, 0));
|
|
691
|
+
_this7.updateEvent();
|
|
692
|
+
var message = '';
|
|
693
|
+
if (global.CheckMemberStorageProcessorBlock) {
|
|
694
|
+
message = CheckMemberStorageProcessorBlock.execute(data[0]);
|
|
695
|
+
}
|
|
696
|
+
if (!String.isNullOrEmpty(message)) {
|
|
697
|
+
_this7.paymode.currentMode.errinfo = message;
|
|
698
|
+
} else if (_this7.checkReceived(_this7.paymode.currentMode, "balance")) {
|
|
699
|
+
_this7.paymode.currentMode.errinfo = "余额不足";
|
|
700
|
+
} else if (_this7.paymode.amount > 0 && _this7.paymode.currentMode.value == 0) {
|
|
701
|
+
_this7.paymode.currentMode.errinfo = "实收金额必须录入";
|
|
702
|
+
} else {
|
|
703
|
+
// 查询成功后将焦点移入下一个输入框
|
|
704
|
+
var nextInput = document.querySelector('.czk .received .input');
|
|
705
|
+
nextInput && nextInput.focus();
|
|
706
|
+
}
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
});
|
|
627
710
|
}
|
|
628
|
-
return (0, _tplusApi.tApi)({ SearchParams: { Key: v, IsSingleMember: true, IdStore: IdStore, StoreCode: StoreCode } }, address, false, false).then(function (result) {
|
|
629
|
-
var data = JSON.parse(result.Data);
|
|
630
|
-
var m = data && data.length > 0 && data[0];
|
|
631
|
-
|
|
632
|
-
var _ref8 = _mutantsUtil.platform || {},
|
|
633
|
-
isNewRetailBCPos = _ref8.isNewRetailBCPos;
|
|
634
|
-
|
|
635
|
-
if (isNewRetailBCPos) {
|
|
636
|
-
_this7.paymode && _this7.paymode.currentMode.member.setMeStorageCardId(m.MeStorageCardId);
|
|
637
|
-
_this7.paymode && _this7.paymode.currentMode.member.setStorageCardNo(m.StorageCardNo);
|
|
638
|
-
}
|
|
639
|
-
if (!m || !m.ID) {
|
|
640
|
-
(0, _mobx.runInAction)(function () {
|
|
641
|
-
_this7.paymode.currentMode.errinfo = "无效的会员卡号";
|
|
642
|
-
});
|
|
643
|
-
} else {
|
|
644
|
-
(0, _mobx.runInAction)(function () {
|
|
645
|
-
_this7.paymode.currentMode.errinfo = "";
|
|
646
|
-
_this7.paymode.currentMode.member = new Member(m);
|
|
647
|
-
_this7.paymode.currentMode.value = (0, _utils.getFixedNumber)(_this7.brefund ? _this7.paymode.receivable : Math.max(_this7.paymode.receivable, 0));
|
|
648
|
-
_this7.updateEvent();
|
|
649
|
-
var message = '';
|
|
650
|
-
if (global.CheckMemberStorageProcessorBlock) {
|
|
651
|
-
message = CheckMemberStorageProcessorBlock.execute(data[0]);
|
|
652
|
-
}
|
|
653
|
-
if (!String.isNullOrEmpty(message)) {
|
|
654
|
-
_this7.paymode.currentMode.errinfo = message;
|
|
655
|
-
} else if (_this7.checkReceived(_this7.paymode.currentMode, "balance")) {
|
|
656
|
-
_this7.paymode.currentMode.errinfo = "余额不足";
|
|
657
|
-
} else if (_this7.paymode.amount > 0 && _this7.paymode.currentMode.value == 0) {
|
|
658
|
-
_this7.paymode.currentMode.errinfo = "实收金额必须录入";
|
|
659
|
-
} else {
|
|
660
|
-
// 查询成功后将焦点移入下一个输入框
|
|
661
|
-
var nextInput = document.querySelector('.czk .received .input');
|
|
662
|
-
nextInput && nextInput.focus();
|
|
663
|
-
}
|
|
664
|
-
});
|
|
665
|
-
}
|
|
666
|
-
});
|
|
667
711
|
}
|
|
668
712
|
}, {
|
|
669
713
|
key: 'addDjq',
|
|
@@ -913,7 +957,7 @@ var SettlementStore = (_class = function () {
|
|
|
913
957
|
}, {
|
|
914
958
|
key: 'commit',
|
|
915
959
|
value: function () {
|
|
916
|
-
var
|
|
960
|
+
var _ref10 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(bTest) {
|
|
917
961
|
return _regenerator2.default.wrap(function _callee2$(_context2) {
|
|
918
962
|
while (1) {
|
|
919
963
|
switch (_context2.prev = _context2.next) {
|
|
@@ -968,7 +1012,7 @@ var SettlementStore = (_class = function () {
|
|
|
968
1012
|
}));
|
|
969
1013
|
|
|
970
1014
|
function commit(_x2) {
|
|
971
|
-
return
|
|
1015
|
+
return _ref10.apply(this, arguments);
|
|
972
1016
|
}
|
|
973
1017
|
|
|
974
1018
|
return commit;
|
|
@@ -1014,20 +1058,20 @@ var SettlementStore = (_class = function () {
|
|
|
1014
1058
|
IPMSG = JSON.parse(window.localStorage.IPMSG);
|
|
1015
1059
|
}
|
|
1016
1060
|
return (0, _tplusApi.tApi)({ dto: this.dto }, 'chanjet.ME.INewRetailMemberStorage.Save', false, false).then(function (resp) {
|
|
1017
|
-
var
|
|
1018
|
-
isHorizontalPad =
|
|
1019
|
-
isHorizontalSunMi =
|
|
1061
|
+
var _ref11 = _mutantsUtil.platform || {},
|
|
1062
|
+
isHorizontalPad = _ref11.isHorizontalPad,
|
|
1063
|
+
isHorizontalSunMi = _ref11.isHorizontalSunMi;
|
|
1020
1064
|
|
|
1021
1065
|
if (isHorizontalPad === true) {
|
|
1022
1066
|
// pad打印
|
|
1023
1067
|
//执行移动端云打印
|
|
1024
1068
|
if (_this10.cloudPrintArguments) {
|
|
1025
|
-
var
|
|
1026
|
-
Open =
|
|
1027
|
-
Key =
|
|
1028
|
-
Sign =
|
|
1029
|
-
Name =
|
|
1030
|
-
Card =
|
|
1069
|
+
var _ref12 = _this10.cloudPrintArguments || {},
|
|
1070
|
+
Open = _ref12.Open,
|
|
1071
|
+
Key = _ref12.Key,
|
|
1072
|
+
Sign = _ref12.Sign,
|
|
1073
|
+
Name = _ref12.Name,
|
|
1074
|
+
Card = _ref12.Card;
|
|
1031
1075
|
|
|
1032
1076
|
if (!Open) {
|
|
1033
1077
|
_message2.default.warn(t('云打印未启用,请设置。'));
|
|
@@ -1065,8 +1109,8 @@ var SettlementStore = (_class = function () {
|
|
|
1065
1109
|
return;
|
|
1066
1110
|
} else {
|
|
1067
1111
|
if (global.StoragePrintProcessBlock) {
|
|
1068
|
-
var
|
|
1069
|
-
isNewRetailBCPos =
|
|
1112
|
+
var _ref13 = _mutantsUtil.platform || {},
|
|
1113
|
+
isNewRetailBCPos = _ref13.isNewRetailBCPos;
|
|
1070
1114
|
|
|
1071
1115
|
if (isNewRetailBCPos) {
|
|
1072
1116
|
global.StoragePrintProcessBlock.execute(resp);
|
|
@@ -1084,10 +1128,10 @@ var SettlementStore = (_class = function () {
|
|
|
1084
1128
|
}, {
|
|
1085
1129
|
key: 'save',
|
|
1086
1130
|
value: function () {
|
|
1087
|
-
var
|
|
1131
|
+
var _ref14 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
|
|
1088
1132
|
var _this11 = this;
|
|
1089
1133
|
|
|
1090
|
-
var _enumController$getEn13, PayStyle,
|
|
1134
|
+
var _enumController$getEn13, PayStyle, _ref16, isNewRetailBCPos, IPMSG, RetailTypeEnum;
|
|
1091
1135
|
|
|
1092
1136
|
return _regenerator2.default.wrap(function _callee3$(_context3) {
|
|
1093
1137
|
while (1) {
|
|
@@ -1101,19 +1145,21 @@ var SettlementStore = (_class = function () {
|
|
|
1101
1145
|
_this11.dto.RetailCouponDetails = [];
|
|
1102
1146
|
var czkSum = 0;
|
|
1103
1147
|
var Idmember = _this11.dto.Idmember;
|
|
1148
|
+
var count = 0;
|
|
1104
1149
|
var thePaymodes = _this11.newStyle ? (0, _filter3.default)(_this11.paymode.thePaymodes, function (mode) {
|
|
1105
1150
|
return parseFloat(mode.value) != 0;
|
|
1106
1151
|
}) : _this11.paymode.thePaymodes;
|
|
1107
|
-
(0, _each3.default)(thePaymodes, function (mode) {
|
|
1152
|
+
(0, _each3.default)(thePaymodes, function (mode, index) {
|
|
1108
1153
|
var themode = (0, _find3.default)(_this11.paymode.paymodes, { 'paymentType': mode.paymentType });
|
|
1109
1154
|
if (mode.paymentType == PayStyle.hyczk) {
|
|
1110
1155
|
if (!Idmember) {
|
|
1111
1156
|
Idmember = mode.member.id;
|
|
1112
1157
|
}
|
|
1113
1158
|
czkSum = Math.Add(czkSum, mode.value);
|
|
1114
|
-
|
|
1159
|
+
var MeStorageCardId = mode.member.MeStorageCardId ? mode.member.MeStorageCardId : _this11.member.MeStorageCardId;
|
|
1115
1160
|
_this11.dto.RetailStorageDetails.push({
|
|
1116
1161
|
Code: mode.paymethodId,
|
|
1162
|
+
MeStorageCardId: MeStorageCardId,
|
|
1117
1163
|
StoragePaymentAmount: mode.value,
|
|
1118
1164
|
IsOrigReturn: false,
|
|
1119
1165
|
BalanceStorage: mode.balance,
|
|
@@ -1167,15 +1213,15 @@ var SettlementStore = (_class = function () {
|
|
|
1167
1213
|
}
|
|
1168
1214
|
});
|
|
1169
1215
|
|
|
1170
|
-
var
|
|
1171
|
-
isNewRetailBCPos =
|
|
1216
|
+
var _ref15 = _mutantsUtil.platform || {},
|
|
1217
|
+
isNewRetailBCPos = _ref15.isNewRetailBCPos;
|
|
1172
1218
|
|
|
1173
1219
|
if (_this11.dto.RetailStorageDetails.length > 0) {
|
|
1174
1220
|
var themode = (0, _find3.default)(_this11.paymode.paymodes, { 'paymentType': PayStyle.hyczk });
|
|
1175
1221
|
if (isNewRetailBCPos) {
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
})
|
|
1222
|
+
// this.dto.RetailStorageDetails && this.dto.RetailStorageDetails.forEach((value, index) => {
|
|
1223
|
+
// value.MeStorageCardId = (mode.MeStorageCardId ? mode.MeStorageCardId : this.member.MeStorageCardId);
|
|
1224
|
+
// })
|
|
1179
1225
|
_this11.dto.RetailPaymentDetails.push({
|
|
1180
1226
|
Code: _this11.paymode.counter,
|
|
1181
1227
|
OrigAmount: czkSum,
|
|
@@ -1202,7 +1248,7 @@ var SettlementStore = (_class = function () {
|
|
|
1202
1248
|
_this11.dto.Idmember = Idmember;
|
|
1203
1249
|
}
|
|
1204
1250
|
});
|
|
1205
|
-
|
|
1251
|
+
_ref16 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref16.isNewRetailBCPos;
|
|
1206
1252
|
|
|
1207
1253
|
console.log('bc_pos\u73AF\u5883:' + isNewRetailBCPos + ',\u7ED3\u7B97\u6570\u636E\uFF1A', this.dto);
|
|
1208
1254
|
|
|
@@ -1271,7 +1317,7 @@ var SettlementStore = (_class = function () {
|
|
|
1271
1317
|
}));
|
|
1272
1318
|
|
|
1273
1319
|
function save() {
|
|
1274
|
-
return
|
|
1320
|
+
return _ref14.apply(this, arguments);
|
|
1275
1321
|
}
|
|
1276
1322
|
|
|
1277
1323
|
return save;
|
|
@@ -1284,7 +1330,7 @@ var SettlementStore = (_class = function () {
|
|
|
1284
1330
|
}, {
|
|
1285
1331
|
key: 'querySettleResult',
|
|
1286
1332
|
value: function () {
|
|
1287
|
-
var
|
|
1333
|
+
var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
|
|
1288
1334
|
return _regenerator2.default.wrap(function _callee4$(_context4) {
|
|
1289
1335
|
while (1) {
|
|
1290
1336
|
switch (_context4.prev = _context4.next) {
|
|
@@ -1312,7 +1358,7 @@ var SettlementStore = (_class = function () {
|
|
|
1312
1358
|
}));
|
|
1313
1359
|
|
|
1314
1360
|
function querySettleResult() {
|
|
1315
|
-
return
|
|
1361
|
+
return _ref17.apply(this, arguments);
|
|
1316
1362
|
}
|
|
1317
1363
|
|
|
1318
1364
|
return querySettleResult;
|
|
@@ -1338,14 +1384,14 @@ var SettlementStore = (_class = function () {
|
|
|
1338
1384
|
}, {
|
|
1339
1385
|
key: 'validePwd',
|
|
1340
1386
|
value: function () {
|
|
1341
|
-
var
|
|
1342
|
-
var
|
|
1387
|
+
var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5(value) {
|
|
1388
|
+
var _ref19, isNewRetailBCPos, cook1, cook2, message, result, count, _result;
|
|
1343
1389
|
|
|
1344
1390
|
return _regenerator2.default.wrap(function _callee5$(_context5) {
|
|
1345
1391
|
while (1) {
|
|
1346
1392
|
switch (_context5.prev = _context5.next) {
|
|
1347
1393
|
case 0:
|
|
1348
|
-
|
|
1394
|
+
_ref19 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref19.isNewRetailBCPos;
|
|
1349
1395
|
_context5.prev = 1;
|
|
1350
1396
|
|
|
1351
1397
|
if (!isNewRetailBCPos) {
|
|
@@ -1429,7 +1475,7 @@ var SettlementStore = (_class = function () {
|
|
|
1429
1475
|
}));
|
|
1430
1476
|
|
|
1431
1477
|
function validePwd(_x3) {
|
|
1432
|
-
return
|
|
1478
|
+
return _ref18.apply(this, arguments);
|
|
1433
1479
|
}
|
|
1434
1480
|
|
|
1435
1481
|
return validePwd;
|
|
@@ -1468,7 +1514,7 @@ var SettlementStore = (_class = function () {
|
|
|
1468
1514
|
var _this13 = this;
|
|
1469
1515
|
|
|
1470
1516
|
return function () {
|
|
1471
|
-
var
|
|
1517
|
+
var _ref20 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(_this) {
|
|
1472
1518
|
var _getLoginInfo, IdStore, StoreCode, resp;
|
|
1473
1519
|
|
|
1474
1520
|
return _regenerator2.default.wrap(function _callee6$(_context6) {
|
|
@@ -1495,7 +1541,7 @@ var SettlementStore = (_class = function () {
|
|
|
1495
1541
|
}));
|
|
1496
1542
|
|
|
1497
1543
|
return function (_x4) {
|
|
1498
|
-
return
|
|
1544
|
+
return _ref20.apply(this, arguments);
|
|
1499
1545
|
};
|
|
1500
1546
|
}();
|
|
1501
1547
|
}
|
|
@@ -1566,8 +1612,8 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1566
1612
|
value: function calcDjqValue(q1) {
|
|
1567
1613
|
var _this14 = this;
|
|
1568
1614
|
|
|
1569
|
-
var
|
|
1570
|
-
isNewRetailBCPos =
|
|
1615
|
+
var _ref21 = _mutantsUtil.platform || {},
|
|
1616
|
+
isNewRetailBCPos = _ref21.isNewRetailBCPos;
|
|
1571
1617
|
|
|
1572
1618
|
var _enumController$getEn14 = _mutantsUtil.enumController.getEnumOj(),
|
|
1573
1619
|
Differentiate = _enumController$getEn14.Differentiate;
|
|
@@ -1644,7 +1690,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1644
1690
|
}, {
|
|
1645
1691
|
key: 'setPaymodes',
|
|
1646
1692
|
value: function () {
|
|
1647
|
-
var
|
|
1693
|
+
var _ref22 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, isIntegralExchange) {
|
|
1648
1694
|
var _this15 = this;
|
|
1649
1695
|
|
|
1650
1696
|
var _enumController$getEn15, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
|
@@ -1698,7 +1744,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1698
1744
|
}));
|
|
1699
1745
|
|
|
1700
1746
|
function setPaymodes(_x5, _x6) {
|
|
1701
|
-
return
|
|
1747
|
+
return _ref22.apply(this, arguments);
|
|
1702
1748
|
}
|
|
1703
1749
|
|
|
1704
1750
|
return setPaymodes;
|
|
@@ -1753,7 +1799,7 @@ var Member = exports.Member = (_class5 = function () {
|
|
|
1753
1799
|
|
|
1754
1800
|
_initDefineProp(this, 'exchangable', _descriptor10, this);
|
|
1755
1801
|
|
|
1756
|
-
_initDefineProp(this, '
|
|
1802
|
+
_initDefineProp(this, 'MeStorageCardId', _descriptor11, this);
|
|
1757
1803
|
|
|
1758
1804
|
_initDefineProp(this, 'StorageCardNo', _descriptor12, this);
|
|
1759
1805
|
|
|
@@ -1766,10 +1812,11 @@ var Member = exports.Member = (_class5 = function () {
|
|
|
1766
1812
|
return key == 'canusedbalancestorage';
|
|
1767
1813
|
});
|
|
1768
1814
|
|
|
1769
|
-
var
|
|
1770
|
-
isNewRetailBCPos =
|
|
1815
|
+
var _ref23 = _mutantsUtil.platform || {},
|
|
1816
|
+
isNewRetailBCPos = _ref23.isNewRetailBCPos;
|
|
1771
1817
|
|
|
1772
1818
|
m.StorageCardNo && (this.StorageCardNo = m.StorageCardNo);
|
|
1819
|
+
m.MeStorageCardId && (this.MeStorageCardId = m.MeStorageCardId);
|
|
1773
1820
|
(0, _mobx.runInAction)(function () {
|
|
1774
1821
|
_this16.cardNo = m.CardCode;
|
|
1775
1822
|
if (index >= 0) {
|
|
@@ -1798,7 +1845,7 @@ var Member = exports.Member = (_class5 = function () {
|
|
|
1798
1845
|
}, {
|
|
1799
1846
|
key: 'setMeStorageCardId',
|
|
1800
1847
|
value: function setMeStorageCardId(v) {
|
|
1801
|
-
this.
|
|
1848
|
+
this.MeStorageCardId = v;
|
|
1802
1849
|
}
|
|
1803
1850
|
}, {
|
|
1804
1851
|
key: 'setStorageCardNo',
|
|
@@ -1816,7 +1863,7 @@ var Member = exports.Member = (_class5 = function () {
|
|
|
1816
1863
|
}), _descriptor10 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
|
|
1817
1864
|
enumerable: true,
|
|
1818
1865
|
initializer: null
|
|
1819
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class5.prototype, '
|
|
1866
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class5.prototype, 'MeStorageCardId', [_mobx.observable], {
|
|
1820
1867
|
enumerable: true,
|
|
1821
1868
|
initializer: null
|
|
1822
1869
|
}), _descriptor12 = _applyDecoratedDescriptor(_class5.prototype, 'StorageCardNo', [_mobx.observable], {
|