tplus-components-touch 3.26.8 → 3.26.9
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.
|
@@ -1586,7 +1586,7 @@ var SettlementStore = (_class = function () {
|
|
|
1586
1586
|
resp = _context7.sent;
|
|
1587
1587
|
|
|
1588
1588
|
_this.member = resp;
|
|
1589
|
-
_this.paymode.
|
|
1589
|
+
_this.paymode.updateMemberStorageCardNo(resp.StorageCardNo, resp.WalletEnabled);
|
|
1590
1590
|
return _context7.abrupt('return', _promise2.default.resolve(resp));
|
|
1591
1591
|
|
|
1592
1592
|
case 7:
|
|
@@ -1745,6 +1745,12 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1745
1745
|
this.received = (0, _utils.getFixedNumber)(sum);
|
|
1746
1746
|
this.receivable = (0, _utils.getFixedNumber)(this.amount - sum);
|
|
1747
1747
|
}
|
|
1748
|
+
}, {
|
|
1749
|
+
key: 'updateMemberStorageCardNo',
|
|
1750
|
+
value: function updateMemberStorageCardNo(storageCardNo, walletEnabled) {
|
|
1751
|
+
this.currentMode.storageCardNo = storageCardNo;
|
|
1752
|
+
this.currentMode.walletEnabled = walletEnabled;
|
|
1753
|
+
}
|
|
1748
1754
|
}, {
|
|
1749
1755
|
key: 'updateCardInfo',
|
|
1750
1756
|
value: function updateCardInfo(m) {
|
|
@@ -2147,7 +2153,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
2147
2153
|
_this18.checkList = [];
|
|
2148
2154
|
};
|
|
2149
2155
|
}
|
|
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], {
|
|
2156
|
+
}), _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
2157
|
enumerable: true,
|
|
2152
2158
|
initializer: function initializer() {
|
|
2153
2159
|
var _this19 = this;
|