This commit is contained in:
@@ -245,6 +245,20 @@
|
||||
}}<v-icon right large>$ayiTrashRestoreAlt</v-icon></v-btn
|
||||
>
|
||||
<div ref="topform"></div>
|
||||
<v-col
|
||||
v-if="value.items[activeItemIndex].fromCSRId != null"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-btn text @click="openCSR()">
|
||||
<v-icon>$ayiConciergeBell</v-icon>
|
||||
<span class="text-h6 accent--text" @click="openCSR()"
|
||||
>{{ $ay.t("CustomerServiceRequest") }}
|
||||
</span></v-btn
|
||||
>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Items.WorkOrderItemSummary')"
|
||||
cols="12"
|
||||
@@ -917,6 +931,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
openCSR: function() {
|
||||
window.$gz.eventBus.$emit("openobject", {
|
||||
type: window.$gz.type.CustomerServiceRequest,
|
||||
id: this.value.items[this.activeItemIndex].fromCSRId
|
||||
});
|
||||
},
|
||||
async copyItemToWorkOrder() {
|
||||
if (!this.copyItemWoNumber) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user