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() }