This commit is contained in:
2021-04-30 23:54:22 +00:00
parent b712865274
commit 59a581956f
12 changed files with 45 additions and 15 deletions

View File

@@ -15,7 +15,7 @@
<v-dialog v-model="openDialog">
<v-card>
<v-card-title>
<span class="headline">{{ $ay.t("Address") }}</span>
<span class="text-h5">{{ $ay.t("Address") }}</span>
</v-card-title>
<v-card-text>
<v-row>
@@ -315,6 +315,26 @@
</v-card>
</v-dialog>
</v-row>
<v-dialog v-model="openSelectDialog">
<v-card>
<v-card-title>
<span class="text-h5">{{ $ay.t("SelectAlternateAddress") }}</span>
</v-card-title>
<v-card-text>
<span class="text-h5">{{ $ay.t("SelectAlternateAddress") }}</span
><br />
<span class="text-h5">{{ $ay.t("SelectAlternateAddress") }}</span>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="blue darken-1" text @click="close()">{{
$ay.t("OK")
}}</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</div>
</template>
<script>
@@ -324,7 +344,11 @@
export default {
data() {
return { openDialog: false };
return {
openDialog: false,
openSelectDialog: false,
selectType: 1 //1==service / physical, 2==billing / postal
};
},
props: {
@@ -355,8 +379,14 @@ export default {
window.$gz.form.fieldValueChanged(this.pvm, ref);
}
},
AddressSelectAlternatePostal() {},
AddressSelectAlternatePhysical() {},
AddressSelectAlternatePostal() {
this.selectType = 2;
this.openSelectDialog = true;
},
AddressSelectAlternatePhysical() {
this.selectType = 1;
this.openSelectDialog = true;
},
AddressCopyToPostal() {
this.value.postAddress = this.value.address;
this.value.postCity = this.value.city;