|
|
@@ -622,11 +622,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
622
|
622
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
623
|
623
|
/* harmony export */ });
|
|
624
|
624
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
|
|
625
|
|
-/* harmony import */ var _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @inertiajs/inertia-vue3 */ "./node_modules/@inertiajs/inertia-vue3/dist/index.js");
|
|
626
|
|
-/* harmony import */ var _components_AppInputText_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/AppInputText.vue */ "./resources/js/components/AppInputText.vue");
|
|
627
|
|
-/* harmony import */ var _components_AppDropdown_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/AppDropdown.vue */ "./resources/js/components/AppDropdown.vue");
|
|
628
|
|
-/* harmony import */ var _components_AppPagination_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/AppPagination.vue */ "./resources/js/components/AppPagination.vue");
|
|
629
|
|
-/* harmony import */ var _TableHeader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TableHeader */ "./resources/js/pages/test-transaction/TableHeader.js");
|
|
|
625
|
+/* harmony import */ var _inertiajs_inertia__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @inertiajs/inertia */ "./node_modules/@inertiajs/inertia/dist/index.js");
|
|
|
626
|
+/* harmony import */ var _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @inertiajs/inertia-vue3 */ "./node_modules/@inertiajs/inertia-vue3/dist/index.js");
|
|
|
627
|
+/* harmony import */ var _components_AppInputText_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/AppInputText.vue */ "./resources/js/components/AppInputText.vue");
|
|
|
628
|
+/* harmony import */ var _components_AppDropdown_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/AppDropdown.vue */ "./resources/js/components/AppDropdown.vue");
|
|
|
629
|
+/* harmony import */ var _components_AppPagination_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/AppPagination.vue */ "./resources/js/components/AppPagination.vue");
|
|
|
630
|
+/* harmony import */ var _TableHeader__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TableHeader */ "./resources/js/pages/test-transaction/TableHeader.js");
|
|
630
|
631
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
631
|
632
|
|
|
632
|
633
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
|
@@ -645,6 +646,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
645
|
646
|
|
|
646
|
647
|
|
|
647
|
648
|
|
|
|
649
|
+
|
|
648
|
650
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
649
|
651
|
props: {
|
|
650
|
652
|
data: Object,
|
|
|
@@ -682,12 +684,22 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
682
|
684
|
localEntryTransactions.push.apply(localEntryTransactions, _toConsumableArray(filterLocalEntryTransactions));
|
|
683
|
685
|
};
|
|
684
|
686
|
|
|
685
|
|
- var form = (0,_inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_1__.useForm)({
|
|
|
687
|
+ var form = (0,_inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__.useForm)({
|
|
686
|
688
|
id: 2,
|
|
687
|
689
|
plat_number: null,
|
|
688
|
690
|
entry_transaction_id: null,
|
|
689
|
691
|
type_vehicle_id: null
|
|
690
|
692
|
});
|
|
|
693
|
+ (0,vue__WEBPACK_IMPORTED_MODULE_0__.watch)(function () {
|
|
|
694
|
+ return form.plat_number;
|
|
|
695
|
+ }, function () {
|
|
|
696
|
+ _inertiajs_inertia__WEBPACK_IMPORTED_MODULE_1__.Inertia.reload({
|
|
|
697
|
+ only: ['typeVehicles'],
|
|
|
698
|
+ data: {
|
|
|
699
|
+ plat_number: form.plat_number
|
|
|
700
|
+ }
|
|
|
701
|
+ });
|
|
|
702
|
+ });
|
|
691
|
703
|
|
|
692
|
704
|
var submit = function submit() {
|
|
693
|
705
|
form.post(route('test-transactions.store'));
|
|
|
@@ -703,12 +715,13 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
703
|
715
|
reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,
|
|
704
|
716
|
watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,
|
|
705
|
717
|
onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,
|
|
706
|
|
- useForm: _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_1__.useForm,
|
|
707
|
|
- AppInputText: _components_AppInputText_vue__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
708
|
|
- AppDropdown: _components_AppDropdown_vue__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
709
|
|
- AppPagination: _components_AppPagination_vue__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
710
|
|
- InTable: _TableHeader__WEBPACK_IMPORTED_MODULE_5__.InTable,
|
|
711
|
|
- OutTable: _TableHeader__WEBPACK_IMPORTED_MODULE_5__.OutTable
|
|
|
718
|
+ Inertia: _inertiajs_inertia__WEBPACK_IMPORTED_MODULE_1__.Inertia,
|
|
|
719
|
+ useForm: _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_2__.useForm,
|
|
|
720
|
+ AppInputText: _components_AppInputText_vue__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
|
721
|
+ AppDropdown: _components_AppDropdown_vue__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
|
722
|
+ AppPagination: _components_AppPagination_vue__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
|
723
|
+ InTable: _TableHeader__WEBPACK_IMPORTED_MODULE_6__.InTable,
|
|
|
724
|
+ OutTable: _TableHeader__WEBPACK_IMPORTED_MODULE_6__.OutTable
|
|
712
|
725
|
};
|
|
713
|
726
|
Object.defineProperty(__returned__, '__isScriptSetup', {
|
|
714
|
727
|
enumerable: false,
|