|
|
@@ -661,12 +661,12 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
661
|
661
|
return props.entryTransactionData;
|
|
662
|
662
|
}, function () {
|
|
663
|
663
|
setLocalEntryTransaction();
|
|
|
664
|
+ form.reset();
|
|
664
|
665
|
});
|
|
665
|
666
|
(0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(function () {
|
|
666
|
667
|
setLocalEntryTransaction();
|
|
667
|
668
|
});
|
|
668
|
669
|
var localEntryTransactions = (0,vue__WEBPACK_IMPORTED_MODULE_0__.reactive)([]);
|
|
669
|
|
- var localEntryTransactionDeleted = (0,vue__WEBPACK_IMPORTED_MODULE_0__.reactive)([]);
|
|
670
|
670
|
|
|
671
|
671
|
var setLocalEntryTransaction = function setLocalEntryTransaction() {
|
|
672
|
672
|
localEntryTransactions.splice(0);
|
|
|
@@ -676,8 +676,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
676
|
676
|
var copy = function copy(data) {
|
|
677
|
677
|
form.entry_transaction_id = data.transactionNumber;
|
|
678
|
678
|
var filterLocalEntryTransactions = props.entryTransactionData.data.filter(function (val) {
|
|
679
|
|
- localEntryTransactionDeleted.push(data.transactionNumber);
|
|
680
|
|
- return val.entryTransactionId !== data.transactionNumber;
|
|
|
679
|
+ return val.transactionNumber !== data.transactionNumber;
|
|
681
|
680
|
});
|
|
682
|
681
|
localEntryTransactions.splice(0);
|
|
683
|
682
|
localEntryTransactions.push.apply(localEntryTransactions, _toConsumableArray(filterLocalEntryTransactions));
|
|
|
@@ -697,7 +696,6 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
697
|
696
|
var __returned__ = {
|
|
698
|
697
|
props: props,
|
|
699
|
698
|
localEntryTransactions: localEntryTransactions,
|
|
700
|
|
- localEntryTransactionDeleted: localEntryTransactionDeleted,
|
|
701
|
699
|
setLocalEntryTransaction: setLocalEntryTransaction,
|
|
702
|
700
|
copy: copy,
|
|
703
|
701
|
form: form,
|
|
|
@@ -1522,7 +1520,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1522
|
1520
|
}),
|
|
1523
|
1521
|
footer: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(function () {
|
|
1524
|
1522
|
return [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)("div", _hoisted_3, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_Button, {
|
|
1525
|
|
- label: "Car In",
|
|
|
1523
|
+ label: "Car Entry",
|
|
1526
|
1524
|
icon: "pi pi-check",
|
|
1527
|
1525
|
"class": "p-button-outlined",
|
|
1528
|
1526
|
disabled: $setup.form.processing,
|