tplus-components-touch 3.27.28 → 3.27.29
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.
|
@@ -1122,7 +1122,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1122
1122
|
}
|
|
1123
1123
|
var themode = (0, _find3.default)(paymode.paymodes, { 'paymentType': key });
|
|
1124
1124
|
//预订非全款不可使用零售抵现类支付方式
|
|
1125
|
-
if (bookType == 'bookPay' && _this2.store.paymode.
|
|
1125
|
+
if (bookType == 'bookPay' && _this2.store.paymode.isNotFullOnlyBook && themode.virtualPay) {
|
|
1126
1126
|
return _message2.default.error("付订金时不可使用零售抵现类结算方式!");
|
|
1127
1127
|
}
|
|
1128
1128
|
if (themode.exchangeRate != 1) {
|
|
@@ -1211,7 +1211,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1211
1211
|
_this2.handleChange = function (index, e, type) {
|
|
1212
1212
|
if (!_mutantsMicrofx.stores.offlineSys.shouldSettlement(_this2.store.paymode.currentFocus)) return;
|
|
1213
1213
|
var mode = (0, _find3.default)(_this2.store.paymode.thePaymodes, { 'paymethodId': index });
|
|
1214
|
-
if (type == 'bookPay' && _this2.store.paymode.
|
|
1214
|
+
if (type == 'bookPay' && _this2.store.paymode.isNotFullOnlyBook && mode.virtualPay) {
|
|
1215
1215
|
return _message2.default.error("付订金时不可使用零售抵现类结算方式!");
|
|
1216
1216
|
}
|
|
1217
1217
|
var currentInput = e.target;
|
|
@@ -1399,7 +1399,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1399
1399
|
};
|
|
1400
1400
|
|
|
1401
1401
|
_this2.onHotKeyClick1 = function (mode, index, boriginReturn, bookType) {
|
|
1402
|
-
if (bookType == 'bookPay' && _this2.store.paymode.
|
|
1402
|
+
if (bookType == 'bookPay' && _this2.store.paymode.isNotFullOnlyBook && mode.virtualPay) {
|
|
1403
1403
|
return _message2.default.error("付订金时不可使用零售抵现类结算方式!");
|
|
1404
1404
|
}
|
|
1405
1405
|
if (!_mutantsMicrofx.stores.offlineSys.shouldSettlement(mode.paymentType)) return false;
|
|
@@ -1446,7 +1446,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1446
1446
|
if (_this2.hotkeydebouncedPayMode == mode) {
|
|
1447
1447
|
return;
|
|
1448
1448
|
}
|
|
1449
|
-
if (bookType == 'bookPay' && _this2.store.paymode.
|
|
1449
|
+
if (bookType == 'bookPay' && _this2.store.paymode.isNotFullOnlyBook && mode.virtualPay) {
|
|
1450
1450
|
return _message2.default.error("付订金时不可使用零售抵现类结算方式!");
|
|
1451
1451
|
}
|
|
1452
1452
|
_this2.store.changeClickFocusOnly(mode.paymentType);
|