<template>
    <div>
        <Row>
            <Col span="6">
                宽：
            </Col>
            <Col span="6">
                <Input></Input>
            </Col>
            <Col span="6">
                高：
            </Col>
            <Col span="6">
                <Input></Input>
            </Col>
        </Row>
        <Row>
            <Col span="8">
                条码格式：
            </Col>
            <Col span="16">
                <Select></Select>
            </Col>
        </Row>
        <Row>
            <Col span="8">
                数据来源：
            </Col>
            <Col span="16">
                <Select></Select>
            </Col>
        </Row>
        <Row>
            <Col span="8">
                文本：
            </Col>
            <Col span="16">
                <Input></Input>
            </Col>
        </Row>
    </div>
</template>

<script>
    import {
        mapState,
        mapActions
    } from 'vuex';

    export default {
        name: 'BarcodeEditor',
        data() {
            return {
                // datasetName: '',
                // property: '',
                // aggregate: '',
                // order: '',
                // expr: '',
            };
        },
        props: ["cellDef", "rowIndex", "colIndex"],
        watch: {
            // cellDef(currVal, oldVal) {
            //     this.simpleCellValue = this.cellDef.value.value;
            // }
        },
        computed: {
            ...mapState(['context', 'tenantId'])
        },
        methods: {
            // changeSimpleCellValue() {
            //     this.cellDef.value.value = this.simpleCellValue;
            //     this.context.hot.setDataAtCell(this.rowIndex, this.colIndex, this.simpleCellValue);
            //     console.log(this.rowIndex + ":" + this.colIndex);
            // },
        },
        mounted() {
        }
    };
</script>

<style>
</style>
