From 22c70013ce6568a8e3fbc8583a660fdefe0424de Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 27 Aug 2024 09:43:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8E=82=E5=AE=B6?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../storage/manufacturerconfirm/manufacturerconfirmAdd.vue | 6 ++++-- yxt-as-ui/src/views/storage/oldPartsFactory/index.vue | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue b/yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue index 1ab798464e..da9afcb2fc 100644 --- a/yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue +++ b/yxt-as-ui/src/views/storage/manufacturerconfirm/manufacturerconfirmAdd.vue @@ -125,6 +125,8 @@ handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') + this.imgList = [] + this.submitdisabled = false this.$emit('doback') }, @@ -138,7 +140,7 @@ this.formobj = resp.data for (var i = 0; i < resp.data.filePaths.length; i++) { this.imgList.push({ - url: resp.data.filePaths[i].url + url: resp.data.filePaths[i] }) } } @@ -168,7 +170,7 @@ console.log('backData》》》》', value) console.log('imgList', this.imgList) this.imgList = value - + this.formobj.filePaths = [] for (var i = 0; i < this.imgList.length; i++) { this.formobj.filePaths.push(this.imgList[i].url) } diff --git a/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue b/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue index c482559d49..7626ee1fc2 100644 --- a/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue +++ b/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue @@ -91,7 +91,8 @@ @@ -281,8 +282,10 @@ this.dialogVisible = true }, showDetail(row) { + + this.viewState = 5 - this.$refs['manufacturerconfirmInfo'].showEdit(row.sid) + this.$refs['manufacturerconfirmInfo'].showEdit(row.confirmSid) }, showResult(row) { From 298ec9f3f308ffc4a11e7c55540eb5d28d252559 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 27 Aug 2024 09:49:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BF=94=E5=8E=82?= =?UTF-8?q?=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/storage/oldPartsFactory/index.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue b/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue index 7626ee1fc2..813ea2a849 100644 --- a/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue +++ b/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue @@ -79,20 +79,21 @@ - -