tplus-components-touch 3.27.26 → 3.27.30
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 +6 -1
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/settlement/settlement.js +20 -15
- package/dist/components/settlement/settlement.js.map +1 -1
- package/dist/components/settlement/settlementStore.js +10 -3
- package/dist/components/settlement/settlementStore.js.map +1 -1
- package/dist/components/touchTable/index.js +2 -1
- package/dist/components/touchTable/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -453,8 +453,8 @@ var SettlementStore = (_class = function () {
|
|
|
453
453
|
// this.member=context.stores && context.stores.memberStore && context.stores.memberStore.member;
|
|
454
454
|
this.member = this.dto.Member; //stores.selectMemberStore.selectMemberInfo;
|
|
455
455
|
|
|
456
|
-
// this.paymode.bookMaxValue = 0;
|
|
457
456
|
this.paymode.isNotFullBook = false;
|
|
457
|
+
this.paymode.isNotFullOnlyBook = false;
|
|
458
458
|
//预订按比例收取订金处理
|
|
459
459
|
var value = this.dto.TotalTaxAmount;
|
|
460
460
|
|
|
@@ -469,6 +469,7 @@ var SettlementStore = (_class = function () {
|
|
|
469
469
|
if (IdbusiType == 38 && PreSellOrBook == 'BOOK' && PercentageWhenBook < 100 && (!DistributionMode.Id || DistributionMode.Id == 'ON_SITE_PICKUP')) {
|
|
470
470
|
this.paymode.bookMaxValue = value;
|
|
471
471
|
this.paymode.isNotFullBook = true;
|
|
472
|
+
this.paymode.isNotFullOnlyBook = true;
|
|
472
473
|
value = value * PercentageWhenBook / 100;
|
|
473
474
|
}
|
|
474
475
|
if (IdbusiType == 38 && PreSellOrBook == 'BOOK') {
|
|
@@ -483,6 +484,10 @@ var SettlementStore = (_class = function () {
|
|
|
483
484
|
//预订取货应补款金额
|
|
484
485
|
if (IdbusiType == 39) {
|
|
485
486
|
value = _mutantsMicrofx.stores.drawerStore.thisWaitPaidAmount;
|
|
487
|
+
if (_mutantsMicrofx.stores.drawerStore.totalWaitPaidAmount > 0) {
|
|
488
|
+
this.paymode.isNotFullBook = true;
|
|
489
|
+
this.paymode.bookMaxValue = _mutantsMicrofx.stores.drawerStore.totalWaitPaidAmount;
|
|
490
|
+
}
|
|
486
491
|
}
|
|
487
492
|
|
|
488
493
|
this.brefund = this.paymode.setAmount(value, this.dto.OnlinePaymentAmount);
|
|
@@ -1581,7 +1586,7 @@ var SettlementStore = (_class = function () {
|
|
|
1581
1586
|
}), _applyDecoratedDescriptor(_class.prototype, 'addDjq', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addDjq'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeClickFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeClickFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeValue'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPayDirectly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPayDirectly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'delPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'delPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
|
|
1582
1587
|
exports.default = SettlementStore;
|
|
1583
1588
|
var PayMode = exports.PayMode = (_class3 = function () {
|
|
1584
|
-
|
|
1589
|
+
//预订非全款 or 取货最大补款数大于0时 为 true
|
|
1585
1590
|
function PayMode() {
|
|
1586
1591
|
// this.amount=getFixedNumber(amount);
|
|
1587
1592
|
// this.calcReserved();
|
|
@@ -1604,6 +1609,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1604
1609
|
|
|
1605
1610
|
this.bookMaxValue = 0;
|
|
1606
1611
|
this.isNotFullBook = false;
|
|
1612
|
+
this.isNotFullOnlyBook = false;
|
|
1607
1613
|
this.currentMode = null;
|
|
1608
1614
|
this.checkList = [];
|
|
1609
1615
|
this.settle = {
|
|
@@ -1616,8 +1622,9 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
|
1616
1622
|
_initDefineProp(this, 'setCouponNum', _descriptor9, this);
|
|
1617
1623
|
|
|
1618
1624
|
_initDefineProp(this, 'addDjqs', _descriptor10, this);
|
|
1619
|
-
}
|
|
1625
|
+
} //只是预订非全款时为true
|
|
1620
1626
|
// @observable store = null;
|
|
1627
|
+
//应收
|
|
1621
1628
|
|
|
1622
1629
|
|
|
1623
1630
|
(0, _createClass3.default)(PayMode, [{
|