From 58f5d547d0e8ddba1b07acc9f29783ce1b430e82 Mon Sep 17 00:00:00 2001 From: andy <1042025947@qq.com> Date: Wed, 19 Aug 2026 13:18:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/NCcode/index.vue | 5 +- src/views/biz/qualityTesting/index.vue | 92 ++++++++++++++++++++------ src/views/lllustrated/index.vue | 2 +- 3 files changed, 76 insertions(+), 23 deletions(-) diff --git a/src/views/NCcode/index.vue b/src/views/NCcode/index.vue index 3e432b6..2940aab 100644 --- a/src/views/NCcode/index.vue +++ b/src/views/NCcode/index.vue @@ -153,7 +153,9 @@ --> + @remove="flchang" + .doc,.docx, + -->
= [ // { type: 'selection' }, - { title: '质检编号', key: 'qcNo',align: 'center' }, + { + title: '质检编号', + key: 'qcNo', + minWidth:160, + align: 'center' + }, { title: '物料名称', key: 'materialName', align: 'center', - width: 150 + minWidth: 150 }, { title: '物料编码', key: 'materialCode', align: 'center', - width: 120 + minWidth: 120 }, // { title: '来源类型', key: 'sourceType',align: 'center', // render(row) { @@ -501,15 +507,39 @@ const columns: DataTableColumns = [ // return h(NTag, { type: opt.class, size: 'small' }, { default: () => opt.label }) // } // }, - { title: '业务来源', key: 'businessName',align: 'center'}, + { + title: '业务来源', + key: 'businessName', + align: 'center', + minWidth:100 + }, // { title: '来源业务ID(汇报单/派工单等)', key: 'sourceId' }, // { title: '关联生产订单ID', key: 'orderId' }, // { title: '关联工序计划ID', key: 'processId' }, // { title: '物料ID', key: 'itemId' }, - { title: '追溯码', key: 'traceCode',align: 'center' }, - { title: '报检总数', key: 'totalQty',align: 'center' }, - { title: '已检验数量', key: 'inspectQty',align: 'center' }, - { title: '质检状态', key: 'status',align: 'center', + { + title: '追溯码', + key: 'traceCode', + align: 'center', + minWidth:300 + }, + { + title: '报检总数', + key: 'totalQty', + align: 'center', + minWidth:80 + }, + { + title: '已检验数量', + key: 'inspectQty', + align: 'center', + minWidth:100 + }, + { + title: '质检状态', + key: 'status', + align: 'center', + minWidth:80, render(row) { const val = row.status const opt = qcStatusOptions.value.find(o => o.value === val || String(o.value) === String(val)) @@ -517,9 +547,23 @@ const columns: DataTableColumns = [ return h(NTag, { type: opt.class, size: 'small' }, { default: () => opt.label }) } }, - { title: '检验员', key: 'inspector',align: 'center' }, - { title: '检验完成时间', key: 'inspectTime',align: 'center' }, - { title: '追溯类型', key: 'traceType',align: 'center', + { + title: '检验员', + key: 'inspector', + align: 'center', + minWidth:100 + }, + { + title: '检验完成时间', + key: 'inspectTime', + align: 'center', + minWidth:150 + }, + { + title: '追溯类型', + key: 'traceType', + align: 'center', + minWidth:100, render(row) { const val = row.traceType const opt = qcTraceTypeOptions.value.find(o => o.value === val || String(o.value) === String(val)) @@ -528,13 +572,19 @@ const columns: DataTableColumns = [ return h(NTag, { type: opt.class, size: 'small' }, { default: () => opt.label }) } }, - { title: '创建时间', key: 'createTime',align: 'center', width: 180 }, + { + title: '创建时间', + key: 'createTime', + align: 'center', + minWidth: 180 + }, { title: '更新时间', key: 'updateTime',align: 'center', width: 180 }, { title: '操作', key: 'actions', - width: 140, + minWidth: 140, fixed: 'right', + align: 'center', render(row) { return h('div', { style: { display: 'flex', alignItems: 'center', gap: '8px', flexWrap: 'nowrap' } }, [ h(NButton, { size: 'small', quaternary: true, onClick: () => handleEdit(row) }, { diff --git a/src/views/lllustrated/index.vue b/src/views/lllustrated/index.vue index 993473c..aa29b6c 100644 --- a/src/views/lllustrated/index.vue +++ b/src/views/lllustrated/index.vue @@ -208,8 +208,8 @@ }" :max="20" v-model:file-list="flist" - @finish="flchang" + accept=".pdf,.png,.jpg" > From 69f49d436a13c35860ba1b738b1a74845db55d15 Mon Sep 17 00:00:00 2001 From: shaoleiliu-netizen123 <480188199@qq.com> Date: Fri, 21 Aug 2026 09:20:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/qualityTesting.ts | 3 + .../components/ReportDetail.vue | 20 ++++++ src/views/biz/qualityTesting/index.vue | 66 +++++++++++++++++-- .../componets/AssingWorkTreeTable.vue | 9 ++- 4 files changed, 90 insertions(+), 8 deletions(-) diff --git a/src/api/qualityTesting.ts b/src/api/qualityTesting.ts index cd7f07d..1ccf030 100644 --- a/src/api/qualityTesting.ts +++ b/src/api/qualityTesting.ts @@ -24,6 +24,9 @@ export interface QualityTesting { status?: number + inspectQty?:number + + inspectorId?: number inspectTime?: string diff --git a/src/views/biz/orderProcessPlan/components/ReportDetail.vue b/src/views/biz/orderProcessPlan/components/ReportDetail.vue index ea77693..f23e6ae 100644 --- a/src/views/biz/orderProcessPlan/components/ReportDetail.vue +++ b/src/views/biz/orderProcessPlan/components/ReportDetail.vue @@ -35,6 +35,26 @@ const columns = [ key: 'quantity', width: 120 }, + { + title: '完成数量', + key: 'qualifiedQty', + width: 120 + }, + { + title: '报废数量', + key: 'scrapQty', + width: 120 + }, + { + title: '返工数量', + key: 'reworkQty', + width: 120 + }, + { + title: '让步接收数量', + key: 'connectionQty', + width: 120 + }, { title: '提交人', key: 'userName', diff --git a/src/views/biz/qualityTesting/index.vue b/src/views/biz/qualityTesting/index.vue index 754f95c..01b768a 100644 --- a/src/views/biz/qualityTesting/index.vue +++ b/src/views/biz/qualityTesting/index.vue @@ -245,6 +245,29 @@ + + + + + {{ qualityTestingInfo.materialCode || '-' }} + {{ qualityTestingInfo.materialName || '-' }} + {{ qualityTestingInfo.workOrderCode || '-' }} + {{ qualityTestingInfo.processName || '-' }} + {{ qualityTestingInfo.assingCode || '-' }} + {{ qualityTestingInfo.totalQty ?? '-' }} + {{ qualityTestingInfo.inspectQty ?? '-' }} + {{ handlerPatchStatus(qualityTestingInfo.status) ?? '-' }} + + + + + + +
@@ -252,8 +275,8 @@