From b1add4edae76d0ccd9e93a857a5f31af35667537 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 15 May 2026 15:08:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=87=E7=AD=BE=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=A2=9E=E5=8A=A0=E6=89=93=E7=A0=81=E5=99=A8?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=8C=BA=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增打码器用户区输入框, 对应后端 LabelTemplate.coder_field, 默认 1。 喷码机一条信息内插入多个不同码型的用户区时, 切码型即切模板。 Co-Authored-By: Claude Opus 4.7 (1M context) --- src/views/sys/labeltemplate.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/sys/labeltemplate.vue b/src/views/sys/labeltemplate.vue index 45f9d027..c9aa249b 100644 --- a/src/views/sys/labeltemplate.vue +++ b/src/views/sys/labeltemplate.vue @@ -53,6 +53,9 @@ + + + @@ -70,6 +73,7 @@ commands: "", coder_ip: "", coder_port: 3100, + coder_field: "1", }; export default { name: 'labeltemplate', @@ -154,6 +158,7 @@ this.addForm.commands=row.commands.join("\n"); this.addForm.coder_ip=row.coder_ip; this.addForm.coder_port=row.coder_port; + this.addForm.coder_field=row.coder_field || "1"; this.limitedVisible = true; },