tplus-components-touch 3.39.8 → 3.39.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.
|
@@ -1217,10 +1217,24 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1217
1217
|
};
|
|
1218
1218
|
|
|
1219
1219
|
_this2.onTabsClick = function (key, bookType) {
|
|
1220
|
+
var _this2$store3 = _this2.store,
|
|
1221
|
+
paymode = _this2$store3.paymode,
|
|
1222
|
+
brefund = _this2$store3.brefund,
|
|
1223
|
+
boriginReturn = _this2$store3.boriginReturn;
|
|
1224
|
+
|
|
1220
1225
|
var _enumController$getEn9 = _mutantsUtil.enumController.getEnumOj(),
|
|
1221
1226
|
PayStyle = _enumController$getEn9.PayStyle,
|
|
1222
1227
|
Differentiate = _enumController$getEn9.Differentiate;
|
|
1223
1228
|
|
|
1229
|
+
if (key === PayStyle.djq && Math.Minus(paymode.received, paymode.amount) > 0) {
|
|
1230
|
+
_modalWraper2.default.info({
|
|
1231
|
+
title: '提示',
|
|
1232
|
+
content: '实收金额已大于应收金额,不允许使用优惠券',
|
|
1233
|
+
okText: '确定',
|
|
1234
|
+
okType: 'primary'
|
|
1235
|
+
});
|
|
1236
|
+
return;
|
|
1237
|
+
}
|
|
1224
1238
|
if (key === PayStyle.hyczk) {
|
|
1225
1239
|
var isProhibitMeStorageCard = _this2.props.isProhibitMeStorageCard;
|
|
1226
1240
|
|
|
@@ -1233,10 +1247,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
1233
1247
|
var _enumController$getEn10 = _mutantsUtil.enumController.getEnumOj(),
|
|
1234
1248
|
MultiPay = _enumController$getEn10.MultiPay;
|
|
1235
1249
|
|
|
1236
|
-
var _this2$store3 = _this2.store,
|
|
1237
|
-
paymode = _this2$store3.paymode,
|
|
1238
|
-
brefund = _this2$store3.brefund,
|
|
1239
|
-
boriginReturn = _this2$store3.boriginReturn;
|
|
1240
1250
|
var noAlreadyWarn = _this2.state.noAlreadyWarn;
|
|
1241
1251
|
|
|
1242
1252
|
if (!_mutantsMicrofx.stores.offlineSys.shouldSettlement(key)) return false;
|