This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
<v-container fluid>
|
||||
<gz-report-selector ref="reportSelector"></gz-report-selector>
|
||||
<h2 class="red--text">
|
||||
todo: revisit after add customer, ho, vendor to support usertypes
|
||||
customer,headoffice,contractor
|
||||
todo: revisit after add vendor to support usertype contractor
|
||||
</h2>
|
||||
<v-row v-if="formState.ready">
|
||||
<v-col>
|
||||
@@ -765,7 +764,9 @@ async function fetchTranslatedText(vm) {
|
||||
//
|
||||
async function populateSelectionLists(vm) {
|
||||
//ensure the pick lists required are pre-fetched
|
||||
await window.$gz.enums.fetchEnumList("usertype");
|
||||
vm.selectLists.usertypes = window.$gz.enums.getSelectionList("usertype");
|
||||
await window.$gz.enums.fetchEnumList("insideusertype");
|
||||
vm.selectLists.usertypes = window.$gz.enums.getSelectionList(
|
||||
"insideusertype"
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user