WEB/src/App.vue
liufumingren d21839b99d feat(waybill): 运单号统一操作组件(复制/二维码/轨迹)并接入全部列表
- 新增 WaybillCodeActions:悬停显示下拉菜单,复制仅走菜单项,取消点击运单号即复制的默认行为
- 新增 WaybillTraceFloat / WaybillTraceWindow / trace-window:轨迹悬浮窗改为全局单例,可拖动、无遮罩、换单号复用并重新拉取
- 新增 WaybillTraceList:轨迹时间线,支持复制轨迹(含运单号)与刷新;运单管理页轨迹标签页改为复用
- 二维码弹窗改为 Teleport+固定层级,避免嵌在表格单元格内层级错乱;z-index 约定见 waybill/z-index.ts(二维码 5000 > 轨迹窗 4000 > EP 弹层 2000+)
- UpperTable 默认渲染接入运单号列识别(waybill-column.ts),并支持 waybillCodes 取值器与多值解析
- 批量替换各处自定义表格的运单号列(送达/复核/工作台/转换弹窗/拆包/退件/波次物流单号等)
- 抽出 utils/clipboard 统一剪贴板降级逻辑

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-12 00:34:31 +08:00

29 lines
735 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import elementEnLocale from 'element-plus/es/locale/lang/en'
import elementZhLocale from 'element-plus/es/locale/lang/zh-cn'
import WaybillTraceWindow from '@/components/waybill/WaybillTraceWindow.vue'
const { locale } = useI18n()
const currentLocale = computed(() => {
if (locale.value === 'en') {
return elementEnLocale
}
return elementZhLocale
})
</script>
<template>
<el-config-provider :locale="currentLocale">
<div id="app">
<router-view />
</div>
<!-- 运单轨迹悬浮窗:全局单例,所有运单号共用 -->
<WaybillTraceWindow />
</el-config-provider>
</template>
<style scoped></style>