diff --git a/src/pages/Item/Card/ItemBotanical.vue b/src/pages/Item/Card/ItemBotanical.vue index 15492de9f..717fe2251 100644 --- a/src/pages/Item/Card/ItemBotanical.vue +++ b/src/pages/Item/Card/ItemBotanical.vue @@ -7,8 +7,8 @@ import FetchData from 'components/FetchData.vue'; import FormModel from 'components/FormModel.vue'; import VnRow from 'components/ui/VnRow.vue'; import VnSelectDialog from 'src/components/common/VnSelectDialog.vue'; -import CreateGenusForm from './CreateGenusForm.vue'; -import CreateSpecieForm from './CreateSpecieForm.vue'; +import CreateGenusForm from '../components/CreateGenusForm.vue'; +import CreateSpecieForm from '../components/CreateSpecieForm.vue'; const route = useRoute(); const { t } = useI18n(); diff --git a/src/pages/Item/Card/CreateGenusForm.vue b/src/pages/Item/components/CreateGenusForm.vue similarity index 100% rename from src/pages/Item/Card/CreateGenusForm.vue rename to src/pages/Item/components/CreateGenusForm.vue diff --git a/src/pages/Item/Card/CreateSpecieForm.vue b/src/pages/Item/components/CreateSpecieForm.vue similarity index 100% rename from src/pages/Item/Card/CreateSpecieForm.vue rename to src/pages/Item/components/CreateSpecieForm.vue diff --git a/src/pages/Item/components/ItemProposal.vue b/src/pages/Item/components/ItemProposal.vue new file mode 100644 index 000000000..5e7b4aa93 --- /dev/null +++ b/src/pages/Item/components/ItemProposal.vue @@ -0,0 +1,157 @@ + + + + + + {{ $props.item }} + {{ + t('negative.modalOrigin.title') + }} + + + + + {{ t('negative.modalOrigin.question') }} + (itemsProposal = data)" + /> + + + + + + + + + + + + {{ props }} + + + + + + + + + es: + xx: xx + diff --git a/src/pages/Ticket/Negative/TicketLackDetail.vue b/src/pages/Ticket/Negative/TicketLackDetail.vue index a9d768183..91f3a18a0 100644 --- a/src/pages/Ticket/Negative/TicketLackDetail.vue +++ b/src/pages/Ticket/Negative/TicketLackDetail.vue @@ -207,6 +207,7 @@ const columns = computed(() => [ sortable: true, }, ]); +const { dialogRef, onDialogHide } = useDialogPluginComponent(); const emit = defineEmits([...useDialogPluginComponent.emits, 'selection']); function rowsHasSelected(selection) { @@ -266,6 +267,9 @@ function freeFirst({ alertLevel: a }, { alertLevel: b }) { @on-fetch="(data) => (editableStates = data)" auto-load /> + + { +const viewSummary = (row) => { currentRow.value = row; }; const originDialogRef = ref(); const totalNegativeDialogRef = ref(); +const proposalDialogRef = ref(); const columns = computed(() => [ { name: 'minTimed', @@ -109,10 +108,10 @@ const columns = computed(() => [ + - [ {{ t('negative.totalNegative') }} - + + + + + + {{ t('Item proposal') }} + + @@ -221,12 +232,12 @@ const columns = computed(() => [ - +