case 1690

This commit is contained in:
2021-11-24 21:34:46 +00:00
parent 8b5c4947ed
commit 3af79a591b
3 changed files with 58 additions and 1 deletions

View File

@@ -97,6 +97,17 @@
@input="fieldValueChanged('unitId')"
></gz-pick-list>
</v-col>
<v-col
v-if="$store.state.customerRights.createUnit == true"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-btn @click="showAddUnitDialog()">{{
$ay.t("AddNewUnit")
}}</v-btn>
</v-col>
<v-col cols="12">
<v-text-field
@@ -328,6 +339,7 @@ export default {
}
},
methods: {
showAddUnitDialog: function() {},
unitListVariant: function() {
return `customerid: ${this.obj.customerId}`;
},
@@ -675,7 +687,8 @@ async function fetchTranslatedText() {
"CustomerServiceRequestCustom13",
"CustomerServiceRequestCustom14",
"CustomerServiceRequestCustom15",
"CustomerServiceRequestCustom16"
"CustomerServiceRequestCustom16",
"AddNewUnit"
]);
}