tplus-components-touch 3.27.5 → 3.29.1
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/api.js +13 -74
- package/dist/components/billSearch/api.js.map +1 -1
- package/dist/components/commonForm/addressPicker/index.js +7 -16
- package/dist/components/commonForm/addressPicker/index.js.map +1 -1
- package/dist/components/commonForm/index.js +3 -9
- package/dist/components/commonForm/index.js.map +1 -1
- package/dist/components/hotKey/localConfig.js +0 -52
- package/dist/components/hotKey/localConfig.js.map +1 -1
- package/dist/components/settlement/settlement.js +66 -237
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlement.less +1 -7
- package/dist/components/settlement/settlementStore.js +59 -96
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/ticon/iconfont/demo.css +539 -539
- package/dist/components/ticon/iconfont/demo_index.html +5202 -5225
- package/dist/components/ticon/iconfont/iconfont.css +887 -891
- package/dist/components/ticon/iconfont/iconfont.js +1 -1
- package/dist/components/ticon/iconfont/iconfont.js.map +1 -1
- package/dist/components/ticon/iconfont/iconfont.json +1535 -1542
- package/dist/components/ticon/iconfont/iconfont.ttf +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff2 +0 -0
- package/dist/components/touchTable/index.js +0 -9
- package/dist/components/touchTable/index.js.map +1 -1
- package/dist/index.js +3 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/presale/pickup.js +0 -419
- package/dist/components/presale/pickup.js.map +0 -1
- package/dist/components/presale/style.less +0 -48
|
@@ -24,10 +24,6 @@ var _carousel = require('antd/es/carousel');
|
|
|
24
24
|
|
|
25
25
|
var _carousel2 = _interopRequireDefault(_carousel);
|
|
26
26
|
|
|
27
|
-
var _keys = require('babel-runtime/core-js/object/keys');
|
|
28
|
-
|
|
29
|
-
var _keys2 = _interopRequireDefault(_keys);
|
|
30
|
-
|
|
31
27
|
var _button = require('antd/es/button');
|
|
32
28
|
|
|
33
29
|
var _button2 = _interopRequireDefault(_button);
|
|
@@ -595,10 +591,10 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
595
591
|
// czkVisible: true
|
|
596
592
|
// })
|
|
597
593
|
// }
|
|
598
|
-
// }
|
|
594
|
+
// }
|
|
599
595
|
// // else {
|
|
600
596
|
// // Message.warn('请先录入会员');
|
|
601
|
-
// // }
|
|
597
|
+
// // }
|
|
602
598
|
// // this.setState({
|
|
603
599
|
// // czkVisible: true,
|
|
604
600
|
// // });
|
|
@@ -2497,180 +2493,57 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
2497
2493
|
};
|
|
2498
2494
|
}();
|
|
2499
2495
|
|
|
2500
|
-
_this2.
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
var names = [];
|
|
2505
|
-
var temphtml = [];
|
|
2506
|
-
var count = 0;
|
|
2507
|
-
if ((0, _keys2.default)(nonProductMap).length > 0) {
|
|
2508
|
-
var _loop = function _loop(key) {
|
|
2509
|
-
count++;
|
|
2510
|
-
var product = RetailDetails.find(function (o) {
|
|
2511
|
-
return o.Idinventory == key;
|
|
2512
|
-
});
|
|
2513
|
-
names.push('【' + product.Inventory.Name + '】');
|
|
2514
|
-
temphtml.push(count + '、' + nonProductMap[key]);
|
|
2515
|
-
};
|
|
2516
|
-
|
|
2517
|
-
for (var key in nonProductMap) {
|
|
2518
|
-
_loop(key);
|
|
2519
|
-
}
|
|
2520
|
-
_modalWraper2.default.warning({
|
|
2521
|
-
title: '不可配送商品',
|
|
2522
|
-
content: '\u5546\u54C1' + names.join(',') + '\u4E0D\u53EF\u914D\u9001\uFF0C\u53EF\u80FD\u539F\u56E0\u5982\u4E0B\uFF1A' + temphtml.join(';')
|
|
2523
|
-
});
|
|
2524
|
-
return true;
|
|
2525
|
-
}
|
|
2526
|
-
return false;
|
|
2527
|
-
};
|
|
2528
|
-
|
|
2529
|
-
_this2.btnDebounced = function () {
|
|
2530
|
-
var _ref25 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee14(type, bquick) {
|
|
2531
|
-
var _ref26, IdbusiType, CustomerPhone, DistributionMode, _this2$store7, getPerformanceDistributionValue, getPosFreight, updataFreight, IPMSG, _ref27, nonProductMap, _ref27$freightProduct, freightProductDTOList, data, _enumController$getEn22, PayStyle, _this2$store8, paymode, brefund, boriginReturn, newStyle, status;
|
|
2532
|
-
|
|
2533
|
-
return _regenerator2.default.wrap(function _callee14$(_context14) {
|
|
2534
|
-
while (1) {
|
|
2535
|
-
switch (_context14.prev = _context14.next) {
|
|
2536
|
-
case 0:
|
|
2537
|
-
_ref26 = _this2.context.viewModel.data || {}, IdbusiType = _ref26.IdbusiType, CustomerPhone = _ref26.CustomerPhone, DistributionMode = _ref26.DistributionMode;
|
|
2538
|
-
//预订时,若没录入买家手机号,或配送方式为快递时,弹框买家信息确认框
|
|
2539
|
-
|
|
2540
|
-
if (!(IdbusiType == 38)) {
|
|
2541
|
-
_context14.next = 28;
|
|
2542
|
-
break;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
if (!(!CustomerPhone || DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE')) {
|
|
2546
|
-
_context14.next = 5;
|
|
2547
|
-
break;
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
|
-
_context14.next = 5;
|
|
2551
|
-
return _this2.props.openBuyerModal();
|
|
2552
|
-
|
|
2553
|
-
case 5:
|
|
2554
|
-
if (!(DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE')) {
|
|
2555
|
-
_context14.next = 28;
|
|
2556
|
-
break;
|
|
2557
|
-
}
|
|
2558
|
-
|
|
2559
|
-
_this2$store7 = _this2.store, getPerformanceDistributionValue = _this2$store7.getPerformanceDistributionValue, getPosFreight = _this2$store7.getPosFreight, updataFreight = _this2$store7.updataFreight;
|
|
2560
|
-
IPMSG = {};
|
|
2561
|
-
|
|
2562
|
-
if (!!window.localStorage.IPMSG) {
|
|
2563
|
-
IPMSG = JSON.parse(window.localStorage.IPMSG);
|
|
2564
|
-
}
|
|
2565
|
-
_context14.next = 11;
|
|
2566
|
-
return getPerformanceDistributionValue({ cip: IPMSG.query || "", dto: _this2.context.viewModel.data });
|
|
2567
|
-
|
|
2568
|
-
case 11:
|
|
2569
|
-
_ref27 = _context14.sent;
|
|
2570
|
-
nonProductMap = _ref27.nonProductMap;
|
|
2571
|
-
_ref27$freightProduct = _ref27.freightProductDTOList;
|
|
2572
|
-
freightProductDTOList = _ref27$freightProduct === undefined ? [] : _ref27$freightProduct;
|
|
2573
|
-
|
|
2574
|
-
console.log('zlfnonProductMap', nonProductMap);
|
|
2575
|
-
console.log('zlffreightProductDTOList', freightProductDTOList);
|
|
2576
|
-
|
|
2577
|
-
if (!_this2.isNoProductTip(nonProductMap)) {
|
|
2578
|
-
_context14.next = 19;
|
|
2579
|
-
break;
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
return _context14.abrupt('return');
|
|
2583
|
-
|
|
2584
|
-
case 19:
|
|
2585
|
-
_context14.next = 21;
|
|
2586
|
-
return _this2.props.openWareHouseModal(freightProductDTOList);
|
|
2587
|
-
|
|
2588
|
-
case 21:
|
|
2589
|
-
_context14.next = 23;
|
|
2590
|
-
return getPosFreight({ cip: IPMSG.query || "", dto: _this2.context.viewModel.data });
|
|
2591
|
-
|
|
2592
|
-
case 23:
|
|
2593
|
-
data = _context14.sent;
|
|
2594
|
-
|
|
2595
|
-
if (!_this2.isNoProductTip(data.nonProductMap)) {
|
|
2596
|
-
_context14.next = 26;
|
|
2597
|
-
break;
|
|
2598
|
-
}
|
|
2599
|
-
|
|
2600
|
-
return _context14.abrupt('return');
|
|
2601
|
-
|
|
2602
|
-
case 26:
|
|
2603
|
-
_context14.next = 28;
|
|
2604
|
-
return _this2.props.updataFreight(data.freight);
|
|
2605
|
-
|
|
2606
|
-
case 28:
|
|
2607
|
-
|
|
2608
|
-
_this2.setState({
|
|
2609
|
-
bquick: bquick
|
|
2610
|
-
});
|
|
2611
|
-
_enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(), PayStyle = _enumController$getEn22.PayStyle;
|
|
2612
|
-
_this2$store8 = _this2.store, paymode = _this2$store8.paymode, brefund = _this2$store8.brefund, boriginReturn = _this2$store8.boriginReturn, newStyle = _this2$store8.newStyle;
|
|
2613
|
-
|
|
2614
|
-
if (!(bquick && !_mutantsMicrofx.stores.offlineSys.shouldSettlement(type))) {
|
|
2615
|
-
_context14.next = 33;
|
|
2616
|
-
break;
|
|
2617
|
-
}
|
|
2618
|
-
|
|
2619
|
-
return _context14.abrupt('return', false);
|
|
2620
|
-
|
|
2621
|
-
case 33:
|
|
2622
|
-
status = false;
|
|
2496
|
+
_this2.btnDebounced = function (type, bquick) {
|
|
2497
|
+
_this2.setState({
|
|
2498
|
+
bquick: bquick
|
|
2499
|
+
});
|
|
2623
2500
|
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
status = true;
|
|
2627
|
-
}
|
|
2628
|
-
});
|
|
2629
|
-
_this2.setState({
|
|
2630
|
-
isXianjin: status ? true : false
|
|
2631
|
-
});
|
|
2501
|
+
var _enumController$getEn22 = _mutantsUtil.enumController.getEnumOj(),
|
|
2502
|
+
PayStyle = _enumController$getEn22.PayStyle;
|
|
2632
2503
|
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2504
|
+
var _this2$store7 = _this2.store,
|
|
2505
|
+
paymode = _this2$store7.paymode,
|
|
2506
|
+
brefund = _this2$store7.brefund,
|
|
2507
|
+
boriginReturn = _this2$store7.boriginReturn,
|
|
2508
|
+
newStyle = _this2$store7.newStyle;
|
|
2637
2509
|
|
|
2638
|
-
return _context14.abrupt('return');
|
|
2639
2510
|
|
|
2640
|
-
|
|
2641
|
-
_this2.btndebounced = (0, _debounce3.default)(function () {
|
|
2642
|
-
if (bquick) {
|
|
2643
|
-
_this2.quickSettle(type);
|
|
2644
|
-
} else {
|
|
2645
|
-
_this2.showModal();
|
|
2646
|
-
}
|
|
2647
|
-
}, 1000, {
|
|
2648
|
-
'leading': true,
|
|
2649
|
-
'trailing': false
|
|
2650
|
-
});
|
|
2651
|
-
_this2.btndebounced();
|
|
2652
|
-
setTimeout(function () {
|
|
2653
|
-
_this2.btndebounced.cancel();
|
|
2654
|
-
_this2.btndebounced = null;
|
|
2655
|
-
}, 2000);
|
|
2511
|
+
if (bquick && !_mutantsMicrofx.stores.offlineSys.shouldSettlement(type)) return false;
|
|
2656
2512
|
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2513
|
+
var status = false;
|
|
2514
|
+
paymode.thePaymodes.forEach(function (v) {
|
|
2515
|
+
if (v.paymentType === PayStyle.xianjin && v.value !== '0.00') {
|
|
2516
|
+
status = true;
|
|
2517
|
+
}
|
|
2518
|
+
});
|
|
2519
|
+
_this2.setState({
|
|
2520
|
+
isXianjin: status ? true : false
|
|
2521
|
+
});
|
|
2664
2522
|
|
|
2665
|
-
|
|
2666
|
-
return
|
|
2667
|
-
}
|
|
2668
|
-
|
|
2523
|
+
if (_this2.btndebounced) {
|
|
2524
|
+
return;
|
|
2525
|
+
}
|
|
2526
|
+
_this2.btndebounced = (0, _debounce3.default)(function () {
|
|
2527
|
+
if (bquick) {
|
|
2528
|
+
_this2.quickSettle(type);
|
|
2529
|
+
} else {
|
|
2530
|
+
_this2.showModal();
|
|
2531
|
+
}
|
|
2532
|
+
}, 1000, {
|
|
2533
|
+
'leading': true,
|
|
2534
|
+
'trailing': false
|
|
2535
|
+
});
|
|
2536
|
+
_this2.btndebounced();
|
|
2537
|
+
setTimeout(function () {
|
|
2538
|
+
_this2.btndebounced.cancel();
|
|
2539
|
+
_this2.btndebounced = null;
|
|
2540
|
+
}, 2000);
|
|
2541
|
+
};
|
|
2669
2542
|
|
|
2670
2543
|
_this2.onCzkChange = function (v) {
|
|
2671
2544
|
// console.log("czk change:"+new Date().toLocaleTimeString())
|
|
2672
|
-
var
|
|
2673
|
-
isNewRetailBCPos =
|
|
2545
|
+
var _ref24 = _mutantsUtil.platform || {},
|
|
2546
|
+
isNewRetailBCPos = _ref24.isNewRetailBCPos;
|
|
2674
2547
|
|
|
2675
2548
|
if (!isNewRetailBCPos) {
|
|
2676
2549
|
_this2.store.paymode.currentMode.member.setCardNo(v);
|
|
@@ -2807,11 +2680,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
2807
2680
|
type = _this2$props3.type;
|
|
2808
2681
|
|
|
2809
2682
|
var isManualIntoAmount = void 0;
|
|
2810
|
-
var _this2$context$viewMo2 = _this2.context.viewModel.data,
|
|
2811
|
-
BuyerPayFreight = _this2$context$viewMo2.BuyerPayFreight,
|
|
2812
|
-
DistributionMode = _this2$context$viewMo2.DistributionMode;
|
|
2813
2683
|
// 付款弹窗
|
|
2814
|
-
|
|
2815
2684
|
return new _promise2.default(function (resolve, reject) {
|
|
2816
2685
|
var _enumController$getEn26 = _mutantsUtil.enumController.getEnumOj(),
|
|
2817
2686
|
PayStyle = _enumController$getEn26.PayStyle,
|
|
@@ -2900,14 +2769,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
2900
2769
|
_react2.default.createElement(
|
|
2901
2770
|
'span',
|
|
2902
2771
|
{ className: 'yfje' },
|
|
2903
|
-
paymode.value
|
|
2904
|
-
(DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE') && BuyerPayFreight && BuyerPayFreight > 0 ? _react2.default.createElement(
|
|
2905
|
-
'span',
|
|
2906
|
-
{ className: 'freight' },
|
|
2907
|
-
'(\u5305\u542B',
|
|
2908
|
-
BuyerPayFreight,
|
|
2909
|
-
'\u5143\u8FD0\u8D39)'
|
|
2910
|
-
) : null
|
|
2772
|
+
paymode.value
|
|
2911
2773
|
)
|
|
2912
2774
|
),
|
|
2913
2775
|
paymode.paymentType == PayStyle.xianjin && _react2.default.createElement(
|
|
@@ -3087,9 +2949,9 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3087
2949
|
};
|
|
3088
2950
|
|
|
3089
2951
|
_this2.checkCurrentModeHaveMutex = function (type) {
|
|
3090
|
-
var _this2$
|
|
3091
|
-
paymode = _this2$
|
|
3092
|
-
newStyle = _this2$
|
|
2952
|
+
var _this2$store8 = _this2.store,
|
|
2953
|
+
paymode = _this2$store8.paymode,
|
|
2954
|
+
newStyle = _this2$store8.newStyle;
|
|
3093
2955
|
|
|
3094
2956
|
var _enumController$getEn27 = _mutantsUtil.enumController.getEnumOj(),
|
|
3095
2957
|
PayStyle = _enumController$getEn27.PayStyle;
|
|
@@ -3262,21 +3124,17 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3262
3124
|
|
|
3263
3125
|
_this2.hasElectron = hasElectron;
|
|
3264
3126
|
|
|
3265
|
-
var
|
|
3266
|
-
ICCardServer =
|
|
3267
|
-
ICCardPassword =
|
|
3268
|
-
Book = _ref29.Book,
|
|
3269
|
-
PercentageWhenBook = _ref29.PercentageWhenBook;
|
|
3127
|
+
var _ref25 = _mutantsMicrofx.stores.user.options.get('loginInfo') || {},
|
|
3128
|
+
ICCardServer = _ref25.ICCardServer,
|
|
3129
|
+
ICCardPassword = _ref25.ICCardPassword;
|
|
3270
3130
|
|
|
3271
3131
|
_this2.iCCardServer = parseInt(ICCardServer); // 启用IC卡:0为禁用 1为启用
|
|
3272
3132
|
_this2.iCCardPassword = ICCardPassword; //IC卡密码
|
|
3273
|
-
_this2.isBook = Book;
|
|
3274
|
-
_this2.percentageWhenBook = PercentageWhenBook;
|
|
3275
3133
|
//移动端环境下,没有读取IC卡的方式。
|
|
3276
3134
|
|
|
3277
|
-
var
|
|
3278
|
-
isHorizontalPad =
|
|
3279
|
-
isHorizontalSunMi =
|
|
3135
|
+
var _ref26 = _mutantsUtil.platform || {},
|
|
3136
|
+
isHorizontalPad = _ref26.isHorizontalPad,
|
|
3137
|
+
isHorizontalSunMi = _ref26.isHorizontalSunMi;
|
|
3280
3138
|
|
|
3281
3139
|
_this2.isHorizontalPad = !!isHorizontalPad;
|
|
3282
3140
|
_this2.isHorizontalSunMi = !!isHorizontalSunMi;
|
|
@@ -3511,8 +3369,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3511
3369
|
discountPrototypeTotalAmount = _state2.discountPrototypeTotalAmount,
|
|
3512
3370
|
storageValue = _state2.storageValue;
|
|
3513
3371
|
|
|
3514
|
-
var
|
|
3515
|
-
isNewRetailBCPos =
|
|
3372
|
+
var _ref27 = _mutantsUtil.platform || {},
|
|
3373
|
+
isNewRetailBCPos = _ref27.isNewRetailBCPos;
|
|
3516
3374
|
|
|
3517
3375
|
var _store2 = this.store,
|
|
3518
3376
|
paymode = _store2.paymode,
|
|
@@ -3531,21 +3389,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3531
3389
|
|
|
3532
3390
|
var boriginReturn = this.context && this.context.viewModel && this.context.viewModel.data && JSON.getCellValue(this.context.viewModel.data, "IsOriginalReturn");
|
|
3533
3391
|
var totalTaxAmount = this.context && this.context.viewModel && this.context.viewModel.data && this.context.viewModel.data.TotalTaxAmount;
|
|
3534
|
-
|
|
3535
|
-
//收订金
|
|
3536
|
-
|
|
3537
|
-
var _ref32 = this.context && this.context.viewModel && this.context.viewModel.data,
|
|
3538
|
-
IdbusiType = _ref32.IdbusiType,
|
|
3539
|
-
DistributionMode = _ref32.DistributionMode,
|
|
3540
|
-
BuyerPayFreight = _ref32.BuyerPayFreight;
|
|
3541
|
-
|
|
3542
|
-
if (IdbusiType == 38 && this.isBook && this.percentageWhenBook < 100 && (!DistributionMode.Id || DistributionMode.Id == 'ON_SITE_PICKUP')) {
|
|
3543
|
-
totalTaxAmount = totalTaxAmount * this.percentageWhenBook / 100;
|
|
3544
|
-
}
|
|
3545
|
-
if (IdbusiType == 39) {
|
|
3546
|
-
totalTaxAmount = _mutantsMicrofx.stores.drawerStore.thisWaitPaidAmount;
|
|
3547
|
-
}
|
|
3548
|
-
|
|
3549
3392
|
// 单据模式
|
|
3550
3393
|
var thePaymodes = newStyle ? (0, _filter3.default)(paymode.thePaymodes, function (m) {
|
|
3551
3394
|
return !(_this8.checkModeDisabled(m.paymentType, brefund, boriginReturn) && parseFloat(m.value) == 0);
|
|
@@ -3590,11 +3433,11 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3590
3433
|
quantity4 = 0;
|
|
3591
3434
|
var sumQuantity = 0; //数量总和的值,包括称重的。
|
|
3592
3435
|
|
|
3593
|
-
var
|
|
3594
|
-
|
|
3595
|
-
buyQuantity =
|
|
3596
|
-
|
|
3597
|
-
returnQuantity =
|
|
3436
|
+
var _ref28 = quantityDetail || {},
|
|
3437
|
+
_ref28$buyQuantity = _ref28.buyQuantity,
|
|
3438
|
+
buyQuantity = _ref28$buyQuantity === undefined ? 0 : _ref28$buyQuantity,
|
|
3439
|
+
_ref28$returnQuantity = _ref28.returnQuantity,
|
|
3440
|
+
returnQuantity = _ref28$returnQuantity === undefined ? 0 : _ref28$returnQuantity;
|
|
3598
3441
|
|
|
3599
3442
|
var quantityPrecision = (0, _tplusPoslogin.PosInitData)("QuantityPrecision");
|
|
3600
3443
|
quantityPrecision = quantityPrecision ? parseInt(quantityPrecision) : '';
|
|
@@ -3979,20 +3822,6 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
3979
3822
|
{ className: 'received' },
|
|
3980
3823
|
(0, _utils.getFixedNumber)(Math.abs(paymode.receivable))
|
|
3981
3824
|
)
|
|
3982
|
-
),
|
|
3983
|
-
_react2.default.createElement(
|
|
3984
|
-
'div',
|
|
3985
|
-
{ className: 'receivable', style: { display: (DistributionMode.Id == 'ELECTRONIC' || DistributionMode.Id == 'CITY_DISTRIBUTE') && BuyerPayFreight && BuyerPayFreight > 0 ? 'block' : 'none' } },
|
|
3986
|
-
_react2.default.createElement(
|
|
3987
|
-
'span',
|
|
3988
|
-
null,
|
|
3989
|
-
'\u8FD0\u8D39'
|
|
3990
|
-
),
|
|
3991
|
-
_react2.default.createElement(
|
|
3992
|
-
'span',
|
|
3993
|
-
{ className: 'received' },
|
|
3994
|
-
(0, _utils.getFixedNumber)(Math.abs(BuyerPayFreight))
|
|
3995
|
-
)
|
|
3996
3825
|
)
|
|
3997
3826
|
),
|
|
3998
3827
|
!isReturn && _react2.default.createElement(
|
|
@@ -4209,7 +4038,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
4209
4038
|
// return;
|
|
4210
4039
|
// }
|
|
4211
4040
|
// }
|
|
4212
|
-
// mode.paymentType == PayStyle.hyczk && czkinput && czkinput.value !== '0.00' ? this.editCzkModal() :
|
|
4041
|
+
// mode.paymentType == PayStyle.hyczk && czkinput && czkinput.value !== '0.00' ? this.editCzkModal() :
|
|
4213
4042
|
_this8.onHotKeyClick1(mode, index, boriginReturn);
|
|
4214
4043
|
},
|
|
4215
4044
|
value: mode.paymentType == PayStyle.hyczk ? (0, _utils.getFixedNumber)((0, _reduce3.default)((0, _filter3.default)(thePaymodes, function (tm) {
|
|
@@ -4987,8 +4816,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
4987
4816
|
_this8.setCurrentModeValue(event.target.value, Math.min(currentMode.maxamount, currentMode.member.balance));
|
|
4988
4817
|
},
|
|
4989
4818
|
defaultValue: currentMode && (0, _utils.getFixedNumber)(brefund ? currentMode.value : Math.min(currentMode.value, currentMode.maxamount, currentMode.member.balance)),
|
|
4990
|
-
ref: function ref(
|
|
4991
|
-
return _this8["inputCzkAmount"] =
|
|
4819
|
+
ref: function ref(_ref29) {
|
|
4820
|
+
return _this8["inputCzkAmount"] = _ref29;
|
|
4992
4821
|
},
|
|
4993
4822
|
onFocus: function onFocus(e) {
|
|
4994
4823
|
_this8.inputkey = "inputCzkAmount";
|
|
@@ -5605,8 +5434,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
|
5605
5434
|
_this8.setCurrentModeValue(e.target.value, Math.min(currentMode.maxamount, currentMode.member.exchangable));
|
|
5606
5435
|
},
|
|
5607
5436
|
defaultValue: currentMode && (0, _utils.getFixedNumber)(Math.min(currentMode.value, currentMode.maxamount, currentMode.member.exchangable)),
|
|
5608
|
-
ref: function ref(
|
|
5609
|
-
return _this8["inputJfdxAmount"] =
|
|
5437
|
+
ref: function ref(_ref30) {
|
|
5438
|
+
return _this8["inputJfdxAmount"] = _ref30;
|
|
5610
5439
|
},
|
|
5611
5440
|
onFocus: function onFocus(e) {
|
|
5612
5441
|
_this8.inputkey = "inputJfdxAmount";
|