add notic for cheques list with two colors
This commit is contained in:
parent
fb251af713
commit
822402cfda
|
|
@ -11,11 +11,11 @@
|
||||||
<template v-slot:extension>
|
<template v-slot:extension>
|
||||||
<v-tabs v-model="tab" color="primary" class="bg-light" grow>
|
<v-tabs v-model="tab" color="primary" class="bg-light" grow>
|
||||||
<v-tab value="input" block>
|
<v-tab value="input" block>
|
||||||
<v-icon start>mdi-file-export</v-icon>
|
<v-icon start color="green">mdi-arrow-down-bold</v-icon>
|
||||||
چکهای دریافتی
|
چکهای دریافتی
|
||||||
</v-tab>
|
</v-tab>
|
||||||
<v-tab value="output" block>
|
<v-tab value="output" block>
|
||||||
<v-icon start>mdi-file-import</v-icon>
|
<v-icon start color="red">mdi-arrow-up-bold</v-icon>
|
||||||
چکهای پرداختی
|
چکهای پرداختی
|
||||||
</v-tab>
|
</v-tab>
|
||||||
</v-tabs>
|
</v-tabs>
|
||||||
|
|
@ -29,14 +29,14 @@
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item @click="$router.push('/acc/cheque/input')">
|
<v-list-item @click="$router.push('/acc/cheque/input')">
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<v-icon>mdi-file-export</v-icon>
|
<v-icon color="green">mdi-arrow-down-bold</v-icon>
|
||||||
</template>
|
</template>
|
||||||
<v-list-item-title>چک دریافتی</v-list-item-title>
|
<v-list-item-title>چک دریافتی</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
<v-list-item @click="$router.push('/acc/cheque/output')">
|
<v-list-item @click="$router.push('/acc/cheque/output')">
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<v-icon>mdi-file-import</v-icon>
|
<v-icon color="red">mdi-arrow-up-bold</v-icon>
|
||||||
</template>
|
</template>
|
||||||
<v-list-item-title>چک پرداختی</v-list-item-title>
|
<v-list-item-title>چک پرداختی</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
@ -63,11 +63,12 @@
|
||||||
|
|
||||||
<v-window v-model="tab">
|
<v-window v-model="tab">
|
||||||
<v-window-item value="input">
|
<v-window-item value="input">
|
||||||
<v-text-field class="pt-1" v-model="searchValueInput" prepend-inner-icon="mdi-magnify" label="جست و جو"
|
<div class="input-tab-container">
|
||||||
variant="outlined" density="compact" :rounded="false"></v-text-field>
|
<v-text-field class="pt-1" v-model="searchValueInput" prepend-inner-icon="mdi-magnify" label="جست و جو"
|
||||||
|
variant="outlined" density="compact" :rounded="false"></v-text-field>
|
||||||
|
|
||||||
<v-data-table :headers="headersInput" :items="itemsInput" :search="searchValueInput" :loading="loading" show-index
|
<v-data-table :headers="headersInput" :items="itemsInput" :search="searchValueInput" :loading="loading" show-index
|
||||||
density="comfortable" class="elevation-1" :header-props="{ class: 'custom-header' }">
|
density="comfortable" class="elevation-1" :header-props="{ class: 'custom-header' }">
|
||||||
<template v-slot:item.operation="{ item }">
|
<template v-slot:item.operation="{ item }">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<v-menu>
|
<v-menu>
|
||||||
|
|
@ -117,15 +118,17 @@
|
||||||
{{ item.status }}
|
{{ item.status }}
|
||||||
</v-chip>
|
</v-chip>
|
||||||
</template>
|
</template>
|
||||||
</v-data-table>
|
</v-data-table>
|
||||||
|
</div>
|
||||||
</v-window-item>
|
</v-window-item>
|
||||||
|
|
||||||
<v-window-item value="output">
|
<v-window-item value="output">
|
||||||
<v-text-field class="pt-1" v-model="searchValueOutput" prepend-inner-icon="mdi-magnify" label="جست و جو"
|
<div class="output-tab-container">
|
||||||
variant="outlined" density="compact" :rounded="false"></v-text-field>
|
<v-text-field class="pt-1" v-model="searchValueOutput" prepend-inner-icon="mdi-magnify" label="جست و جو"
|
||||||
|
variant="outlined" density="compact" :rounded="false"></v-text-field>
|
||||||
|
|
||||||
<v-data-table :headers="headersInput" :items="itemsOutput" :search="searchValueOutput" :loading="loading"
|
<v-data-table :headers="headersInput" :items="itemsOutput" :search="searchValueOutput" :loading="loading"
|
||||||
show-index density="comfortable" class="elevation-1" :header-props="{ class: 'custom-header' }">
|
show-index density="comfortable" class="elevation-1" :header-props="{ class: 'custom-header' }">
|
||||||
<template v-slot:item.operation="{ item }">
|
<template v-slot:item.operation="{ item }">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<v-menu>
|
<v-menu>
|
||||||
|
|
@ -163,7 +166,8 @@
|
||||||
{{ item.status }}
|
{{ item.status }}
|
||||||
</v-chip>
|
</v-chip>
|
||||||
</template>
|
</template>
|
||||||
</v-data-table>
|
</v-data-table>
|
||||||
|
</div>
|
||||||
</v-window-item>
|
</v-window-item>
|
||||||
</v-window>
|
</v-window>
|
||||||
|
|
||||||
|
|
@ -540,4 +544,34 @@ export default {
|
||||||
.bg-primary-light {
|
.bg-primary-light {
|
||||||
background-color: var(--v-primary-lighten1);
|
background-color: var(--v-primary-lighten1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* استایل ساده برای تب چکهای دریافتی - سبز روشن */
|
||||||
|
.input-tab-container {
|
||||||
|
background-color: #e8f5e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* استایل ساده برای تب چکهای پرداختی - قرمز روشن */
|
||||||
|
.output-tab-container {
|
||||||
|
background-color: #ffeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* استایل ساده برای تب دریافتی */
|
||||||
|
.v-tab[value="input"] {
|
||||||
|
color: #2e7d32 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab[value="input"].v-tab--selected {
|
||||||
|
background-color: #c8e6c9;
|
||||||
|
color: #1b5e20 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* استایل ساده برای تب پرداختی */
|
||||||
|
.v-tab[value="output"] {
|
||||||
|
color: #c62828 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab[value="output"].v-tab--selected {
|
||||||
|
background-color: #ffcdd2;
|
||||||
|
color: #b71c1c !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in a new issue