tplus-components-touch 3.21.2 → 3.22.1

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.
@@ -41,7 +41,7 @@ var _createClass2 = require('babel-runtime/helpers/createClass');
41
41
 
42
42
  var _createClass3 = _interopRequireDefault(_createClass2);
43
43
 
44
- var _desc, _value, _class, _descriptor, _descriptor2, _desc2, _value2, _class3, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _desc3, _value3, _class5, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
44
+ var _desc, _value, _class, _descriptor, _descriptor2, _desc2, _value2, _class3, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _desc3, _value3, _class5, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
45
45
 
46
46
  var _mobx = require('mobx');
47
47
 
@@ -93,10 +93,6 @@ var _utils = require('./utils');
93
93
 
94
94
  var _tplusApi = require('tplus-api');
95
95
 
96
- var _cloneDeep = require('lodash/cloneDeep');
97
-
98
- var _cloneDeep2 = _interopRequireDefault(_cloneDeep);
99
-
100
96
  var _message = require('../message');
101
97
 
102
98
  var _message2 = _interopRequireDefault(_message);
@@ -198,9 +194,6 @@ var SettlementStore = (_class = function () {
198
194
  if (dto.OnlinePaymentAmount) {
199
195
  onlinePaymentAmount = dto.OnlinePaymentAmount;
200
196
  }
201
- promoVoucher.promoLinks = (0, _filter3.default)(_this2.paymode.currentMode.djqs, function (djq) {
202
- return djq.checked;
203
- });
204
197
  promoVoucher.totalAmountWithTax = Math.Minus(dto.TotalTaxAmount, onlinePaymentAmount);
205
198
  promoVoucher.redBlueFlagEnum = "BLUE";
206
199
  promoVoucher.meMemberId = dto.Idmember;
@@ -216,7 +209,7 @@ var SettlementStore = (_class = function () {
216
209
  detailDTO.productSpecId = item.ProductSpecId;
217
210
  detailDTO.isManualFreeGift = item.IsPresent;
218
211
  detailDTO.isListPriceIncludingTax = item.TaxFlag || true;
219
- detailDTO.IsManualChangePrice = item.IsManualChangePrice;
212
+
220
213
  if (detailDTO.IsManualChangePrice) //如果是手工改价
221
214
  {
222
215
  detailDTO.listPrice = item.TaxPrice;
@@ -266,8 +259,7 @@ var SettlementStore = (_class = function () {
266
259
  var condValue = tieredAmountResult.condValue,
267
260
  promoDiscount = tieredAmountResult.promoDiscount,
268
261
  displayText = tieredAmountResult.displayText,
269
- promoRuleId = tieredAmountResult.promoRuleId,
270
- couponCategoryEnum = tieredAmountResult.couponCategoryEnum;
262
+ promoRuleId = tieredAmountResult.promoRuleId;
271
263
 
272
264
  if ((0, _find3.default)(_this2.paymode.currentMode.djqs, function (djq) {
273
265
  return djq.code == couponCode;
@@ -278,12 +270,7 @@ var SettlementStore = (_class = function () {
278
270
  })) {
279
271
  _message2.default.error(Differentiate.COUPON + '\uFF08' + result.SN + '\uFF09\u4E0D\u53EF\u4E0E\u79EF\u5206\u4E00\u8D77\u4F7F\u7528');
280
272
  } else {
281
- var IsEnable = couponCategoryEnum === 'RIGUP' || couponCategoryEnum === 'UN_MATCH' || couponCategoryEnum === "PREPARING" || couponCategoryEnum === 'PROMO_LIMITED' || couponCategoryEnum === 'COUPON_CONFLICT' ? false : true;
282
-
283
- var _ref2 = _mutantsUtil.platform || {},
284
- isNewRetailBCPos = _ref2.isNewRetailBCPos;
285
-
286
- _this2.addDjq(couponCode, name, IsEnable, promoMethodEnum == "CASH_COUPON" ? nominalAmount : isNewRetailBCPos && discountPct > 0 ? 0 : promoDiscount, condValue, null, false, !result.IsRepelWithPoints, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id, true, 1);
273
+ _this2.addDjq(couponCode, name, promoMethodEnum == "CASH_COUPON" ? nominalAmount : promoDiscount, condValue, null, false, !result.IsRepelWithPoints, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, id, true);
287
274
  }
288
275
  });
289
276
  if (promoVoucher.coupon_code) {
@@ -306,14 +293,14 @@ var SettlementStore = (_class = function () {
306
293
  };
307
294
 
308
295
  this.checkCoupon = function () {
309
- var _ref3 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(sn) {
310
- var _ref4, isNewRetailBCPos, _enumController$getEn3, PayStyle, Differentiate;
296
+ var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(sn) {
297
+ var _ref3, isNewRetailBCPos, _enumController$getEn3, PayStyle, Differentiate;
311
298
 
312
299
  return _regenerator2.default.wrap(function _callee$(_context) {
313
300
  while (1) {
314
301
  switch (_context.prev = _context.next) {
315
302
  case 0:
316
- _ref4 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref4.isNewRetailBCPos;
303
+ _ref3 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref3.isNewRetailBCPos;
317
304
 
318
305
  if (!isNewRetailBCPos) {
319
306
  _context.next = 7;
@@ -381,7 +368,7 @@ var SettlementStore = (_class = function () {
381
368
  }));
382
369
 
383
370
  return function (_x) {
384
- return _ref3.apply(this, arguments);
371
+ return _ref2.apply(this, arguments);
385
372
  };
386
373
  }();
387
374
 
@@ -495,8 +482,8 @@ var SettlementStore = (_class = function () {
495
482
  var _enumController$getEn4 = _mutantsUtil.enumController.getEnumOj(),
496
483
  PayStyle = _enumController$getEn4.PayStyle;
497
484
 
498
- var _ref5 = _mutantsUtil.platform || {},
499
- isNewRetailBCPos = _ref5.isNewRetailBCPos;
485
+ var _ref4 = _mutantsUtil.platform || {},
486
+ isNewRetailBCPos = _ref4.isNewRetailBCPos;
500
487
 
501
488
  (0, _each3.default)(this.dto.RetailPaymentDetails, function (detail) {
502
489
  var themode = (0, _find3.default)(_this5.paymode.paymodes, { 'idSettleStyle': detail.IdsettleStyle });
@@ -519,19 +506,19 @@ var SettlementStore = (_class = function () {
519
506
  if (themode.paymentType == PayStyle.djq) {
520
507
  (0, _each3.default)(_this5.dto.RetailCouponDetails, function (djq) {
521
508
  if (isNewRetailBCPos) {
522
- var _ref6 = djq || {},
523
- displayText = _ref6.displayText,
524
- promoRuleId = _ref6.promoRuleId,
525
- dateMount = _ref6.dateMount,
526
- promoMethodEnum = _ref6.promoMethodEnum,
527
- discountPct = _ref6.discountPct,
528
- promoId = _ref6.promoId,
529
- id = _ref6.id;
530
-
531
- _this5.addDjq(djq.CouponCode, djq.CouponTitle, true, djq.ReductionAmount, djq.EnableAmount, djq.LastTS, true, false, _this5.dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, null, id, true);
509
+ var _ref5 = djq || {},
510
+ displayText = _ref5.displayText,
511
+ promoRuleId = _ref5.promoRuleId,
512
+ dateMount = _ref5.dateMount,
513
+ promoMethodEnum = _ref5.promoMethodEnum,
514
+ discountPct = _ref5.discountPct,
515
+ promoId = _ref5.promoId,
516
+ id = _ref5.id;
517
+
518
+ _this5.addDjq(djq.CouponCode, djq.CouponTitle, djq.ReductionAmount, djq.EnableAmount, djq.LastTS, true, false, _this5.dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, id, true);
532
519
  return;
533
520
  }
534
- _this5.addDjq(djq.CouponCode, djq.CouponTitle, true, djq.ReductionAmount, djq.EnableAmount, djq.LastTS, true, false);
521
+ _this5.addDjq(djq.CouponCode, djq.CouponTitle, djq.ReductionAmount, djq.EnableAmount, djq.LastTS, true, false);
535
522
  });
536
523
  }
537
524
  _this5.paymode.thePaymodes.push(newmode);
@@ -608,9 +595,9 @@ var SettlementStore = (_class = function () {
608
595
  }, {
609
596
  key: 'getLoginInfo',
610
597
  value: function getLoginInfo() {
611
- var _ref7 = _mutantsMicrofx.localStore.get('user') || {},
612
- _ref7$loginInfo = _ref7.loginInfo,
613
- loginInfo = _ref7$loginInfo === undefined ? {} : _ref7$loginInfo;
598
+ var _ref6 = _mutantsMicrofx.localStore.get('user') || {},
599
+ _ref6$loginInfo = _ref6.loginInfo,
600
+ loginInfo = _ref6$loginInfo === undefined ? {} : _ref6$loginInfo;
614
601
 
615
602
  return loginInfo;
616
603
  }
@@ -629,8 +616,8 @@ var SettlementStore = (_class = function () {
629
616
  var IdStore = this.storeInfo.storeID;
630
617
  var StoreCode = this.storeInfo.storeCode; //_find(this.storeInfo.storeInfos,(store)=>{return store.ID==IdStore;}).Code;
631
618
 
632
- var _ref8 = _mutantsUtil.platform || {},
633
- isNewRetailBCPos = _ref8.isNewRetailBCPos;
619
+ var _ref7 = _mutantsUtil.platform || {},
620
+ isNewRetailBCPos = _ref7.isNewRetailBCPos;
634
621
 
635
622
  var address = '';
636
623
  if (isNewRetailBCPos) {
@@ -642,8 +629,8 @@ var SettlementStore = (_class = function () {
642
629
  var data = JSON.parse(result.Data);
643
630
  var m = data && data.length > 0 && data[0];
644
631
 
645
- var _ref9 = _mutantsUtil.platform || {},
646
- isNewRetailBCPos = _ref9.isNewRetailBCPos;
632
+ var _ref8 = _mutantsUtil.platform || {},
633
+ isNewRetailBCPos = _ref8.isNewRetailBCPos;
647
634
 
648
635
  if (isNewRetailBCPos) {
649
636
  _this7.paymode && _this7.paymode.currentMode.member.setMeStorageCardId(m.MeStorageCardId);
@@ -680,12 +667,10 @@ var SettlementStore = (_class = function () {
680
667
  }
681
668
  }, {
682
669
  key: 'addDjq',
683
- value: function addDjq(promoCouponCode, name, IsEnable, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id, unCheck, count) {
670
+ value: function addDjq(code, name, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, id, unCheck) {
684
671
  var djq = {
685
- code: promoCouponCode,
686
- promoCouponCode: promoCouponCode,
672
+ code: code,
687
673
  name: name,
688
- IsEnable: IsEnable,
689
674
  amount: amount,
690
675
  doorsill: doorsill, //:"无门槛"
691
676
  LastTS: LastTS,
@@ -698,12 +683,9 @@ var SettlementStore = (_class = function () {
698
683
  discountPct: discountPct,
699
684
  promoId: promoId,
700
685
  promoRuleId: promoRuleId,
701
- couponCategoryEnum: couponCategoryEnum,
702
- id: id,
703
- count: count === 1 && (couponCategoryEnum === 'RIGUP' || couponCategoryEnum === 'UN_MATCH' || couponCategoryEnum === "PREPARING" || couponCategoryEnum === 'PROMO_LIMITED' || couponCategoryEnum === 'COUPON_CONFLICT') ? 1 : null
686
+ id: id
704
687
  };
705
688
  this.paymode.currentMode.djqs.push(djq);
706
- // let copyData = _clonedeep(this.data[targetIndex]);
707
689
  !unCheck && !this.boriginReturn && this.paymode.calcDjqValue(djq);
708
690
  }
709
691
  }, {
@@ -931,7 +913,7 @@ var SettlementStore = (_class = function () {
931
913
  }, {
932
914
  key: 'commit',
933
915
  value: function () {
934
- var _ref10 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(bTest) {
916
+ var _ref9 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2(bTest) {
935
917
  return _regenerator2.default.wrap(function _callee2$(_context2) {
936
918
  while (1) {
937
919
  switch (_context2.prev = _context2.next) {
@@ -986,7 +968,7 @@ var SettlementStore = (_class = function () {
986
968
  }));
987
969
 
988
970
  function commit(_x2) {
989
- return _ref10.apply(this, arguments);
971
+ return _ref9.apply(this, arguments);
990
972
  }
991
973
 
992
974
  return commit;
@@ -1032,20 +1014,20 @@ var SettlementStore = (_class = function () {
1032
1014
  IPMSG = JSON.parse(window.localStorage.IPMSG);
1033
1015
  }
1034
1016
  return (0, _tplusApi.tApi)({ dto: this.dto }, 'chanjet.ME.INewRetailMemberStorage.Save', false, false).then(function (resp) {
1035
- var _ref11 = _mutantsUtil.platform || {},
1036
- isHorizontalPad = _ref11.isHorizontalPad,
1037
- isHorizontalSunMi = _ref11.isHorizontalSunMi;
1017
+ var _ref10 = _mutantsUtil.platform || {},
1018
+ isHorizontalPad = _ref10.isHorizontalPad,
1019
+ isHorizontalSunMi = _ref10.isHorizontalSunMi;
1038
1020
 
1039
1021
  if (isHorizontalPad === true) {
1040
1022
  // pad打印
1041
1023
  //执行移动端云打印
1042
1024
  if (_this10.cloudPrintArguments) {
1043
- var _ref12 = _this10.cloudPrintArguments || {},
1044
- Open = _ref12.Open,
1045
- Key = _ref12.Key,
1046
- Sign = _ref12.Sign,
1047
- Name = _ref12.Name,
1048
- Card = _ref12.Card;
1025
+ var _ref11 = _this10.cloudPrintArguments || {},
1026
+ Open = _ref11.Open,
1027
+ Key = _ref11.Key,
1028
+ Sign = _ref11.Sign,
1029
+ Name = _ref11.Name,
1030
+ Card = _ref11.Card;
1049
1031
 
1050
1032
  if (!Open) {
1051
1033
  _message2.default.warn(t('云打印未启用,请设置。'));
@@ -1083,8 +1065,8 @@ var SettlementStore = (_class = function () {
1083
1065
  return;
1084
1066
  } else {
1085
1067
  if (global.StoragePrintProcessBlock) {
1086
- var _ref13 = _mutantsUtil.platform || {},
1087
- isNewRetailBCPos = _ref13.isNewRetailBCPos;
1068
+ var _ref12 = _mutantsUtil.platform || {},
1069
+ isNewRetailBCPos = _ref12.isNewRetailBCPos;
1088
1070
 
1089
1071
  if (isNewRetailBCPos) {
1090
1072
  global.StoragePrintProcessBlock.execute(resp);
@@ -1102,10 +1084,10 @@ var SettlementStore = (_class = function () {
1102
1084
  }, {
1103
1085
  key: 'save',
1104
1086
  value: function () {
1105
- var _ref14 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
1087
+ var _ref13 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee3() {
1106
1088
  var _this11 = this;
1107
1089
 
1108
- var _enumController$getEn13, PayStyle, _ref16, isNewRetailBCPos, IPMSG, RetailTypeEnum;
1090
+ var _enumController$getEn13, PayStyle, _ref15, isNewRetailBCPos, IPMSG, RetailTypeEnum;
1109
1091
 
1110
1092
  return _regenerator2.default.wrap(function _callee3$(_context3) {
1111
1093
  while (1) {
@@ -1185,8 +1167,8 @@ var SettlementStore = (_class = function () {
1185
1167
  }
1186
1168
  });
1187
1169
 
1188
- var _ref15 = _mutantsUtil.platform || {},
1189
- isNewRetailBCPos = _ref15.isNewRetailBCPos;
1170
+ var _ref14 = _mutantsUtil.platform || {},
1171
+ isNewRetailBCPos = _ref14.isNewRetailBCPos;
1190
1172
 
1191
1173
  if (_this11.dto.RetailStorageDetails.length > 0) {
1192
1174
  var themode = (0, _find3.default)(_this11.paymode.paymodes, { 'paymentType': PayStyle.hyczk });
@@ -1220,7 +1202,7 @@ var SettlementStore = (_class = function () {
1220
1202
  _this11.dto.Idmember = Idmember;
1221
1203
  }
1222
1204
  });
1223
- _ref16 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref16.isNewRetailBCPos;
1205
+ _ref15 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref15.isNewRetailBCPos;
1224
1206
 
1225
1207
  console.log('bc_pos\u73AF\u5883:' + isNewRetailBCPos + ',\u7ED3\u7B97\u6570\u636E\uFF1A', this.dto);
1226
1208
 
@@ -1289,7 +1271,7 @@ var SettlementStore = (_class = function () {
1289
1271
  }));
1290
1272
 
1291
1273
  function save() {
1292
- return _ref14.apply(this, arguments);
1274
+ return _ref13.apply(this, arguments);
1293
1275
  }
1294
1276
 
1295
1277
  return save;
@@ -1302,7 +1284,7 @@ var SettlementStore = (_class = function () {
1302
1284
  }, {
1303
1285
  key: 'querySettleResult',
1304
1286
  value: function () {
1305
- var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
1287
+ var _ref16 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4() {
1306
1288
  return _regenerator2.default.wrap(function _callee4$(_context4) {
1307
1289
  while (1) {
1308
1290
  switch (_context4.prev = _context4.next) {
@@ -1330,7 +1312,7 @@ var SettlementStore = (_class = function () {
1330
1312
  }));
1331
1313
 
1332
1314
  function querySettleResult() {
1333
- return _ref17.apply(this, arguments);
1315
+ return _ref16.apply(this, arguments);
1334
1316
  }
1335
1317
 
1336
1318
  return querySettleResult;
@@ -1356,14 +1338,14 @@ var SettlementStore = (_class = function () {
1356
1338
  }, {
1357
1339
  key: 'validePwd',
1358
1340
  value: function () {
1359
- var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5(value) {
1360
- var _ref19, isNewRetailBCPos, cook1, cook2, message, result, count, _result;
1341
+ var _ref17 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee5(value) {
1342
+ var _ref18, isNewRetailBCPos, cook1, cook2, message, result, count, _result;
1361
1343
 
1362
1344
  return _regenerator2.default.wrap(function _callee5$(_context5) {
1363
1345
  while (1) {
1364
1346
  switch (_context5.prev = _context5.next) {
1365
1347
  case 0:
1366
- _ref19 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref19.isNewRetailBCPos;
1348
+ _ref18 = _mutantsUtil.platform || {}, isNewRetailBCPos = _ref18.isNewRetailBCPos;
1367
1349
  _context5.prev = 1;
1368
1350
 
1369
1351
  if (!isNewRetailBCPos) {
@@ -1447,7 +1429,7 @@ var SettlementStore = (_class = function () {
1447
1429
  }));
1448
1430
 
1449
1431
  function validePwd(_x3) {
1450
- return _ref18.apply(this, arguments);
1432
+ return _ref17.apply(this, arguments);
1451
1433
  }
1452
1434
 
1453
1435
  return validePwd;
@@ -1486,7 +1468,7 @@ var SettlementStore = (_class = function () {
1486
1468
  var _this13 = this;
1487
1469
 
1488
1470
  return function () {
1489
- var _ref20 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(_this) {
1471
+ var _ref19 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee6(_this) {
1490
1472
  var _getLoginInfo, IdStore, StoreCode, resp;
1491
1473
 
1492
1474
  return _regenerator2.default.wrap(function _callee6$(_context6) {
@@ -1513,14 +1495,13 @@ var SettlementStore = (_class = function () {
1513
1495
  }));
1514
1496
 
1515
1497
  return function (_x4) {
1516
- return _ref20.apply(this, arguments);
1498
+ return _ref19.apply(this, arguments);
1517
1499
  };
1518
1500
  }();
1519
1501
  }
1520
1502
  }), _applyDecoratedDescriptor(_class.prototype, 'addDjq', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addDjq'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeClickFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeClickFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeValue'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPayDirectly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPayDirectly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'delPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'delPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
1521
1503
  exports.default = SettlementStore;
1522
1504
  var PayMode = exports.PayMode = (_class3 = function () {
1523
- //应收
1524
1505
  function PayMode() {
1525
1506
  // this.amount=getFixedNumber(amount);
1526
1507
  // this.calcReserved();
@@ -1542,19 +1523,11 @@ var PayMode = exports.PayMode = (_class3 = function () {
1542
1523
  _initDefineProp(this, 'thePaymodes', _descriptor7, this);
1543
1524
 
1544
1525
  this.currentMode = null;
1545
- this.checkList = [];
1546
1526
  this.settle = {
1547
1527
  name: "复合结算",
1548
1528
  hotKey: "Ctrl+M"
1549
1529
  };
1550
-
1551
- _initDefineProp(this, 'calcCheckList', _descriptor8, this);
1552
-
1553
- _initDefineProp(this, 'setCouponNum', _descriptor9, this);
1554
-
1555
- _initDefineProp(this, 'addDjqs', _descriptor10, this);
1556
- }
1557
- // @observable store = null;
1530
+ } //应收
1558
1531
 
1559
1532
 
1560
1533
  (0, _createClass3.default)(PayMode, [{
@@ -1589,24 +1562,14 @@ var PayMode = exports.PayMode = (_class3 = function () {
1589
1562
  this.receivable = (0, _utils.getFixedNumber)(this.amount - sum);
1590
1563
  }
1591
1564
  }, {
1592
- key: 'calcDjqCheckValue',
1593
- value: function calcDjqCheckValue(q1, dto) {
1565
+ key: 'calcDjqValue',
1566
+ value: function calcDjqValue(q1) {
1594
1567
  var _this14 = this;
1595
1568
 
1596
- var useLimitPerOrder = (0, _tplusPoslogin.PosInitData)('UseLimitPerOrder');
1597
- var qList = (0, _filter3.default)(this.currentMode.djqs, function (djq) {
1598
- return djq.checked;
1599
- });
1600
- if (qList.length === useLimitPerOrder && !q1.checked) {
1601
- _message2.default.warn('本单最多可用' + useLimitPerOrder + '张');
1602
- return;
1603
- }
1604
-
1605
- var _ref21 = _mutantsUtil.platform || {},
1606
- isNewRetailBCPos = _ref21.isNewRetailBCPos;
1569
+ var _ref20 = _mutantsUtil.platform || {},
1570
+ isNewRetailBCPos = _ref20.isNewRetailBCPos;
1607
1571
 
1608
1572
  var _enumController$getEn14 = _mutantsUtil.enumController.getEnumOj(),
1609
- PayStyle = _enumController$getEn14.PayStyle,
1610
1573
  Differentiate = _enumController$getEn14.Differentiate;
1611
1574
 
1612
1575
  if (q1) {
@@ -1615,184 +1578,22 @@ var PayMode = exports.PayMode = (_class3 = function () {
1615
1578
  return;
1616
1579
  }
1617
1580
  var q = (0, _find3.default)(this.currentMode.djqs, function (djq) {
1618
- return djq.promoCouponCode == q1.promoCouponCode;
1581
+ return djq.code == q1.code;
1619
1582
  });
1620
1583
  if (q && !q.checked && parseFloat(this.amount) < parseFloat(q.doorsill)) {
1621
1584
  _message2.default.error("本单金额低于使用门槛,该券不可使用。");
1622
1585
  return;
1623
1586
  }
1624
1587
  //判断是否是选择优惠券 //CC优惠券只能使用一个
1625
- // if (q1 && !q1.checked && isNewRetailBCPos) {
1626
- // // 检查是否有已经选定优惠券 并且去除选定的优惠券
1627
- // this.currentMode.djqs.forEach((djq, index) => {
1628
- // if (djq.checked) this.currentMode.djqs[index].checked = false;
1629
- // })
1630
- // }
1631
- q && (q.checked = !q.checked);
1632
- }
1633
- var sum = 0;
1634
- // console.log(this.store, 'stores-------');
1635
- (0, _each3.default)((0, _filter3.default)(this.currentMode.djqs, function (djq) {
1636
- return djq.checked;
1637
- }), function (q) {
1638
- if (q.discountPct > 0) {
1639
- if (q.amount === 0) {
1640
- q.amount = (1 - q.discountPct) * _this14.currentMode.receivable;
1641
- console.log(q.amount, _this14.currentMode.receivable, 'amount111111111');
1642
- }
1643
- }
1644
- sum = Math.Add(sum, q.amount);
1645
- });
1646
- console.log(this.receivable, sum, this.currentMode.maxamount, 'amount3333333333');
1647
- this.currentMode.value = (0, _utils.getFixedNumber)(Math.min(this.receivable, sum, this.currentMode.maxamount));
1648
- this.currentMode.receivable = (0, _utils.getFixedNumber)(this.receivable - this.currentMode.value);
1649
- this.currentMode.overchargesAmount = (0, _utils.getFixedNumber)(sum - this.currentMode.value);
1650
- if (!q1.checked) {
1651
- this.checkList.forEach(function (ele, i) {
1652
- if (ele.id === q1.id) {
1653
- _this14.checkList.splice(i, 1);
1654
- }
1655
- });
1656
- return;
1657
- }
1658
- var promoVoucher = {};
1659
- promoVoucher.boName = "Retail";
1660
- this.checkList.push(q1);
1661
- // promoVoucher.promoLinks = _filter(this.currentMode.djqs,djq=>djq.checked);
1662
- promoVoucher.meMemberId = this.currentMode.member.id;
1663
- promoVoucher.storeFactorId = (0, _tplusPoslogin.PosInitData)('storeID');
1664
- promoVoucher.voucherDetailList = [];
1665
- dto.RetailDetails.forEach(function (item) {
1666
- var detailDTO = {};
1667
- detailDTO.uuid = item.Code;
1668
- detailDTO.detailBoName = "RetailDetail";
1669
- detailDTO.voucherDetailId = item.ID;
1670
- detailDTO.productId = item.Idinventory;
1671
- detailDTO.uomId = item.Idunit;
1672
- detailDTO.productSpecId = item.ProductSpecId;
1673
- detailDTO.isManualFreeGift = item.IsPresent;
1674
- detailDTO.isListPriceIncludingTax = item.TaxFlag || true;
1675
- detailDTO.IsManualChangePrice = item.IsManualChangePrice;
1676
- if (detailDTO.IsManualChangePrice) //如果是手工改价
1677
- {
1678
- detailDTO.listPrice = item.TaxPrice;
1679
- detailDTO.netAmountWithTax = item.TaxAmount;
1680
- } else {
1681
- var bookingQuantity = 0;
1682
- if (item.BookingQuantity) {
1683
- bookingQuantity = item.BookingQuantity;
1684
- }
1685
- detailDTO.listPrice = item.MemberPrice;
1686
- detailDTO.netAmountWithTax = Math.Multiply(item.MemberPrice, Math.Minus(item.Quantity, bookingQuantity)); //item.TaxAmount;
1687
- }
1688
- detailDTO.taxRate = item.TaxRate;
1689
- detailDTO.quantity = item.Quantity;
1690
-
1691
- detailDTO.amountWithTax = item.RetailAmount;
1692
- // 促销 start
1693
- if (item.PromotionDetails && item.PromotionDetails.length != 0) {
1694
- var promoLinks = [];
1695
- item.PromotionDetails.forEach(function (promotion) {
1696
- promoLinks.push({
1697
- promoId: promotion.IdSalesPromotionDTO,
1698
- promoRuleId: promotion.PromotionRuleId
1699
- });
1588
+ if (q1 && !q1.checked && isNewRetailBCPos) {
1589
+ // 检查是否有已经选定优惠券 并且去除选定的优惠券
1590
+ this.currentMode.djqs.forEach(function (djq, index) {
1591
+ if (djq.checked) _this14.currentMode.djqs[index].checked = false;
1700
1592
  });
1701
- if (promoLinks.length != 0) detailDTO.promoLinks = promoLinks;
1702
- }
1703
- // 促销 end
1704
- promoVoucher.voucherDetailList.push(detailDTO);
1705
- });
1706
- promoVoucher.promoLinks = this.checkList;
1707
- return (0, _tplusApi.ccApi)((0, _extends3.default)({}, promoVoucher), 'promotion/PromoCalculate/findUsefulCouponPromoList', false, false, { method: 'post', timeout_skip: true }).then(function (result) {
1708
- if (result && result.length != 0) {
1709
- result.forEach(function (element) {
1710
- var djq1 = (0, _filter3.default)(_this14.currentMode.djqs, function (djq) {
1711
- return djq.id === element.id;
1712
- });
1713
-
1714
- var _ref22 = element || {},
1715
- couponCode = _ref22.couponCode,
1716
- name = _ref22.name,
1717
- tieredAmountResult = _ref22.tieredAmountResult,
1718
- fromDate = _ref22.fromDate,
1719
- dateMount = _ref22.dateMount,
1720
- promoMethodEnum = _ref22.promoMethodEnum,
1721
- discountPct = _ref22.discountPct,
1722
- nominalAmount = _ref22.nominalAmount,
1723
- promoId = _ref22.promoId,
1724
- id = _ref22.id,
1725
- doorsill = _ref22.doorsill;
1726
-
1727
- var condValue = tieredAmountResult.condValue,
1728
- promoDiscount = tieredAmountResult.promoDiscount,
1729
- displayText = tieredAmountResult.displayText,
1730
- promoRuleId = tieredAmountResult.promoRuleId,
1731
- couponCategoryEnum = tieredAmountResult.couponCategoryEnum;
1732
-
1733
- if (!djq1.length) {
1734
- // this.currentMode.djqs.push({
1735
- // promoCouponCode: element.CouponCode,
1736
- // name: element.CouponTitle,
1737
- // IsEnable: true,
1738
- // amount: element.ReductionAmount,
1739
- // doorsill: element.EnableAmount,
1740
- // LastTS: element.LastTS,
1741
- // checked: false,
1742
- // IsRepelWithPoints: true,
1743
- // UMemberID: dto.Idmember,
1744
- // expired: null,
1745
- // displayText,
1746
- // promoMethodEnum,
1747
- // discountPct,
1748
- // promoId,
1749
- // promoRuleId,
1750
- // couponCategoryEnum: tieredAmountResult.couponCategoryEnum,
1751
- // id
1752
- // })
1753
- _this14.addDjqs(couponCode, name, true, nominalAmount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
1754
- } else {
1755
- _this14.setCouponNum(element.id, tieredAmountResult.couponCategoryEnum);
1756
- // this.currentMode.djqs[0].couponCategoryEnum = 'couponCategoryEnum';
1757
- // djq1.couponCategoryEnum = element.tieredAmountResult.couponCategoryEnum
1758
- }
1759
- });
1760
- }
1761
- });
1762
- //this.receivable = getFixedNumber(this.receivable - sum);
1763
- }
1764
- }, {
1765
- key: 'calcDjqValue',
1766
- value: function calcDjqValue(q1) {
1767
- var _ref23 = _mutantsUtil.platform || {},
1768
- isNewRetailBCPos = _ref23.isNewRetailBCPos;
1769
-
1770
- var _enumController$getEn15 = _mutantsUtil.enumController.getEnumOj(),
1771
- Differentiate = _enumController$getEn15.Differentiate;
1772
-
1773
- if (q1) {
1774
- if (!this.currentMode.boriginReturn && parseFloat(this.currentMode.maxamount) <= 0) {
1775
- _message2.default.error('\u672C\u5355\u6CA1\u6709' + Differentiate.COUPON + '\u53EF\u7528\u91D1\u989D\uFF0C\u8BE5\u5238\u4E0D\u53EF\u4F7F\u7528\u3002');
1776
- return;
1777
- }
1778
- var q = (0, _find3.default)(this.currentMode.djqs, function (djq) {
1779
- return djq.code == q1.code;
1780
- });
1781
- if (q && !q.checked && parseFloat(this.amount) < parseFloat(q.doorsill)) {
1782
- _message2.default.error("本单金额低于使用门槛,该券不可使用。");
1783
- return;
1784
1593
  }
1785
- //判断是否是选择优惠券 //CC优惠券只能使用一个
1786
- // if (q1 && !q1.checked && isNewRetailBCPos) {
1787
- // // 检查是否有已经选定优惠券 并且去除选定的优惠券
1788
- // this.currentMode.djqs.forEach((djq, index) => {
1789
- // if (djq.checked) this.currentMode.djqs[index].checked = false;
1790
- // })
1791
- // }
1792
1594
  q && (q.checked = !q.checked);
1793
1595
  }
1794
1596
  var sum = 0;
1795
- // console.log(this.store, 'stores-------');
1796
1597
  (0, _each3.default)((0, _filter3.default)(this.currentMode.djqs, function (djq) {
1797
1598
  return djq.checked;
1798
1599
  }), function (q) {
@@ -1801,7 +1602,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
1801
1602
  this.currentMode.value = (0, _utils.getFixedNumber)(Math.min(this.receivable, sum, this.currentMode.maxamount));
1802
1603
  this.currentMode.receivable = (0, _utils.getFixedNumber)(this.receivable - this.currentMode.value);
1803
1604
  this.currentMode.overchargesAmount = (0, _utils.getFixedNumber)(sum - this.currentMode.value);
1804
-
1805
1605
  //this.receivable = getFixedNumber(this.receivable - sum);
1806
1606
  }
1807
1607
  }, {
@@ -1844,16 +1644,16 @@ var PayMode = exports.PayMode = (_class3 = function () {
1844
1644
  }, {
1845
1645
  key: 'setPaymodes',
1846
1646
  value: function () {
1847
- var _ref24 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, isIntegralExchange) {
1647
+ var _ref21 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee7(type, isIntegralExchange) {
1848
1648
  var _this15 = this;
1849
1649
 
1850
- var _enumController$getEn16, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
1650
+ var _enumController$getEn15, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
1851
1651
 
1852
1652
  return _regenerator2.default.wrap(function _callee7$(_context7) {
1853
1653
  while (1) {
1854
1654
  switch (_context7.prev = _context7.next) {
1855
1655
  case 0:
1856
- _enumController$getEn16 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn16.settleStyleType, PayStyle = _enumController$getEn16.PayStyle;
1656
+ _enumController$getEn15 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn15.settleStyleType, PayStyle = _enumController$getEn15.PayStyle;
1857
1657
  memberStoreCode = settleStyleType.memberStoreCode, settlementCode = settleStyleType.settlementCode;
1858
1658
  param = { 'settleStyleType': type == 1 ? memberStoreCode : settlementCode, isIntegralExchange: isIntegralExchange };
1859
1659
  _context7.next = 5;
@@ -1898,7 +1698,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1898
1698
  }));
1899
1699
 
1900
1700
  function setPaymodes(_x5, _x6) {
1901
- return _ref24.apply(this, arguments);
1701
+ return _ref21.apply(this, arguments);
1902
1702
  }
1903
1703
 
1904
1704
  return setPaymodes;
@@ -1940,74 +1740,22 @@ var PayMode = exports.PayMode = (_class3 = function () {
1940
1740
  initializer: function initializer() {
1941
1741
  return [];
1942
1742
  }
1943
- }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
1944
- enumerable: true,
1945
- initializer: function initializer() {
1946
- var _this16 = this;
1947
-
1948
- return function () {
1949
- _this16.checkList = [];
1950
- };
1951
- }
1952
- }), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
1953
- enumerable: true,
1954
- initializer: function initializer() {
1955
- var _this17 = this;
1956
-
1957
- return function (id, couponNum, code) {
1958
- _this17.currentMode.djqs.forEach(function (ele) {
1959
- if (ele.id === id) {
1960
- ele.couponCategoryEnum = couponNum;
1961
- var IsEnable = ele.couponCategoryEnum === 'RIGUP' || ele.couponCategoryEnum === 'UN_MATCH' || ele.couponCategoryEnum === "PREPARING" || ele.couponCategoryEnum === 'PROMO_LIMITED' || ele.couponCategoryEnum === 'COUPON_CONFLICT' ? false : true;
1962
- ele.IsEnable = IsEnable;
1963
- }
1964
- });
1965
- };
1966
- }
1967
- }), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
1968
- enumerable: true,
1969
- initializer: function initializer() {
1970
- var _this18 = this;
1971
-
1972
- return function (promoCouponCode, name, IsEnable, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id) {
1973
- var djq = {
1974
- promoCouponCode: promoCouponCode,
1975
- name: name,
1976
- IsEnable: IsEnable,
1977
- amount: amount,
1978
- doorsill: doorsill,
1979
- LastTS: LastTS,
1980
- checked: checked,
1981
- IsRepelWithPoints: IsRepelWithPoints,
1982
- UMemberID: UMemberID,
1983
- expired: expired,
1984
- displayText: displayText,
1985
- promoMethodEnum: promoMethodEnum,
1986
- discountPct: discountPct,
1987
- promoId: promoId,
1988
- promoRuleId: promoRuleId,
1989
- couponCategoryEnum: couponCategoryEnum,
1990
- id: id
1991
- };
1992
- _this18.currentMode.djqs.push(djq);
1993
- };
1994
- }
1995
- }), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'reCalculationDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'reCalculationDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clearDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clearDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'setCurrentModeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'setCurrentModeValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcMemberBalance', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcMemberBalance'), _class3.prototype)), _class3);
1743
+ }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'reCalculationDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'reCalculationDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clearDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clearDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'setCurrentModeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'setCurrentModeValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcMemberBalance', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcMemberBalance'), _class3.prototype)), _class3);
1996
1744
  var Member = exports.Member = (_class5 = function () {
1997
1745
  function Member(m) {
1998
- var _this19 = this;
1746
+ var _this16 = this;
1999
1747
 
2000
1748
  (0, _classCallCheck3.default)(this, Member);
2001
1749
 
2002
- _initDefineProp(this, 'cardNo', _descriptor11, this);
1750
+ _initDefineProp(this, 'cardNo', _descriptor8, this);
2003
1751
 
2004
- _initDefineProp(this, 'balance', _descriptor12, this);
1752
+ _initDefineProp(this, 'balance', _descriptor9, this);
2005
1753
 
2006
- _initDefineProp(this, 'exchangable', _descriptor13, this);
1754
+ _initDefineProp(this, 'exchangable', _descriptor10, this);
2007
1755
 
2008
- _initDefineProp(this, 'meStorageCardId', _descriptor14, this);
1756
+ _initDefineProp(this, 'meStorageCardId', _descriptor11, this);
2009
1757
 
2010
- _initDefineProp(this, 'StorageCardNo', _descriptor15, this);
1758
+ _initDefineProp(this, 'StorageCardNo', _descriptor12, this);
2011
1759
 
2012
1760
  if (m) {
2013
1761
  this.id = m.ID;
@@ -2018,16 +1766,16 @@ var Member = exports.Member = (_class5 = function () {
2018
1766
  return key == 'canusedbalancestorage';
2019
1767
  });
2020
1768
 
2021
- var _ref25 = _mutantsUtil.platform || {},
2022
- isNewRetailBCPos = _ref25.isNewRetailBCPos;
1769
+ var _ref22 = _mutantsUtil.platform || {},
1770
+ isNewRetailBCPos = _ref22.isNewRetailBCPos;
2023
1771
 
2024
1772
  m.StorageCardNo && (this.StorageCardNo = m.StorageCardNo);
2025
1773
  (0, _mobx.runInAction)(function () {
2026
- _this19.cardNo = m.CardCode;
1774
+ _this16.cardNo = m.CardCode;
2027
1775
  if (index >= 0) {
2028
- _this19.balance = parseFloat(m.DynamicPropertyValues[index]);
1776
+ _this16.balance = parseFloat(m.DynamicPropertyValues[index]);
2029
1777
  } else {
2030
- _this19.balance = _this19.rawbalance;
1778
+ _this16.balance = _this16.rawbalance;
2031
1779
  }
2032
1780
  });
2033
1781
  this.needPwd = m.MemberType ? m.MemberType.IsNeedPwd : false;
@@ -2059,19 +1807,19 @@ var Member = exports.Member = (_class5 = function () {
2059
1807
  }
2060
1808
  }]);
2061
1809
  return Member;
2062
- }(), (_descriptor11 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
1810
+ }(), (_descriptor8 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
2063
1811
  enumerable: true,
2064
1812
  initializer: null
2065
- }), _descriptor12 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
1813
+ }), _descriptor9 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
2066
1814
  enumerable: true,
2067
1815
  initializer: null
2068
- }), _descriptor13 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
1816
+ }), _descriptor10 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
2069
1817
  enumerable: true,
2070
1818
  initializer: null
2071
- }), _descriptor14 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
1819
+ }), _descriptor11 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
2072
1820
  enumerable: true,
2073
1821
  initializer: null
2074
- }), _descriptor15 = _applyDecoratedDescriptor(_class5.prototype, 'StorageCardNo', [_mobx.observable], {
1822
+ }), _descriptor12 = _applyDecoratedDescriptor(_class5.prototype, 'StorageCardNo', [_mobx.observable], {
2075
1823
  enumerable: true,
2076
1824
  initializer: null
2077
1825
  }), _applyDecoratedDescriptor(_class5.prototype, 'setExchangable', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setExchangable'), _class5.prototype), _applyDecoratedDescriptor(_class5.prototype, 'setCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setCardNo'), _class5.prototype), _applyDecoratedDescriptor(_class5.prototype, 'setMeStorageCardId', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setMeStorageCardId'), _class5.prototype), _applyDecoratedDescriptor(_class5.prototype, 'setStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setStorageCardNo'), _class5.prototype)), _class5);