This commit is contained in:
@@ -602,7 +602,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
window.$gz.erasingDatabase = true; //suspend notify polling
|
||||
await window.$gz.api.upsert(API_BASE_URL + "import-rockfish");
|
||||
|
||||
|
||||
@@ -24,6 +24,24 @@
|
||||
@input="fieldValueChanged('name')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'DatabaseID')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
ref="dbId"
|
||||
v-model="obj.dbId"
|
||||
dense
|
||||
:readonly="formState.readOnly"
|
||||
:label="$sock.t('DatabaseID')"
|
||||
data-cy="dbId"
|
||||
:error-messages="form().serverErrors(this, 'dbId')"
|
||||
@input="fieldValueChanged('dbId')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'AccountNumber')"
|
||||
cols="12"
|
||||
@@ -209,7 +227,18 @@
|
||||
@input="fieldValueChanged('headOfficeId')"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
ref="doNotContact"
|
||||
v-model="obj.doNotContact"
|
||||
dense
|
||||
:readonly="formState.readOnly"
|
||||
:label="$sock.t('DoNotContact')"
|
||||
data-cy="doNotContact"
|
||||
:error-messages="form().serverErrors(this, 'doNotContact')"
|
||||
@change="fieldValueChanged('doNotContact')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
ref="active"
|
||||
@@ -680,7 +709,9 @@ export default {
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
name: undefined,
|
||||
dbId: null,
|
||||
active: true,
|
||||
doNotContact: false,
|
||||
notes: null,
|
||||
wiki: null,
|
||||
customFields: "{}",
|
||||
@@ -1399,7 +1430,9 @@ async function fetchTranslatedText() {
|
||||
"LastLogin",
|
||||
"CustomerNoteList",
|
||||
"CustomerNoteNotes",
|
||||
"CustomerNoteNoteDate"
|
||||
"CustomerNoteNoteDate",
|
||||
"DoNotContact",
|
||||
"DatabaseID"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user