tplus-components-touch 3.54.9 → 3.54.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/billSearch/index.js +10 -20
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/settlement/settlement.js +26 -25
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlement.less +1 -11
- package/dist/components/touchTable/index.js +1 -1
- package/dist/components/touchTable/index.js.map +1 -1
- package/package.json +1 -1
@@ -2319,7 +2319,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2319
2319
|
}();
|
2320
2320
|
|
2321
2321
|
_this2.handleCzk = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee16() {
|
2322
|
-
var that, curmode, promises, _enumController$getEn22,
|
2322
|
+
var that, curmode, promises, _enumController$getEn22, PayStyle, pwdStatus, handleUserInputs, _commit;
|
2323
2323
|
|
2324
2324
|
return _regenerator2.default.wrap(function _callee16$(_context16) {
|
2325
2325
|
while (1) {
|
@@ -2328,11 +2328,10 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2328
2328
|
that = _this2;
|
2329
2329
|
curmode = _this2.store.paymode.currentMode;
|
2330
2330
|
promises = [];
|
2331
|
+
_enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn22.PayStyle;
|
2331
2332
|
|
2332
2333
|
if (curmode.value > 0) {
|
2333
|
-
|
2334
|
-
|
2335
|
-
if (curmode.paymentType === _PayStyle.hyczk) {
|
2334
|
+
if (curmode.paymentType === PayStyle.hyczk) {
|
2336
2335
|
if (curmode.cardTypeEnum === 'BALANCE_CARD') {
|
2337
2336
|
!curmode.freePaymentPasswordStore && _this2.setState({
|
2338
2337
|
confirmStatus: true
|
@@ -2345,7 +2344,19 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2345
2344
|
}
|
2346
2345
|
}
|
2347
2346
|
|
2348
|
-
|
2347
|
+
pwdStatus = true;
|
2348
|
+
|
2349
|
+
if (curmode.cardTypeEnum === 'BALANCE_CARD') {
|
2350
|
+
if (!curmode.freePaymentPasswordStore) {
|
2351
|
+
pwdStatus = false;
|
2352
|
+
}
|
2353
|
+
} else {
|
2354
|
+
if (curmode.isNeedPassword) {
|
2355
|
+
pwdStatus = false;
|
2356
|
+
}
|
2357
|
+
}
|
2358
|
+
|
2359
|
+
if (curmode.paymentType !== PayStyle.hyczk || pwdStatus) {
|
2349
2360
|
handleUserInputs = function () {
|
2350
2361
|
var _ref18 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(promises) {
|
2351
2362
|
var results, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, p, _result2;
|
@@ -2506,7 +2517,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2506
2517
|
handleUserInputs(promises);
|
2507
2518
|
}
|
2508
2519
|
|
2509
|
-
case
|
2520
|
+
case 8:
|
2510
2521
|
case 'end':
|
2511
2522
|
return _context16.stop();
|
2512
2523
|
}
|
@@ -2715,27 +2726,17 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2715
2726
|
|
2716
2727
|
_modalWraper2.default.confirm({
|
2717
2728
|
className: 'not-selectable-voucher',
|
2718
|
-
title: '
|
2719
|
-
icon: false,
|
2729
|
+
title: '以下零售单尚未生成零售结算单,不能进行收款',
|
2720
2730
|
content: _react2.default.createElement(
|
2721
|
-
'
|
2731
|
+
'ul',
|
2722
2732
|
null,
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
null,
|
2731
|
-
notSelectableVoucherList.map(function (o) {
|
2732
|
-
return _react2.default.createElement(
|
2733
|
-
'li',
|
2734
|
-
null,
|
2735
|
-
o.Code
|
2736
|
-
);
|
2737
|
-
})
|
2738
|
-
)
|
2733
|
+
notSelectableVoucherList.map(function (o) {
|
2734
|
+
return _react2.default.createElement(
|
2735
|
+
'li',
|
2736
|
+
null,
|
2737
|
+
o.Code
|
2738
|
+
);
|
2739
|
+
})
|
2739
2740
|
)
|
2740
2741
|
});
|
2741
2742
|
return _context18.abrupt('return');
|