diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index ac653b56c..3a8cd7d92 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -32,6 +32,7 @@ globals: clone: Clone confirm: Confirm assign: Assign + replace: Replace back: Back yes: 'Yes' no: 'No' diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 8d0a4b0ee..a3ebc136e 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -32,6 +32,7 @@ globals: clone: Clonar confirm: Confirmar assign: Asignar + replace: Sustituir back: Volver yes: Si no: No diff --git a/src/pages/Item/components/ItemProposal.vue b/src/pages/Item/components/ItemProposal.vue index 51a9ba721..92415eef5 100644 --- a/src/pages/Item/components/ItemProposal.vue +++ b/src/pages/Item/components/ItemProposal.vue @@ -13,6 +13,7 @@ const $props = defineProps({ }, }); const proposalSelected = ref([]); +const quantity = ref(-1); const showProposalDialog = ref(false); const defaultColumnAttrs = { @@ -115,6 +116,23 @@ const columns = computed(() => [ field: 'located', }, ]); + +async function confirm() { + quantity.value = 0; + // const response = { address: address.value }; + // if (props.promise) { + // isLoading.value = true; + // // eslint-disable-next-line no-unused-vars + // const { address: _address, ...restData } = props.data; + // try { + // Object.assign(response, restData); + // await props.promise(response); + // } finally { + // isLoading.value = false; + // } + // } + // onDialogOK(response); +} - + + + + + + + + diff --git a/src/pages/Ticket/Negative/TicketLackList.vue b/src/pages/Ticket/Negative/TicketLackList.vue index 469e98aa1..7b9db0e6a 100644 --- a/src/pages/Ticket/Negative/TicketLackList.vue +++ b/src/pages/Ticket/Negative/TicketLackList.vue @@ -190,6 +190,7 @@ const onDetailDialogHide = (evt) => {