2023-09-11 07:14:56 +00:00

24 lines
559 B
Vue

<template>
<input style="width:max-content;height: 24px;" id="artnum" name="artnum" v-model="selectedArt" type="text">
</template>
<script>
export default {
props: ['data', 'lang', 'settings'],
data() {
return {
}
},
computed: {
selectedArt: {
get: function () {
return this.$store.state.selected['artnum'];
},
set: function (state) {
this.$store.commit('setSelected', {item: 'artnum', state: state});
this.$emit('reloadData')
}
},
},
}
</script>