refactor:handle show date expire
This commit is contained in:
parent
51d5f694ad
commit
de7e6db13d
1 changed files with 6 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import { ProductTree, quotationProductTree } from './utils';
|
||||||
import { setLocale, dateFormat, calculateAge } from 'src/utils/datetime';
|
import { setLocale, dateFormat, calculateAge } from 'src/utils/datetime';
|
||||||
import { useEmployeeForm } from 'src/pages/03_customer-management/form';
|
import { useEmployeeForm } from 'src/pages/03_customer-management/form';
|
||||||
import useProductServiceStore from 'stores/product-service';
|
import useProductServiceStore from 'stores/product-service';
|
||||||
import { baseUrl, waitAll } from 'src/stores/utils';
|
import { baseUrl, waitAll, calculateDaysUntilExpire } from 'src/stores/utils';
|
||||||
import useCustomerStore from 'stores/customer';
|
import useCustomerStore from 'stores/customer';
|
||||||
import useOptionStore from 'stores/options';
|
import useOptionStore from 'stores/options';
|
||||||
import { useQuotationForm } from './form';
|
import { useQuotationForm } from './form';
|
||||||
|
|
@ -722,7 +722,11 @@ const statusQuotationForm = ref<
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column col-2" style="gap: 10px">
|
<div
|
||||||
|
v-if="quotationFormState.mode !== 'create'"
|
||||||
|
class="column col-2"
|
||||||
|
style="gap: 10px"
|
||||||
|
>
|
||||||
<div class="row justify-end">
|
<div class="row justify-end">
|
||||||
<span class="rounded flex flex-center q-pa-xs badge-color">
|
<span class="rounded flex flex-center q-pa-xs badge-color">
|
||||||
🞄
|
🞄
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue