case 1690
This commit is contained in:
@@ -40,6 +40,11 @@ OUTSTANDING MAJOR AREAS TO BETA
|
|||||||
Reports (stock)
|
Reports (stock)
|
||||||
v8Migrate completed
|
v8Migrate completed
|
||||||
trial / seeder system
|
trial / seeder system
|
||||||
|
This should be coded by *task* rather than object to make life easier when we implement
|
||||||
|
i.e. a MakeWorkorderItemPartRequest task would go through the rigamarole of making a part request, a PO to fulfil it etc
|
||||||
|
or something along those lines, ideas fuzzy at the moment
|
||||||
|
maybe it's what is there plus additional Task based ones
|
||||||
|
maybe the UI drives it because we have specific ideas for that
|
||||||
docs
|
docs
|
||||||
See Global Settings form for format for all feature pages
|
See Global Settings form for format for all feature pages
|
||||||
MOST IMPORTANT is the basic stuff about how to use forms and controls and stuff before getting into actual feature pages
|
MOST IMPORTANT is the basic stuff about how to use forms and controls and stuff before getting into actual feature pages
|
||||||
|
|||||||
@@ -465,6 +465,42 @@
|
|||||||
auto-grow
|
auto-grow
|
||||||
></v-textarea>
|
></v-textarea>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
<v-col cols="12" sm="6" lg="2">
|
||||||
|
<v-checkbox
|
||||||
|
v-model="obj.customerAllowCreateUnit"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('CustomerAllowCreateUnit')"
|
||||||
|
ref="customerAllowCreateUnit"
|
||||||
|
data-cy="customerAllowCreateUnit"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'customerAllowCreateUnit')
|
||||||
|
"
|
||||||
|
@change="fieldValueChanged('customerAllowCreateUnit')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<template v-if="obj.customerAllowCreateUnit">
|
||||||
|
<v-col cols="12" sm="6" lg="10">
|
||||||
|
<gz-tag-picker
|
||||||
|
v-model="obj.customerAllowCreateUnitInTags"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="
|
||||||
|
$ay.t('ContactCustomerHeadOfficeTaggedWith')
|
||||||
|
"
|
||||||
|
ref="customerAllowCreateUnitInTags"
|
||||||
|
data-cy="customerAllowCreateUnitInTags"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'customerAllowCreateUnitInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged('customerAllowCreateUnitInTags')
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-expansion-panel-content>
|
</v-expansion-panel-content>
|
||||||
@@ -1259,6 +1295,8 @@ export default {
|
|||||||
signatureFooter: null,
|
signatureFooter: null,
|
||||||
customerAllowCSR: false,
|
customerAllowCSR: false,
|
||||||
customerAllowCSRInTags: [],
|
customerAllowCSRInTags: [],
|
||||||
|
customerAllowCreateUnit: false,
|
||||||
|
customerAllowCreateUnitInTags: [],
|
||||||
customerAllowViewWO: false,
|
customerAllowViewWO: false,
|
||||||
customerAllowViewWOInTags: [],
|
customerAllowViewWOInTags: [],
|
||||||
customerAllowWOWiki: false,
|
customerAllowWOWiki: false,
|
||||||
@@ -1510,6 +1548,7 @@ async function fetchTranslatedText(vm) {
|
|||||||
"NotifyEventWorkorderCompleted",
|
"NotifyEventWorkorderCompleted",
|
||||||
"CustomerAccessWorkOrderReport",
|
"CustomerAccessWorkOrderReport",
|
||||||
"CSRInfoText",
|
"CSRInfoText",
|
||||||
|
"CustomerAllowCreateUnit",
|
||||||
"CustomerSignature",
|
"CustomerSignature",
|
||||||
"GlobalSignatureFooter",
|
"GlobalSignatureFooter",
|
||||||
"GlobalSignatureHeader",
|
"GlobalSignatureHeader",
|
||||||
|
|||||||
@@ -97,6 +97,17 @@
|
|||||||
@input="fieldValueChanged('unitId')"
|
@input="fieldValueChanged('unitId')"
|
||||||
></gz-pick-list>
|
></gz-pick-list>
|
||||||
</v-col>
|
</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-col cols="12">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
@@ -328,6 +339,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
showAddUnitDialog: function() {},
|
||||||
unitListVariant: function() {
|
unitListVariant: function() {
|
||||||
return `customerid: ${this.obj.customerId}`;
|
return `customerid: ${this.obj.customerId}`;
|
||||||
},
|
},
|
||||||
@@ -675,7 +687,8 @@ async function fetchTranslatedText() {
|
|||||||
"CustomerServiceRequestCustom13",
|
"CustomerServiceRequestCustom13",
|
||||||
"CustomerServiceRequestCustom14",
|
"CustomerServiceRequestCustom14",
|
||||||
"CustomerServiceRequestCustom15",
|
"CustomerServiceRequestCustom15",
|
||||||
"CustomerServiceRequestCustom16"
|
"CustomerServiceRequestCustom16",
|
||||||
|
"AddNewUnit"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user