From 0ce46235d05a29df1728c8fe0c8a901724e53bd6 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Wed, 6 Mar 2024 10:29:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E5=85=B7=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6=E7=95=8C=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/device/deviceAccounts/index.vue | 2 ++ .../deviceSpotInspectionRecordMain.data.ts | 6 +++--- src/views/eam/mold/moldAccounts/index.vue | 13 ++++++++----- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/views/eam/device/deviceAccounts/index.vue b/src/views/eam/device/deviceAccounts/index.vue index 2a83fb9..2d3f30a 100644 --- a/src/views/eam/device/deviceAccounts/index.vue +++ b/src/views/eam/device/deviceAccounts/index.vue @@ -219,6 +219,7 @@ const butttondata = [ // 列表-操作按钮事件 const buttonTableClick = async (val, row) => { + debugger if (val == 'edit') { // 编辑 openForm('update', row) @@ -228,6 +229,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'selectItem') { openItem(row.number) } else if (val == 'qrCode') { + debugger window.open(src.value + "&number='" + row.number + "'") } else { // 其他按钮 diff --git a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts index dc28025..ebeff46 100644 --- a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts +++ b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts @@ -97,7 +97,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive { return deviceMoldTypeList.find((account) => account.value == cellValue)?.label @@ -182,7 +182,7 @@ export const DeviceSpotInspectionRecordDetail = useCrudSchemas(reactive { } +const qrCodeBatch = async (val,item) => { + const qrCodeList = tableObject.tableList.map(item => `'${item?.number}'`).join(', ') + window.open(src.value + "&number=" + qrCodeList) +} +