zouyu
2023-12-13 fbe94e09efc8db417ab68888f53525f056b5e5a7
	modified:   src/views/quality/finishedProductInspection/index.vue
已修改1个文件
30 ■■■■ 文件已修改
src/views/quality/finishedProductInspection/index.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/index.vue
@@ -188,30 +188,13 @@
                        },
                    ],
                    toolbar: [
                    /* {
                        text: '新增',
                        type: 'primary',
                        fun: this.addOrUpdateHandle
                    },
                    {
                        text: '导出',
                        type: 'primary',
                        fun: this.exportExcel
                    }*/
                        {
                            text: '下载检验报告',
                            type: 'primary',
                            fun: this.downloadProReport
                        }
                    ],
                    operator: [{
                        text: '打印',
                        type: 'text',
                        size: 'small',
                        fun: this.showPrint,
                        show: {
                            val: [
                                '1',
                                '0'
                            ],
                            key: 'result'
                        }
                    },{
                        text: '作废',
                        type: 'text',
                        size: 'small',
@@ -235,6 +218,9 @@
        }
    },
        methods: {
            downloadProReport(){
                this.$message.info("开发中...")
            },
            //打印按钮
            printFun() {
                const style = '@page {margin: 10mm 5mm; margin-bottom: 0;margin-top:0;} ' +'@media print {.title{font-size:30pt;font-weight: 400;font-family: 黑体;!important;}' ;