yangys
2025-09-19 ce70bd97c7f2577f0978b39b9da1ccdd8d5b768f
src/views/flowmgr/processQuery1.vue
@@ -25,9 +25,10 @@
            <template #menu="scope">
                <el-button type="primary" text size="default" @click.stop="customView(scope.row, scope.index, 0)">查看
                </el-button>
                <!--
                <el-button type="primary" text size="default" v-if="scope.row.processDefinitionKey === 'dispatch' || scope.row.processDefinitionKey === 'program-cure'"
                    @click.stop="handleApproveTable(scope.row, scope.index)">审批表
                </el-button>
                </el-button>-->
                <el-button type="danger" text size="default" @click.stop="handleDelete(scope.row, scope.index, 0)">删除
                </el-button>
                
@@ -81,18 +82,14 @@
                viewBtn: false,
                columnBtn: false,
                tip: false,
                // simplePage: true,
                searchShow: true,
                searchMenuSpan: 7,
                searchEnter:true,
                dialogWidth: '70%',
                // tree: true,
                border: true,
                index: true,
                selection: true,
                menuWidth: 200,
                // menu: false,
                selection: false,
                menuWidth: 110,
                dialogClickModal: false,
                column: [
                    {
@@ -128,6 +125,7 @@
               {
                        label: '标题',
                        prop: 'variables.title',
                        showOverflowTooltip:true,
                        width: 150,
                  render: ({ row }) => {
                            return h('p',
@@ -149,6 +147,7 @@
                        label: '流程名称',
                        prop: '',
                        width: 85,
                        showOverflowTooltip:true,
                  render: ({ row }) => {
                            return h('p',
                                {
@@ -158,17 +157,18 @@
                                }, row?.variables?.myProcessName)
                        }
                    },
                    {
                        label: '批次号',
                        prop: 'variables.craftEdition',
                        width: 70,
                        label: '零组件号',
                        prop: '',
                        width: 82,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.craftEdition || '');
                            return h('span', {}, row?.variables?.drawingNo || '');
                        }
                    },
                    {
                        label: '工序号',
                        prop: 'processNo',
                        prop: '',
                        width: 80,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.processNo || '');
@@ -176,61 +176,45 @@
                    },
                    {
                        label: '工序名称',
                        prop: 'processName',
                        width: 80,
                        prop: '',
                        width: 82,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.processName || '');
                        }
                    },
                    {
                        label: '工序版次',
                        prop: 'processEdition',
                        width: 80,
                        prop: '',
                        width: 82,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.processEdition || '');
                        }
                    },
                    {
                        label: '零组件号',
                        prop: 'drawingNo',
                        width: 80,
                   {
                        label: '批次号',
                        prop: '',
                        width: 70,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.drawingNo || '');
                            return h('span', {}, row?.variables?.craftEdition || '');
                        }
                    },
                    {
                        label: '任务车间',
                        prop: 'workshop',
                        width: 80,
                        prop: '',
                        width: 82,
                        render: ({ row }) => {
                            return h('p',{'class': 'margin0'}, row?.variables?.workshop || '');
                        }
                    },
                    {
                        label: '过程卡号',
                        prop: 'empty',
                        width: 80,
                    },
               {
                        label: '图号',
                        prop: '',
                        width: 100,
                  render: ({ row }) => {
                            return h('p',
                                {
                                    attrs: {},
                                    class: {},
                                    style: {},
                                }, row?.variables?.drawingNo)
                        },
                        renderForm: ({ row }) => {
                            return h('span', {
                                attrs: {},
                                class: {},
                                style: {},
                            }, row?.variables?.drawingNo || '');
                        width: 82,
                        render: ({ row }) => {
                            return h('p',{'class': 'margin0'}, row?.variables?.processCard || '');
                        }
                    },
               {
                        label: '产品型号',
                        prop: '',
@@ -255,6 +239,7 @@
                    {
                        label: '机床',
                        prop: '',
                        showOverflowTooltip:true,
                        render: ({ row }) => {
                            return h('p',
                                {
@@ -279,16 +264,19 @@
                    {
                        label: '创建时间',
                        prop: 'processCreateTime',
                        showOverflowTooltip:true,
                        width: 82,
                    },
                    {
                        label: '当前节点',
                        prop: 'taskName',
                  width: 90
                        showOverflowTooltip:true,
                  width: 110
                    },
                    {
                        label: '计划加工时间',
                        prop: 'planStartTime',
                        width: 180,
                        width: 110,
                        render: ({ row }) => {
                            return h('span', {}, row?.variables?.planStartTime || '');
                        }
@@ -377,9 +365,9 @@
                    },
                    {
                        label: '过程卡号',
                        prop: 'empty',
                        prop: '',
                        render: ({ row }) => {
                            return h('p',{'class': 'margin0'}, row?.variables?.empty || '');
                            return h('p',{'class': 'margin0'}, row?.variables?.processCard || '');
                        }
                    },
                    {
@@ -439,7 +427,7 @@
                        }
                    },
                    {
                        label: '偏离单号',
                        label: '临时更改单号',
                        prop: '',
                        render: ({ row }) => {
                            return h('p',{'class': 'margin0'}, row?.variables?.deviation || '');