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