refactor: refs #8684 clean up imports and remove console logs in ItemRequest component
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
d64788732e
commit
a9acc240e9
|
@ -1,10 +1,10 @@
|
|||
<script setup>
|
||||
import { ref, computed, onMounted, nextTick } from 'vue';
|
||||
import { ref, computed, onMounted } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
import { toCurrency } from 'filters/index';
|
||||
import useNotify from 'src/composables/useNotify.js';
|
||||
import { toDate } from 'src/filters';
|
||||
import { toDate, dashIfEmpty } from 'src/filters';
|
||||
import axios from 'axios';
|
||||
import VnTable from 'components/VnTable/VnTable.vue';
|
||||
import VnInput from 'src/components/common/VnInput.vue';
|
||||
|
@ -15,7 +15,6 @@ import ItemRequestFilter from './ItemRequestFilter.vue';
|
|||
import RightMenu from 'src/components/common/RightMenu.vue';
|
||||
import FormModelPopup from 'src/components/FormModelPopup.vue';
|
||||
import ItemDescriptorProxy from './Card/ItemDescriptorProxy.vue';
|
||||
import { dashIfEmpty } from 'src/filters';
|
||||
|
||||
const { t } = useI18n();
|
||||
const { notify } = useNotify();
|
||||
|
@ -147,7 +146,6 @@ const columns = computed(() => [
|
|||
if (itemFk && isOk === null) return true;
|
||||
},
|
||||
beforeDestroy: (row) => {
|
||||
console.log('row: ', row);
|
||||
if (!row.saleQuantity) {
|
||||
return tableRef.value.reload();
|
||||
}
|
||||
|
@ -162,7 +160,6 @@ const columns = computed(() => [
|
|||
axios
|
||||
.get(`Items/findOne`, { where: { id: row.itemFk } })
|
||||
.then((response) => {
|
||||
console.log('response: ', response);
|
||||
row.itemDescription = response.data.name;
|
||||
row.state = 1;
|
||||
});
|
||||
|
@ -247,7 +244,6 @@ const showDenyRequestForm = (requestId) => {
|
|||
denyFormRef.value.show();
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<RightMenu>
|
||||
<template #right-panel>
|
||||
|
@ -330,7 +326,6 @@ const showDenyRequestForm = (requestId) => {
|
|||
</FormModelPopup>
|
||||
</QDialog>
|
||||
</template>
|
||||
|
||||
<i18n>
|
||||
es:
|
||||
Discard: Descartar
|
||||
|
|
Loading…
Reference in New Issue