From 1e8a18b9bbb8b1a7302479a135138073a4700bd3 Mon Sep 17 00:00:00 2001 From: chuang <994001556@qq.com> Date: Wed, 15 Mar 2023 16:32:56 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D-=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20=E6=96=B0=E5=BB=BA=E6=97=B6=20=20=E6=BF=80?= =?UTF-8?q?=E6=B4=BB=E7=8A=B6=E6=80=81=E9=BB=98=E8=AE=A4=E4=B8=BA=20?= =?UTF-8?q?=E6=BF=80=E6=B4=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SC-web/src/views/scm/basicInformation/warehouse/Form.vue | 4 +++- SC-web/src/views/scm/basicInformation/warehouse/index.vue | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SC-web/src/views/scm/basicInformation/warehouse/Form.vue b/SC-web/src/views/scm/basicInformation/warehouse/Form.vue index 7d9e9fcf..1f35e0db 100644 --- a/SC-web/src/views/scm/basicInformation/warehouse/Form.vue +++ b/SC-web/src/views/scm/basicInformation/warehouse/Form.vue @@ -106,6 +106,7 @@ import { getDataInterfaceRes } from '@/api/systemData/dataInterface' import { getDictionaryDataSelector } from '@/api/systemData/dictionary' + export default { components: {}, props: [], @@ -121,7 +122,7 @@ location: '', type: '', sublibrary: '', - activestate: '2', + activestate: '1', remark: '', creatorUserName: '', creatorTime: '', @@ -219,6 +220,7 @@ }) } else { this.clearData(this.dataForm) + this.dataForm.activestate='1'; } }) this.$store.commit('generator/UPDATE_RELATION_DATA', {}) diff --git a/SC-web/src/views/scm/basicInformation/warehouse/index.vue b/SC-web/src/views/scm/basicInformation/warehouse/index.vue index eaeca34f..7fce868e 100644 --- a/SC-web/src/views/scm/basicInformation/warehouse/index.vue +++ b/SC-web/src/views/scm/basicInformation/warehouse/index.vue @@ -245,6 +245,7 @@ }).catch(() => { }) }, + addWarehouse(){this.formVisible = true}, addOrUpdateHandle(id, isDetail) { this.formVisible = true this.$nextTick(() => {