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) {