tplus-components-touch 3.17.14 → 3.17.15
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.
|
@@ -1164,6 +1164,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1164
1164
|
};
|
|
1165
1165
|
|
|
1166
1166
|
_this2.handleChange = function (index, e) {
|
|
1167
|
+
if (!_mutantsMicrofx.stores.offlineSys.shouldSettlement(_this2.store.paymode.currentFocus)) return;
|
|
1167
1168
|
var currentInput = e.target;
|
|
1168
1169
|
var amountMaxLength = parseInt(_this2.props.initData["AmountMaxLength"] || 10);
|
|
1169
1170
|
if (!isNaN(e.target.value) || e.target.value == '-') {
|
|
@@ -1321,6 +1322,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1321
1322
|
};
|
|
1322
1323
|
|
|
1323
1324
|
_this2.onHotKeyClick2 = function (index, mode, paymode, e) {
|
|
1325
|
+
if (!_mutantsMicrofx.stores.offlineSys.shouldSettlement(mode.paymentType)) return false;
|
|
1324
1326
|
if (_this2.hotkeydebouncedPayMode == mode) {
|
|
1325
1327
|
return;
|
|
1326
1328
|
}
|