7383-testToMaster #370

Merged
alexm merged 365 commits from 7383-testToMaster into master 2024-05-14 05:46:56 +00:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 6391ed1360 - Show all commits

View File

@ -20,7 +20,6 @@ const { t } = useI18n();
const stateStore = useStateStore(); const stateStore = useStateStore();
const arrayData = useArrayData('ClaimLines'); const arrayData = useArrayData('ClaimLines');
const store = arrayData.store; const store = arrayData.store;
let claimedDefault = 0;
const claimFilter = { const claimFilter = {
fields: ['ticketFk'], fields: ['ticketFk'],
}; };
@ -79,7 +78,6 @@ const columns = computed(() => [
label: t('Claimed'), label: t('Claimed'),
field: (row) => row.quantity, field: (row) => row.quantity,
sortable: true, sortable: true,
default: 0,
}, },
{ {
name: 'description', name: 'description',
@ -282,7 +280,6 @@ function showImportDialog() {
{{ column.value }} {{ column.value }}
<QPopupEdit <QPopupEdit
v-model="props.row.quantity" v-model="props.row.quantity"
v-slot="scope"
:title="t('Claimed quantity')" :title="t('Claimed quantity')"
@update:model-value=" @update:model-value="
updateQuantity(props.row) updateQuantity(props.row)

View File

@ -34,6 +34,7 @@ const columns = computed(() => [
label: t('Quantity'), label: t('Quantity'),
field: (row) => row.quantity, field: (row) => row.quantity,
sortable: true, sortable: true,
default: 0,
}, },
{ {
name: 'description', name: 'description',
@ -74,7 +75,6 @@ async function importLines() {
const body = sales.map((row) => ({ const body = sales.map((row) => ({
claimFk: route.params.id, claimFk: route.params.id,
saleFk: row.saleFk, saleFk: row.saleFk,
quantity: row.quantity,
})); }));
canceller = new AbortController(); canceller = new AbortController();