[WIP] Добавил отображение времени текущей даты при замене смен, скрыл отображение выделенной ячейки при сохранении/удалении

This commit is contained in:
megavrilinvv
2023-01-25 17:03:01 +03:00
parent 082f92937d
commit 48f78626c1
5 changed files with 70 additions and 33 deletions

View File

@@ -43,7 +43,7 @@
label="Сохранить",
color="primary",
padding="8px 24px",
no-caps
no-caps,
@click="changeShift(); closeForm()"
)
</template>
@@ -59,14 +59,14 @@ export default {
props: {
employees: Array,
serialized: Array,
replacementSheet: Object,
modelValue: Boolean,
trimOwnerName: Function,
changeShift: Function,
modelValue: Boolean,
replacementSheet: Object,
},
computed: {
ownersList() {
if (this.employees) {
if (this.employees || this.serialized) {
let filteredArray = [];
this.employees.forEach((elem) => {
filteredArray.push({