refactor: refs #8363 fix create fields
This commit is contained in:
parent
8bdc71f8d7
commit
0c4e88a45e
|
@ -17,6 +17,7 @@ import { toDate } from 'src/filters';
|
|||
import { isLower, isBigger } from 'src/filters/date.js';
|
||||
import ItemFixedPriceFilter from './ItemFixedPriceFilter.vue';
|
||||
import ItemDescriptorProxy from './Card/ItemDescriptorProxy.vue';
|
||||
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
||||
|
||||
const stateStore = useStateStore();
|
||||
const { t } = useI18n();
|
||||
|
@ -345,6 +346,22 @@ watch(
|
|||
</template>
|
||||
</VnSelect>
|
||||
</template>
|
||||
<template #column-create-started="{ data }">
|
||||
<VnInputDate
|
||||
placeholder="dd-mm-aaa"
|
||||
:label="t('item.fixedPrice.started')"
|
||||
v-model="data.started"
|
||||
:required="true"
|
||||
/>
|
||||
</template>
|
||||
<template #column-create-ended="{ data }">
|
||||
<VnInputDate
|
||||
placeholder="dd-mm-aaa"
|
||||
:label="t('item.fixedPrice.ended')"
|
||||
v-model="data.landed"
|
||||
:required="true"
|
||||
/>
|
||||
</template>
|
||||
</VnTable>
|
||||
|
||||
<QDialog ref="editFixedPriceForm">
|
||||
|
|
Loading…
Reference in New Issue