From f660f1395075e38189754e5020f59aa120d70e52 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 16 Jun 2025 16:20:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=B7=A5=E5=BA=8F=E5=B8=A6=E6=9D=BF?= =?UTF-8?q?=E6=AE=B5=E5=8F=B7=E6=89=93=E5=8D=B0=E6=A8=A1=E6=9D=BF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/inmIn.vue | 4 ++-- src/views/wpm_bx/inmOut.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index 2984273d..6a731c4b 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -466,7 +466,7 @@ export default { let params = {}; params.tid = row.id; let materialname = row.material_.name + '|' + row.material_.process_name; - let modelspecification = row.material_.model + '|' + row.material_.specification; + let specification = row.material_.specification; if(that.route_code=='reyatuihuo'||that.route_code=='banduangunyuan'){ params.label_template_name = '工序带板段号打印模板'; that.wprParams.wm = row.id; @@ -493,7 +493,7 @@ export default { } } } - params.extra_data={materialname:materialname,modelspecification:modelspecification,count:row.count,slicecount:slice_count,numbers0:numbers[0],numbers1:numbers[1],numbers2:numbers[2],numbers3:numbers[3],numbers4:numbers[4],numbers5:numbers[5],numbers6:numbers[6]}; + params.extra_data={materialname:materialname,specification:specification,count:row.count,slicecount:slice_count,numbers0:numbers[0],numbers1:numbers[1],numbers2:numbers[2],numbers3:numbers[3],numbers4:numbers[4],numbers5:numbers[5],numbers6:numbers[6]}; that.apiObjPrint.req(params).then((res) => { let obj = {}; obj.printer_commands = res.commands; diff --git a/src/views/wpm_bx/inmOut.vue b/src/views/wpm_bx/inmOut.vue index e7bc1657..37cb02de 100644 --- a/src/views/wpm_bx/inmOut.vue +++ b/src/views/wpm_bx/inmOut.vue @@ -467,7 +467,7 @@ export default { let params = {}; params.tid = row.id; let materialname = row.material_.name + '|' + row.material_.process_name; - let modelspecification = row.material_.model + '|' + row.material_.specification; + let specification = row.material_.specification; if(that.route_code=='tuomoceliang'||that.route_code=='reyatuihuo'){ console.log('route_code',that.route_code); params.label_template_name = '工序带板段号打印模板'; @@ -495,7 +495,7 @@ export default { } } } - params.extra_data={materialname:materialname,modelspecification:modelspecification,count:row.count,slicecount:slice_count,numbers0:numbers[0],numbers1:numbers[1],numbers2:numbers[2],numbers3:numbers[3],numbers4:numbers[4],numbers5:numbers[5],numbers6:numbers[6]}; + params.extra_data={materialname:materialname,specification:specification,count:row.count,slicecount:slice_count,numbers0:numbers[0],numbers1:numbers[1],numbers2:numbers[2],numbers3:numbers[3],numbers4:numbers[4],numbers5:numbers[5],numbers6:numbers[6]}; that.apiObjPrint.req(params).then((res) => { let obj = {}; obj.printer_commands = res.commands;