Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Replace externalFacilityId with facilityId in payload & increase the viewSize to 250 (#289) #290

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/store/modules/util/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const actions: ActionTree<UtilState, RootState> = {
"facilityTypeId_op": "notEqual",
},
"fieldList": ["facilityId", "facilityName", "parentTypeId", "externalId"],
"viewSize": 50,
"viewSize": 250,
"entityName": "FacilityAndType",
"noConditionFind": "Y"
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/ScheduledRestock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</ion-item>
<ion-item>
<ion-select :label="translate('Facility')" interface="popover" :placeholder = "translate('Select')" v-model="selectedFacility">
<ion-select-option v-for="facility in facilities" :key="facility.facilityId" :value="facility.externalId">
<ion-select-option v-for="facility in facilities" :key="facility.facilityId" :value="facility.facilityId">
{{ facility.facilityName || facility.facilityId }}
</ion-select-option>
</ion-select>
Expand Down
4 changes: 2 additions & 2 deletions src/views/ScheduledRestockReview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<ion-item>
<ion-icon slot="start" :icon="businessOutline"/>
<ion-select :label="translate('Facility')" interface="popover" :placeholder = "translate('Select')" v-model="schedule.facilityId">
<ion-select-option v-for="facility in facilities" :key="facility.facilityId" :value="facility.externalId">
<ion-select-option v-for="facility in facilities" :key="facility.facilityId" :value="facility.facilityId">
{{ facility.facilityName || facility.facilityId }}
</ion-select-option>
</ion-select>
Expand Down Expand Up @@ -244,7 +244,7 @@ export default defineComponent({

const uploadData = {
payload: {
externalDestinationFacilityId: destinationFacilityId,
destinationFacilityId: destinationFacilityId,
items: items
}
};
Expand Down
Loading