This commit is contained in:
2021-05-20 18:14:39 +00:00
parent 8c0c0b011e
commit 246b2b1f01

View File

@@ -1,7 +1,5 @@
<template>
<div>
<v-btn @click="logit()">log</v-btn>
<!-- value:{{ value }} display:{{ display }} -->
<template v-if="pickMode">
<gz-pick-list
:aya-type="$ay.ayt().TaxCode"
@@ -67,21 +65,17 @@ export default {
},
methods: {
logit() {
console.log("I have:", { value: this.value, display: this.display });
},
emitInput(e) {
//console.log("emit input", e);
this.$emit("input", e);
this.picking = false;
},
emitName(e) {
//console.log("emit name", e);
this.$emit("update:name", e);
}
},
computed: {
pickMode: function() {
//show picker if nothing selected or display name is empty
if (this.picking) {
return true;
}