zss
2023-11-22 d51599d19653dba1adfbae2b23a6c1332db5a0b2
src/views/quality/rawMaterial/index.vue
@@ -94,12 +94,20 @@
                column: [
                    {
                        minWidth: '120',
                        prop: 'code',
                        label: '原材料编码',
                        prop: 'rawInsNo',
                        label: '原材料检验编号',
                        isTrue: true,
                        isSearch: true,
                        searchInfoType: 'text',
                        render: { fun: this.addOrUpdateHandle }
                    },
                    {
                        minWidth: '120',
                        prop: 'code',
                        label: '原材料编码',
                        isTrue: true,
                        isSearch: true,
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '120',
@@ -262,7 +270,6 @@
        //查看报告按钮
        previewFun(row){
            getObj(row.id).then(res=>{
                console.log(res);
                this.printFormData = res.data.data
                this.printDialogVisible = true
            }).catch(error=>{
@@ -277,7 +284,7 @@
                type: "html",
                maxWidth: 880,
                // header: "原材料检测报告",
                style: '@page {margin: 0 5mm}',
                style: '@page {margin: 10mm 5mm;}',
                targetStyles: ["*"],
                ignoreElements: ["no-ignore"],
                orientation: 'portrait'
@@ -332,7 +339,6 @@
        },
        // 新增 / 修改
        addOrUpdateHandle(row) {
            console.log(row);
            this.$router.push({
                name: 'rawMaterialForm',
                query: {