case 4038

This commit is contained in:
2021-12-30 18:57:07 +00:00
parent e610491076
commit f9df633d04
4 changed files with 25 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<!-- SERVERERROR:{{ formState.serverError }} -->
<v-form ref="form">
<GzPMHeader
@@ -294,6 +294,11 @@ export default {
computed: {
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2114,7 +2119,8 @@ async function fetchTranslatedText(vm) {
"RecentWorkOrders",
"WorkOrderGenerateUnit",
"ApplyUnitContract",
"CustomerServiceRequest"
"CustomerServiceRequest",
"CustomerTechNotes"
]);
}

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<v-form ref="form">
<GzQuoteHeader
v-model="obj"
@@ -315,6 +315,11 @@ export default {
},
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2179,7 +2184,8 @@ async function fetchTranslatedText(vm) {
"WorkOrderGenerateUnit",
"ApplyUnitContract",
"CustomerServiceRequest",
"NewStatus"
"NewStatus",
"CustomerTechNotes"
]);
}

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<!-- SERVERERROR:{{ formState.serverError }} -->
<v-form ref="form">
<GzWoHeader
@@ -393,6 +393,11 @@ export default {
},
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2382,7 +2387,8 @@ async function fetchTranslatedText(vm) {
"DuplicateToQuote",
"DuplicateToPM",
"NewStatus",
"InventoryRoleRequired"
"InventoryRoleRequired",
"CustomerTechNotes"
]);
}