mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
Train picker: uzupełnianie danych
This commit is contained in:
+4
-5
@@ -1,5 +1,6 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { IOrderN, IOrderO, IOrderS, TOrder } from '../types/orderTypes';
|
||||
import { currentFormattedDate } from '../utils/dateUtils';
|
||||
|
||||
export const useStore = defineStore('store', {
|
||||
state: () => {
|
||||
@@ -27,7 +28,7 @@ export const useStore = defineStore('store', {
|
||||
header: {
|
||||
orderNo: '1',
|
||||
trainNo: '',
|
||||
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'numeric', year: 'numeric' }) + "r.",
|
||||
date: currentFormattedDate(),
|
||||
},
|
||||
|
||||
orderList: [
|
||||
@@ -79,7 +80,7 @@ export const useStore = defineStore('store', {
|
||||
header: {
|
||||
orderNo: '1',
|
||||
trainNo: '',
|
||||
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'numeric', year: 'numeric' }) + "r.",
|
||||
date: currentFormattedDate(),
|
||||
},
|
||||
|
||||
rows: [
|
||||
@@ -141,7 +142,7 @@ export const useStore = defineStore('store', {
|
||||
orderNo: '1',
|
||||
trainNo: '',
|
||||
for: 'pociągu',
|
||||
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'numeric', year: 'numeric' }) + "r.",
|
||||
date: currentFormattedDate(),
|
||||
},
|
||||
|
||||
rows: [
|
||||
@@ -183,5 +184,3 @@ export const useStore = defineStore('store', {
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user