From e033821846cd5289c7b67659e0aeb3aabb174465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=87?= <2433098676@qq.com> Date: Mon, 24 Jul 2023 15:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/product.vue | 6 +++++ src/views/basic/product/productCategory.vue | 28 +++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 484f172d..71bab954 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -1786,6 +1786,8 @@ export default { } }); this.productType = this.detailList[0].productType; + this.editQuery.versionNumber = this.detailList[0].versionNumber + this.editQuery.originUuid = this.detailList[0].originUuid }) .catch(() => { this.loading = false; @@ -2064,6 +2066,10 @@ export default { this.selectVersionVisible = false; this.selectHospProductVisible = false; this.getThirdSysDetail(); + let ttquery = { + id: this.relId, + }; + this.getDetailList(ttquery) if (val) { this.getList(); this.cancelDialog(); diff --git a/src/views/basic/product/productCategory.vue b/src/views/basic/product/productCategory.vue index a633e0da..6a540125 100644 --- a/src/views/basic/product/productCategory.vue +++ b/src/views/basic/product/productCategory.vue @@ -1375,6 +1375,9 @@ import selectUdiVersion from './UdiinfoSelectVersion' export default { data() { return { + originUuid: null, + uuid: "111", + relId: "", selectVersionVisible: false, useNumEnable: true, checked: false, @@ -1415,6 +1418,29 @@ export default { }, filters: {}, methods: { + closeUdi(val) { + this.selectUdiDialogVisible = false; + this.selectErpDialogVisible = false; + this.selectLocalVisible = false; + this.selectVersionVisible = false; + this.selectHospProductVisible = false; + this.getThirdSysDetail(); + let ttquery = { + id: this.relId, + }; + this.getDetailList(ttquery) + if (val) { + this.getList(); + this.cancelDialog(); + } + }, + closeDialog() { + this.selectErpDialogVisible = false; + this.selectLocalVisible = false; + this.selectVersionVisible = false; + this.selectHospProductVisible = false; + this.selectUnBindHospProductVisible = false; + }, selectVersion() { this.selectVersionVisible = true; this.uuid = this.editQuery.uuid; @@ -1737,6 +1763,8 @@ export default { } }); this.productType = this.detailList[0].productType; + this.editQuery.versionNumber = this.detailList[0].versionNumber + this.editQuery.originUuid = this.detailList[0].originUuid }) .catch(() => { this.loading = false;