zouyu
2023-12-02 cdd1902016ebdeab0a0615693e36b66450202765
src/views/quality/packageinspect/index.vue
@@ -74,7 +74,7 @@
                // 标题
                column: [
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'packInsNo',
                        label: '包装检验编号',
                        isTrue: true,
@@ -83,7 +83,7 @@
                        render: { fun: this.addOrUpdateHandle }
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'packageNo',
                        label: '包装编码',
                        isTrue: true,
@@ -91,7 +91,7 @@
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'contractNo',
                        label: '合同号',
                        isTrue: true,
@@ -99,7 +99,7 @@
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'projectName',
                        label: '项目名称',
                        isTrue: true,
@@ -107,7 +107,7 @@
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'customerName',
                        label: '客户名称',
                        isTrue: true,
@@ -115,7 +115,7 @@
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'createTime',
                        label: '报检日期',
                        isTrue: true,
@@ -125,7 +125,7 @@
                        formatter: this.formatDateTime,
                    },
                    {
                        minWidth: '150',
                        minWidth: '180',
                        prop: 'createUser',
                        label: '报检人',
                        isTrue: true,
@@ -133,11 +133,12 @@
                        searchInfoType: 'text'
                    },
                    {
                        minWidth: '150',
                        minWidth: '200',
                        prop: 'result',
                        label: '结论',
                        isTrue: true,
                        isSearch: true,
                        searchInfoType: 'text'
                    },
                ],
                toolbar: [
@@ -157,8 +158,8 @@
                operatorConfig: {
                fixed: 'right',
                label: '操作',
                width: 120,
                minWidth: 120
                width: 100,
                minWidth: 100
                },
            },
        }
@@ -201,8 +202,9 @@
            this.$router.push({
                name: 'packageInspectForm',
                query: { 
                    id: row == null ? null : row.id,
                 }
                    id: row == null ? null : row.id
                 },
                 params:{resultVal : row == null ? null : row.result}
            })
        },
        formatResult(row, column, cellValue){