tplus-components-touch 3.44.1 → 3.44.4
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.
- package/dist/components/billSearch/index.js +17 -40
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/cloudPrint/BTPrintFormatUtil.js +2 -2
- package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
- package/dist/components/cloudPrint/index.js +893 -608
- package/dist/components/cloudPrint/index.js.map +1 -1
- package/dist/components/cloudPrint/printDispatch.js +184 -48
- package/dist/components/cloudPrint/printDispatch.js.map +1 -1
- package/dist/components/cloudPrint/printTemplate/dialy_one.json +239 -0
- package/dist/components/cloudPrint/printTemplate/duty_one.json +239 -0
- package/dist/components/cloudPrint/printTemplate/retail_one.json +204 -0
- package/dist/components/cloudPrint/printTemplate/retail_two.json +220 -0
- package/dist/components/cloudPrint/printTemplate/storage_one.json +129 -0
- package/dist/components/cloudPrint/printTemplate/template.js +52 -0
- package/dist/components/cloudPrint/printTemplate/template.js.map +1 -0
- package/dist/components/deliverySearch/index.js +5 -1
- package/dist/components/deliverySearch/index.js.map +1 -1
- package/dist/components/hardwareAPI/index.js +46 -12
- package/dist/components/hardwareAPI/index.js.map +1 -1
- package/dist/components/inventorySearch/tab.js +6 -1
- package/dist/components/inventorySearch/tab.js.map +1 -1
- package/dist/components/loading/loadingContent.js +5 -2
- package/dist/components/loading/loadingContent.js.map +1 -1
- package/dist/components/message/index.js +4 -5
- package/dist/components/message/index.js.map +1 -1
- package/dist/components/notification/index.js +11 -12
- package/dist/components/notification/index.js.map +1 -1
- package/dist/components/progressState/EmptyAndErrorView.js +5 -7
- package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
- package/dist/components/settlement/settlement.js +69 -97
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlementStore.js +17 -26
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/touchTable/index.js +5 -3
- package/dist/components/touchTable/index.js.map +1 -1
- package/package.json +35 -35
@@ -1492,6 +1492,7 @@ var SettlementStore = (_class = function () {
|
|
1492
1492
|
DynamicPropertyValues: [],
|
1493
1493
|
DataSource: { Id: _this12.dataSource },
|
1494
1494
|
ThirdPaymentInfo: themode.thridPayment || null,
|
1495
|
+
SettleStyle: { Name: mode.name },
|
1495
1496
|
ThirdPaymentReturnInfo: mode.thirdPaymentReturnInfo || null
|
1496
1497
|
});
|
1497
1498
|
if (mode.paymentType == PayStyle.djq) {
|
@@ -2312,9 +2313,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2312
2313
|
this.checkList = [];
|
2313
2314
|
}
|
2314
2315
|
|
2315
|
-
var _ref29 = _mutantsUtil.platform || {},
|
2316
|
-
isNewRetailBCPos = _ref29.isNewRetailBCPos;
|
2317
|
-
|
2318
2316
|
var _enumController$getEn18 = _mutantsUtil.enumController.getEnumOj(),
|
2319
2317
|
PayStyle = _enumController$getEn18.PayStyle,
|
2320
2318
|
Differentiate = _enumController$getEn18.Differentiate;
|
@@ -2423,18 +2421,18 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2423
2421
|
}
|
2424
2422
|
});
|
2425
2423
|
|
2426
|
-
var
|
2427
|
-
couponCode =
|
2428
|
-
name =
|
2429
|
-
tieredAmountResult =
|
2430
|
-
fromDate =
|
2431
|
-
dateMount =
|
2432
|
-
promoMethodEnum =
|
2433
|
-
discountPct =
|
2434
|
-
nominalAmount =
|
2435
|
-
promoId =
|
2436
|
-
id =
|
2437
|
-
doorsill =
|
2424
|
+
var _ref29 = element || {},
|
2425
|
+
couponCode = _ref29.couponCode,
|
2426
|
+
name = _ref29.name,
|
2427
|
+
tieredAmountResult = _ref29.tieredAmountResult,
|
2428
|
+
fromDate = _ref29.fromDate,
|
2429
|
+
dateMount = _ref29.dateMount,
|
2430
|
+
promoMethodEnum = _ref29.promoMethodEnum,
|
2431
|
+
discountPct = _ref29.discountPct,
|
2432
|
+
nominalAmount = _ref29.nominalAmount,
|
2433
|
+
promoId = _ref29.promoId,
|
2434
|
+
id = _ref29.id,
|
2435
|
+
doorsill = _ref29.doorsill;
|
2438
2436
|
|
2439
2437
|
var condValue = tieredAmountResult.condValue,
|
2440
2438
|
promoDiscount = tieredAmountResult.promoDiscount,
|
@@ -2478,9 +2476,6 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2478
2476
|
}, {
|
2479
2477
|
key: 'calcDjqValue',
|
2480
2478
|
value: function calcDjqValue(q1) {
|
2481
|
-
var _ref31 = _mutantsUtil.platform || {},
|
2482
|
-
isNewRetailBCPos = _ref31.isNewRetailBCPos;
|
2483
|
-
|
2484
2479
|
var _enumController$getEn19 = _mutantsUtil.enumController.getEnumOj(),
|
2485
2480
|
Differentiate = _enumController$getEn19.Differentiate;
|
2486
2481
|
|
@@ -2582,17 +2577,17 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2582
2577
|
}, {
|
2583
2578
|
key: 'setPaymodes',
|
2584
2579
|
value: function () {
|
2585
|
-
var
|
2580
|
+
var _ref30 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
|
2586
2581
|
var _this20 = this;
|
2587
2582
|
|
2588
|
-
var
|
2583
|
+
var _ref31, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
2589
2584
|
|
2590
2585
|
return _regenerator2.default.wrap(function _callee15$(_context15) {
|
2591
2586
|
while (1) {
|
2592
2587
|
switch (_context15.prev = _context15.next) {
|
2593
2588
|
case 0:
|
2594
2589
|
// 是否移动端判断
|
2595
|
-
|
2590
|
+
_ref31 = _mutantsUtil.platform || {}, isHorizontalPad = _ref31.isHorizontalPad, isHorizontalSunMi = _ref31.isHorizontalSunMi;
|
2596
2591
|
isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;
|
2597
2592
|
_enumController$getEn21 = _mutantsUtil.enumController.getEnumOj(), settleStyleType = _enumController$getEn21.settleStyleType, PayStyle = _enumController$getEn21.PayStyle;
|
2598
2593
|
memberStoreCode = settleStyleType.memberStoreCode, settlementCode = settleStyleType.settlementCode;
|
@@ -2644,7 +2639,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2644
2639
|
}));
|
2645
2640
|
|
2646
2641
|
function setPaymodes(_x13, _x14) {
|
2647
|
-
return
|
2642
|
+
return _ref30.apply(this, arguments);
|
2648
2643
|
}
|
2649
2644
|
|
2650
2645
|
return setPaymodes;
|
@@ -2776,10 +2771,6 @@ var Member = exports.Member = (_class5 = function () {
|
|
2776
2771
|
var index = (0, _findIndex3.default)(m.DynamicPropertyKeys, function (key) {
|
2777
2772
|
return key == 'canusedbalancestorage';
|
2778
2773
|
});
|
2779
|
-
|
2780
|
-
var _ref34 = _mutantsUtil.platform || {},
|
2781
|
-
isNewRetailBCPos = _ref34.isNewRetailBCPos;
|
2782
|
-
|
2783
2774
|
(0, _mobx.runInAction)(function () {
|
2784
2775
|
_this24.cardNo = m.CardCode;
|
2785
2776
|
if (index >= 0) {
|