fixes: vehicles & proposals

This commit is contained in:
Alexandro Uc Santos
2024-08-02 19:05:46 -06:00
parent 0870d96f73
commit 75af1a9bf4
10 changed files with 35 additions and 30 deletions

View File

@@ -32,7 +32,6 @@
}
})
defineEmits(['reset-proposal'])
const loadStore = useLoadsStore();
const notyStore = useNotificationsStore();
@@ -50,6 +49,7 @@
const initData = async() => {
isLoading.value = true;
const code = props.proposal.load.shipment_code;
// console.log(props.proposal)
const filter = "?shipment_code[$in]=" + code;
const resp = await loadStore.getLoad(filter);
if(resp.total > 0) {