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..813ea2a849 100644 --- a/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue +++ b/yxt-as-ui/src/views/storage/oldPartsFactory/index.vue @@ -79,19 +79,21 @@ - 查看 + 查看 - - + + - + 查看 @@ -281,8 +283,10 @@ this.dialogVisible = true }, showDetail(row) { + + this.viewState = 5 - this.$refs['manufacturerconfirmInfo'].showEdit(row.sid) + this.$refs['manufacturerconfirmInfo'].showEdit(row.confirmSid) }, showResult(row) {