diff --git a/src/views/modules/production-inbound/inboundRegister.vue b/src/views/modules/production-inbound/inboundRegister.vue index b7ff2f7..2c5b84d 100644 --- a/src/views/modules/production-inbound/inboundRegister.vue +++ b/src/views/modules/production-inbound/inboundRegister.vue @@ -91,12 +91,12 @@ - + Auto Report of Operation - + Simplified Material Check @@ -544,13 +544,13 @@ export default { if (data.code === 0) { this.$message.success("入库成功"); this.clearAllHandlingUnitCache(); - + // 获取unitIds并打印标签 const unitIds = data.unitIds || []; if (unitIds.length > 0) { this.printViaServer(unitIds); } - + this.processFlag = 1; this.scanCode = ''; this.shopOrderList = []; @@ -586,7 +586,7 @@ export default { labelType: "库存成品标签" } console.log('打印请求:', printRequest); - + const { data } = await printLabelCommon(printRequest) if (data.code === 200 || data.code === 0) { this.$message.success(`打印任务已发送!共${unitIds.length}个标签`) @@ -605,7 +605,7 @@ export default { */ parseHeightFromPartNo(partNo) { if (!partNo) return ''; - + // 检查是否包含横杠 const parts = partNo.split('-'); if (parts.length >= 2) { @@ -615,7 +615,7 @@ export default { const height = parseInt(heightStr, 10); return isNaN(height) ? '' : height; } - + return ''; } },