fix: 修复规格分割可能导致的undefined错误

处理多处规格(specification)分割时的空值情况,添加可选链操作符和默认值
修改wms报表合并查询参数,清空时间条件
调整acid页面容器样式
This commit is contained in:
2026-04-25 09:40:12 +08:00
parent c5fa84df98
commit 668af2140a
6 changed files with 16 additions and 12 deletions

View File

@@ -267,7 +267,7 @@ export default {
});
},
handleCoilChange(coil) {
const [thickness, width] = coil.specification.split('*')
const [thickness, width] = coil.specification?.split('*') || []
console.log(thickness, width, coil.netWeight)
this.form.verifyTarget = {
coilId: coil.coilId,