fix: 修复规格分割可能导致的undefined错误
处理多处规格(specification)分割时的空值情况,添加可选链操作符和默认值 修改wms报表合并查询参数,清空时间条件 调整acid页面容器样式
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user