This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user