From 13205e266dcf2f097b1162ea4c6bd59c58743e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Tue, 7 Jul 2026 15:33:19 +0800 Subject: [PATCH] 1 --- src/views/modules/production/bagLabels.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/modules/production/bagLabels.vue b/src/views/modules/production/bagLabels.vue index 4985b6b..0b07c8b 100644 --- a/src/views/modules/production/bagLabels.vue +++ b/src/views/modules/production/bagLabels.vue @@ -163,6 +163,11 @@ export default { this.$message.warning("参数为空") return } + // 标准袋用 tcpvalue,零数袋用 tcpvalue2,保存到 print_label_record.weight - rqrq + let tcpWeight = this.flag ? this.tcpvalue2 : this.tcpvalue + if (tcpWeight !== '' && tcpWeight != null && tcpWeight !== undefined) { + params.weight = tcpWeight + } // 发起请求 getPackagePrintDataList(params).then(({data}) => { if (data && data.code === 0) {