This commit is contained in:
@@ -52,15 +52,15 @@
|
||||
:ayaType="ayaTypes().User"
|
||||
:variant="'inside'"
|
||||
:showEditIcon="true"
|
||||
v-model="obj.projectOverseerId"
|
||||
v-model="obj.csrOverseerId"
|
||||
:readonly="formState.readOnly"
|
||||
:label="
|
||||
$ay.t('CustomerServiceRequestCustomerServiceRequestOverseerID')
|
||||
"
|
||||
ref="projectOverseerId"
|
||||
data-cy="projectOverseerId"
|
||||
:error-messages="form().serverErrors(this, 'projectOverseerId')"
|
||||
@input="fieldValueChanged('projectOverseerId')"
|
||||
ref="csrOverseerId"
|
||||
data-cy="csrOverseerId"
|
||||
:error-messages="form().serverErrors(this, 'csrOverseerId')"
|
||||
@input="fieldValueChanged('csrOverseerId')"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
@@ -188,8 +188,8 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
const FORM_KEY = "project-edit";
|
||||
const API_BASE_URL = "project/";
|
||||
const FORM_KEY = "csr-edit";
|
||||
const API_BASE_URL = "csr/";
|
||||
const FORM_CUSTOM_TEMPLATE_KEY = "CustomerServiceRequest"; //<-- Should always be CoreBizObject AyaType name here where possible
|
||||
|
||||
export default {
|
||||
@@ -269,7 +269,7 @@ export default {
|
||||
tags: []
|
||||
// dateStarted: window.$gz.locale.nowUTC8601String(),
|
||||
// dateCompleted: null,
|
||||
// projectOverseerId: null,
|
||||
// csrOverseerId: null,
|
||||
// accountNumber: null
|
||||
},
|
||||
formState: {
|
||||
@@ -721,12 +721,16 @@ async function initForm(vm) {
|
||||
async function fetchTranslatedText(vm) {
|
||||
await window.$gz.translation.cacheTranslations([
|
||||
"CustomerServiceRequest",
|
||||
"CustomerServiceRequestName",
|
||||
"CustomerServiceRequestNotes",
|
||||
"CustomerServiceRequestAccountNumber",
|
||||
"CustomerServiceRequestCustomerServiceRequestOverseerID",
|
||||
"CustomerServiceRequestDateStarted",
|
||||
"CustomerServiceRequestDateCompleted",
|
||||
"CustomerServiceRequestTitle",
|
||||
"CustomerServiceRequestDetails",
|
||||
"Created",
|
||||
"Customer",
|
||||
"CustomerServiceRequestItemUnitID",
|
||||
"WorkOrder",
|
||||
"CustomerServiceRequestRequestedBy",
|
||||
"CustomerServiceRequestCustomerReferenceNumber",
|
||||
"CustomerServiceRequestStatus",
|
||||
"CustomerServiceRequestPriority",
|
||||
"CustomerServiceRequestCustom1",
|
||||
"CustomerServiceRequestCustom2",
|
||||
"CustomerServiceRequestCustom3",
|
||||
|
||||
Reference in New Issue
Block a user