This commit is contained in:
@@ -1270,6 +1270,7 @@ export default {
|
||||
this.obj.active = false;
|
||||
this.obj.fetchedOn = null;
|
||||
this.obj.fetchCode = null;
|
||||
this.obj.licenseExpire = null;
|
||||
this.obj.created = window.$gz.locale.nowUTC8601String();
|
||||
this.obj.notificationSent = false;
|
||||
// this.obj.name = `${this.obj.name} - ${window.$gz.translation.get(
|
||||
|
||||
@@ -95,7 +95,6 @@
|
||||
ref="fetchedOn"
|
||||
v-model="obj.fetchedOn"
|
||||
:label="$sock.t('TrialLicenseRequestFetchedOn')"
|
||||
:rules="[form().required(this, 'fetchedOn')]"
|
||||
:readonly="formState.readOnly"
|
||||
:error-messages="form().serverErrors(this, 'fetchedOn')"
|
||||
data-cy="fetchedOn"
|
||||
@@ -108,12 +107,15 @@
|
||||
ref="status"
|
||||
v-model="obj.status"
|
||||
dense
|
||||
:items="selectLists.trailRequestStatus"
|
||||
:items="selectLists.trialRequestStatus"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
readonly
|
||||
:readonly="formState.readOnly"
|
||||
:label="$sock.t('TrialLicenseRequestStatus')"
|
||||
:rules="[form().integerValid(this, 'status')]"
|
||||
:error-messages="form().serverErrors(this, 'status')"
|
||||
data-cy="status"
|
||||
@input="fieldValueChanged('status')"
|
||||
></v-select>
|
||||
</v-col>
|
||||
|
||||
@@ -196,7 +198,7 @@ export default {
|
||||
tags: []
|
||||
},
|
||||
selectLists: {
|
||||
trailRequestStatus: []
|
||||
trialRequestStatus: []
|
||||
},
|
||||
formState: {
|
||||
ready: false,
|
||||
@@ -605,7 +607,7 @@ async function fetchTranslatedText() {
|
||||
async function populateSelectionLists(vm) {
|
||||
//ensure the pick lists required are pre-fetched
|
||||
await window.$gz.enums.fetchEnumList("trialrequeststatus");
|
||||
vm.selectLists.trailRequestStatus = window.$gz.enums.getSelectionList(
|
||||
vm.selectLists.trialRequestStatus = window.$gz.enums.getSelectionList(
|
||||
"trialrequeststatus"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user