refs #6697 changes claim
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
cd49ebe7a6
commit
6391ed1360
|
@ -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)
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue