refactor: refs #8316 remove invoiceInSearchbar
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
168fe4c5b1
commit
06e04e1fb5
|
@ -18,7 +18,7 @@ import VnSection from 'src/components/common/VnSection.vue';
|
||||||
const user = useState().getUser();
|
const user = useState().getUser();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const dataKey='InvoiceInList';
|
const dataKey = 'InvoiceInList';
|
||||||
|
|
||||||
const tableRef = ref();
|
const tableRef = ref();
|
||||||
const companies = ref([]);
|
const companies = ref([]);
|
||||||
|
@ -132,11 +132,7 @@ const cols = computed(() => [
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
<FetchData url="Companies" @on-fetch="(data) => (companies = data)" auto-load />
|
||||||
url="Companies"
|
|
||||||
@on-fetch="(data) => (companies = data)"
|
|
||||||
auto-load
|
|
||||||
/>
|
|
||||||
<VnSection
|
<VnSection
|
||||||
:data-key="dataKey"
|
:data-key="dataKey"
|
||||||
:columns="cols"
|
:columns="cols"
|
||||||
|
@ -144,7 +140,6 @@ const cols = computed(() => [
|
||||||
:array-data-props="{
|
:array-data-props="{
|
||||||
url: 'InvoiceIns/filter',
|
url: 'InvoiceIns/filter',
|
||||||
order: ['issued DESC', 'id DESC'],
|
order: ['issued DESC', 'id DESC'],
|
||||||
exprBuilder,
|
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<template #rightMenu>
|
<template #rightMenu>
|
||||||
|
@ -187,7 +182,9 @@ const cols = computed(() => [
|
||||||
<QItem v-bind="scope.itemProps">
|
<QItem v-bind="scope.itemProps">
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<QItemLabel>{{ scope.opt?.nickname }}</QItemLabel>
|
<QItemLabel>{{ scope.opt?.nickname }}</QItemLabel>
|
||||||
<QItemLabel caption> #{{ scope.opt?.id }}, {{ scope.opt?.name }} </QItemLabel>
|
<QItemLabel caption>
|
||||||
|
#{{ scope.opt?.id }}, {{ scope.opt?.name }}
|
||||||
|
</QItemLabel>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
</template>
|
</template>
|
||||||
|
@ -205,7 +202,10 @@ const cols = computed(() => [
|
||||||
option-label="code"
|
option-label="code"
|
||||||
:required="true"
|
:required="true"
|
||||||
/>
|
/>
|
||||||
<VnInputDate :label="t('InvoiceIn.summary.issued')" v-model="data.issued" />
|
<VnInputDate
|
||||||
|
:label="t('InvoiceIn.summary.issued')"
|
||||||
|
v-model="data.issued"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
<script setup>
|
|
||||||
import VnSearchbar from 'components/ui/VnSearchbar.vue';
|
|
||||||
import { useI18n } from 'vue-i18n';
|
|
||||||
const { t } = useI18n();
|
|
||||||
</script>
|
|
||||||
<template>
|
|
||||||
<VnSearchbar
|
|
||||||
data-key="InvoiceInList"
|
|
||||||
:label="t('Search invoice')"
|
|
||||||
:info="t('Search invoices in by id or supplier fiscal name')"
|
|
||||||
url="InvoiceIns/filter"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
<i18n>
|
|
||||||
es:
|
|
||||||
Search invoice: Buscar factura recibida
|
|
||||||
Search invoices in by id or supplier fiscal name: Buscar facturas recibidas por id o por nombre fiscal del proveedor
|
|
||||||
</i18n>
|
|
Loading…
Reference in New Issue