<template>
    <div class="common-btn-box4" @click="handleBtnClick()" style="">
        <span>打印箱码</span>
    </div>
</template>

<script setup lang="ts" name="Generate">
defineProps<{
    selectionList?: any[];
    handleBtnItemCallback?: () => void;
    ruleForm: any;
}>();
const emits = defineEmits<{
    (e: "handleBtnItemCallback", result: Record<string, any>): void;
}>();

// 提交事件
const handleBtnClick = () => {
    emits("handleBtnItemCallback", {
        type: "Print"
    });
};
</script>

<style scoped>
@import "../index.scss";
</style>
