From 5c90bc9b6c4930569d984c02a8086459126161e9 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 24 Jun 2026 11:43:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(order):=20=E6=B7=BB=E5=8A=A0PO=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增com_poOrderDetail.vue组件用于展示订单详情 - 在poOrder_search.vue中集成订单详情标签页 - 配置详情组件的数据绑定和样式设置 - 设置默认激活标签为订单详情 - 优化详情页面的表单布局和字段展示 - 添加禁用状态的输入框以只读方式显示数据 --- src/views/modules/order/com_poOrderDetail.vue | 296 ++++++++++++++++++ src/views/modules/order/poOrder_search.vue | 13 +- 2 files changed, 307 insertions(+), 2 deletions(-) create mode 100644 src/views/modules/order/com_poOrderDetail.vue diff --git a/src/views/modules/order/com_poOrderDetail.vue b/src/views/modules/order/com_poOrderDetail.vue new file mode 100644 index 0000000..b23d342 --- /dev/null +++ b/src/views/modules/order/com_poOrderDetail.vue @@ -0,0 +1,296 @@ + + + + + diff --git a/src/views/modules/order/poOrder_search.vue b/src/views/modules/order/poOrder_search.vue index 51c8e9c..03b74b5 100644 --- a/src/views/modules/order/poOrder_search.vue +++ b/src/views/modules/order/poOrder_search.vue @@ -77,6 +77,10 @@ + + + + @@ -94,11 +98,13 @@ import { searchPoDetailPage } from '@/api/order/poOrder.js' import excel from '@/utils/excel-util.js' import LogisticsPoList from './com_logisticsPoList.vue' import InspectionDetailList from './com_inspectionDetailList.vue' +import PoOrderDetail from './com_poOrderDetail.vue' export default { components: { LogisticsPoList, - InspectionDetailList + InspectionDetailList, + PoOrderDetail }, name: 'PoOrderQuery', data() { @@ -106,7 +112,7 @@ export default { loading: false, exportLoading: false, height: 400, - activeTab: 'logistics', + activeTab: 'orderDetail', pageIndex: 1, pageSize: 20, totalPage: 0, @@ -584,6 +590,9 @@ export default { if (this.currentRow === '' || this.currentRow === null) { this.currentRow = { flexid: '', supplierNo: '' } } + if (this.activeTab === 'orderDetail') { + // 订单详情不需要刷新,直接显示 currentRow + } if (this.activeTab === 'logistics') { this.refreshLogisticsTable() }