From 447803a8d9dd561f944b8af290d30bf66f68c15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 15 Jul 2026 12:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/order/com_poOrderDetail.vue | 5 ++ src/views/modules/order/poOrder_search.vue | 46 +++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/src/views/modules/order/com_poOrderDetail.vue b/src/views/modules/order/com_poOrderDetail.vue index 6ef8704..e285b35 100644 --- a/src/views/modules/order/com_poOrderDetail.vue +++ b/src/views/modules/order/com_poOrderDetail.vue @@ -41,6 +41,11 @@ + + + + + diff --git a/src/views/modules/order/poOrder_search.vue b/src/views/modules/order/poOrder_search.vue index 8063a26..fe3d79c 100644 --- a/src/views/modules/order/poOrder_search.vue +++ b/src/views/modules/order/poOrder_search.vue @@ -98,6 +98,10 @@ + + + + { + const codeNo = (data && data.code === 0 && data.data) + ? (data.data.codeNo || data.data.code_no || '') + : '' + this.$set(this.currentRow, 'codeNo', codeNo) + this.initPartAttributeTab({ + ...inData, + codeNo + }) + }).catch(() => { + this.initPartAttributeTab(inData) + }) + }, + initPartAttributeTab (inData) { + if (this.$refs.partAttributeTab && this.$refs.partAttributeTab.init) { + this.$refs.partAttributeTab.init(inData) + } + }, // 页签点击事件(模仿 supplierList.vue 的 tabClick) handleTabClick(tab, event) {