case 3999
This commit is contained in:
@@ -718,21 +718,6 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelModelNumber")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelModelNumber"),
|
||||
align: "left",
|
||||
value: "unitModelModelNumberViz"
|
||||
});
|
||||
}
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelName")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelName"),
|
||||
@@ -741,6 +726,14 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitDescription"),
|
||||
@@ -768,7 +761,6 @@ export default {
|
||||
index: i,
|
||||
id: x.id,
|
||||
unitViz: x.unitViz,
|
||||
unitModelModelNumberViz: x.unitModelModelNumberViz,
|
||||
unitModelVendorViz: x.unitModelVendorViz,
|
||||
unitModelNameViz: x.unitModelNameViz,
|
||||
unitDescriptionViz: x.unitDescriptionViz,
|
||||
|
||||
@@ -719,21 +719,6 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelModelNumber")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelModelNumber"),
|
||||
align: "left",
|
||||
value: "unitModelModelNumberViz"
|
||||
});
|
||||
}
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelName")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelName"),
|
||||
@@ -742,6 +727,14 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitDescription"),
|
||||
@@ -769,7 +762,6 @@ export default {
|
||||
index: i,
|
||||
id: x.id,
|
||||
unitViz: x.unitViz,
|
||||
unitModelModelNumberViz: x.unitModelModelNumberViz,
|
||||
unitModelVendorViz: x.unitModelVendorViz,
|
||||
unitModelNameViz: x.unitModelNameViz,
|
||||
unitDescriptionViz: x.unitDescriptionViz,
|
||||
|
||||
@@ -754,21 +754,6 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelModelNumber")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelModelNumber"),
|
||||
align: "left",
|
||||
value: "unitModelModelNumberViz"
|
||||
});
|
||||
}
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelName")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelName"),
|
||||
@@ -777,6 +762,14 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitModelVendorID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitModelVendorID"),
|
||||
align: "left",
|
||||
value: "unitModelVendorViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "UnitDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("UnitDescription"),
|
||||
@@ -804,7 +797,6 @@ export default {
|
||||
index: i,
|
||||
id: x.id,
|
||||
unitViz: x.unitViz,
|
||||
unitModelModelNumberViz: x.unitModelModelNumberViz,
|
||||
unitModelVendorViz: x.unitModelVendorViz,
|
||||
unitModelNameViz: x.unitModelNameViz,
|
||||
unitDescriptionViz: x.unitDescriptionViz,
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
:variant="unitListVariant()"
|
||||
template="[
|
||||
{ fld: 'UnitSerial' },
|
||||
{ fld: 'UnitModelModelNumber' },
|
||||
{ fld: 'UnitModelName' },
|
||||
{ fld: 'UnitModelVendorID' }
|
||||
]"
|
||||
v-model="obj.unitId"
|
||||
|
||||
@@ -2102,7 +2102,6 @@ async function fetchTranslatedText(vm) {
|
||||
"AppendTasks",
|
||||
"UnitWarrantyInfo",
|
||||
"UnitModelLifeTimeWarranty",
|
||||
"UnitModelModelNumber",
|
||||
"UnitModelVendorID",
|
||||
"UnitModelName",
|
||||
"UnitDescription",
|
||||
|
||||
@@ -2167,7 +2167,6 @@ async function fetchTranslatedText(vm) {
|
||||
"AppendTasks",
|
||||
"UnitWarrantyInfo",
|
||||
"UnitModelLifeTimeWarranty",
|
||||
"UnitModelModelNumber",
|
||||
"UnitModelVendorID",
|
||||
"UnitModelName",
|
||||
"UnitDescription",
|
||||
|
||||
@@ -6,29 +6,11 @@
|
||||
<v-form ref="form">
|
||||
<v-row>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
v-model="obj.number"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('UnitModelModelNumber')"
|
||||
:rules="[form().required(this, 'number')]"
|
||||
:error-messages="form().serverErrors(this, 'number')"
|
||||
ref="number"
|
||||
data-cy="number"
|
||||
@input="fieldValueChanged('number')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Name')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="obj.name"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('Name')"
|
||||
:label="$ay.t('UnitModelName')"
|
||||
:rules="[form().required(this, 'name')]"
|
||||
:error-messages="form().serverErrors(this, 'name')"
|
||||
ref="name"
|
||||
data-cy="name"
|
||||
@@ -329,7 +311,6 @@ export default {
|
||||
wiki: null,
|
||||
customFields: "{}",
|
||||
tags: [],
|
||||
number: null,
|
||||
vendorId: null,
|
||||
upc: null,
|
||||
lifeTimeWarranty: false,
|
||||
@@ -703,9 +684,8 @@ async function initForm(vm) {
|
||||
async function fetchTranslatedText(vm) {
|
||||
await window.$gz.translation.cacheTranslations([
|
||||
"UnitModel",
|
||||
"Name",
|
||||
"UnitModelNotes",
|
||||
"UnitModelModelNumber",
|
||||
"UnitModelName",
|
||||
"UnitModelVendorID",
|
||||
"UnitModelUPC",
|
||||
"UnitModelLifeTimeWarranty",
|
||||
|
||||
@@ -2341,7 +2341,6 @@ async function fetchTranslatedText(vm) {
|
||||
"WorkOrderItemOutsideService",
|
||||
"CustomerSignature",
|
||||
"TechSignature",
|
||||
"Name",
|
||||
"PartAssemblyList",
|
||||
"PartAssembly",
|
||||
"PartSerialNumbersAvailable",
|
||||
@@ -2352,7 +2351,7 @@ async function fetchTranslatedText(vm) {
|
||||
"AppendTasks",
|
||||
"UnitWarrantyInfo",
|
||||
"UnitModelLifeTimeWarranty",
|
||||
"UnitModelModelNumber",
|
||||
"UnitModelName",
|
||||
"UnitModelVendorID",
|
||||
"UnitModelName",
|
||||
"UnitDescription",
|
||||
|
||||
Reference in New Issue
Block a user