|
...
|
...
|
@@ -2201,7 +2201,9 @@ Handling Information |
|
|
|
}
|
|
|
|
|
|
|
|
// 删除 DIMS: 行和 VOL: 行
|
|
|
|
const cleanedValue = value.replace(/DIMS:\s*/gi, '').replace(/VOL:\s*\d+\.\d+\s*CBM/gi, '');
|
|
|
|
const cleanedValue = value
|
|
|
|
.replace(/DIMS:\s*/gi, '')
|
|
|
|
.replace(/VOL:\s*\d+(\.\d+)?\s*CBM/gi, '');
|
|
|
|
|
|
|
|
// 将剩余内容按行分割,并去除空行
|
|
|
|
const lines = cleanedValue.split('\n').filter(line => line.trim() !== '');
|
...
|
...
|
|