From 087cdb03262729ec5b07aeab3c37a3a9379d98af Mon Sep 17 00:00:00 2001 From: liuhanqing Date: Tue, 6 Jan 2026 10:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bas/BasProductCode/index.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/bas/BasProductCode/index.vue b/ruoyi-ui/src/views/bas/BasProductCode/index.vue index 2d6e9df..038c208 100644 --- a/ruoyi-ui/src/views/bas/BasProductCode/index.vue +++ b/ruoyi-ui/src/views/bas/BasProductCode/index.vue @@ -419,7 +419,8 @@ export default { queryParams: { pageNum: 1, pageSize: 10, - searchText: '' + searchText: '', + spaer1:null }, // 表格数据 tableData: [], @@ -478,8 +479,8 @@ export default { }, // 二维码内容 qrCodeValue(data) { - console.log('二维码内容') - console.log(data) + //console.log('二维码内容') + //console.log(data) const text = `${data.spare1}@${data.model}@${data.spare2}@${data.spare3}@${data.serial}` var bm = this.procode(text) return "MODEL:" + data.model + " COLOR:" + data.color @@ -535,7 +536,8 @@ export default { this.queryParams = { pageNum: 1, pageSize: 10, - searchText: '' + searchText: '', + spare1:null } this.handleQuery() }, @@ -618,10 +620,12 @@ export default { } } }, - handleErpData(row) { - - if (this.queryParams.spare1 === ''){ + handleErpData() { + console.log(1111) + console.log(this.queryParams) + if (!this.queryParams.spare1){ this.$message.error('请输入订单号') + return } const param = {