tplus-components-touch 3.54.12 → 3.54.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/billSearch/index.js +7 -7
- package/dist/components/billSearch/index.js.map +1 -1
- package/dist/components/hotKey/config.js +1 -1
- package/dist/components/hotKey/config.js.map +1 -1
- package/dist/components/settlement/settlement.js +3 -3
- package/dist/components/settlement/settlement.js.map +1 -1
- package/package.json +1 -1
@@ -287,7 +287,7 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
287
287
|
|
288
288
|
_this2.getIsReturn = function () {
|
289
289
|
var dataModal = _this2.context && _this2.context.viewModel && _this2.context.viewModel.data;
|
290
|
-
return dataModal.IdbusiType === 35 || dataModal.IdbusiType === 40; //40预售退货类型。
|
290
|
+
return dataModal.IdbusiType === 35 || dataModal.IdbusiType === 40 || dataModal.IdbusiType === 42; //40预售退货类型。 42赊销退货类型
|
291
291
|
};
|
292
292
|
|
293
293
|
_this2.getBoriginReturn = function () {
|
@@ -2707,12 +2707,12 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
|
|
2707
2707
|
break;
|
2708
2708
|
}
|
2709
2709
|
|
2710
|
-
if (!(Number(amount)
|
2710
|
+
if (!(Number(amount) <= 0)) {
|
2711
2711
|
_context18.next = 5;
|
2712
2712
|
break;
|
2713
2713
|
}
|
2714
2714
|
|
2715
|
-
return _context18.abrupt('return', _message2.default.warn('
|
2715
|
+
return _context18.abrupt('return', _message2.default.warn('所勾选零售单的欠款合计不可小于等于0!'));
|
2716
2716
|
|
2717
2717
|
case 5:
|
2718
2718
|
notSelectableVoucherList = creditSalesVoucher.filter(function (o) {
|