feat: 优化序列号相关字段的展示与交互逻辑

- 调整InboundEntry组件中序列号字段的显示名称和值展示
- 修改Station组件中接驳台数据的请求处理逻辑,适配返回格式
- 更新ProductType页面的序列号字段展示和表单选项,优化用户理解
- 更新各系统的入口脚本文件
This commit is contained in:
SunYF
2026-10-08 16:08:16 +08:00
parent 1f7a42fc38
commit c049c0fbf9
5 changed files with 14 additions and 12 deletions
+4 -2
View File
@@ -120,9 +120,11 @@ const flows = ref([])
const dockByStation = ref({})
async function loadDocks() {
const data = await request.get('/docks', { params: { page: 1, size: 200 } })
// GET /docks 返回裸数组(接驳台全量,非分页包裹),直接取数组本身
const data = await request.get('/docks')
const list = Array.isArray(data) ? data : (data?.list || [])
const map = {}
for (const d of data?.list || []) {
for (const d of list) {
const no = Number(d.stationNo) || 0
if (no <= 0) continue
;(map[no] = map[no] || []).push(d.dockCode)