zss
2023-11-28 e969c1f0523c69fe854fdcad7d8d8e2da6dcf30d
src/views/quality/rawMaterial/index.vue
@@ -38,11 +38,11 @@
            @refreshDataList="getData"
        ></RawMaterialForm>
        <el-dialog
        top="10vh"
        top="7vh"
        title="打印预览"
        :visible.sync="printDialogVisible"
        width="60%">
        <div style="width:100%;height: 60vh;overflow-y: scroll;">
        width="70%">
        <div style="width:90%;margin-left:5%;height: 60vh;overflow-y: scroll;">
            <printTemplate id="printRaw" :formData="printFormData"></printTemplate>
        </div>
        <span slot="footer" class="dialog-footer">
@@ -95,12 +95,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',
@@ -297,13 +305,12 @@
                type: "html",
                // header: "原材料检测报告",
                targetStyles: ["*"],
                style: `@page {margin: 0mm 5mm;size: A4;};
                    html {zoom:100%;};
                style: `@page {margin: 0mm 5mm;size: A4;}
                    html {zoom:100%;}
                    @media print {
                 html,body{
                   width:880pt;
                   height:900pt;
                   margin:0;
                   width:200mm;
                   height:297mm;
                 }
               }`,
                ignoreElements: ["no-ignore"],