Commit 4a2570ff by wangzhihui

```

feat(work): 优化收货人信息拼接逻辑

- 使用数组过滤空值的方式重构收货人信息拼接
- 避免在收货人姓名、电话或地址为空时产生多余的分隔符
- 提高代码可读性和健壮性
```
1 parent 27fc8628
......@@ -753,7 +753,13 @@ export default {
}
}
m.snList = arr;
m.receiverInfo = `${m.receiverName}/${m.receiverPhone}/${m.receiverAddress}`;
const receiverParts = [
m.receiverName,
m.receiverPhone,
m.receiverAddress,
].filter((item) => item);
m.receiverInfo =
receiverParts.length > 0 ? receiverParts.join("/") : "";
this.editForm = m;
this.batchCheckDevices(arr);
setTimeout(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!